OCSNG_UNIX_SERVER-1.02 fails to register new_deviceid

Bug #435863 reported by kkappel
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OCS Inventory: Server
Invalid
Wishlist
Pascal DANEK

Bug Description

OCSNG_UNIX_SERVER_1.02_RC1 works fine.
Updating to 1.02 or 1.02.1 no more new clients can be registered. Reinstalling 1.02_RC1 registering works again.

activity.log with 1.02
Wed Sep 23 13:10:40 2009;27911;103;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;new_deviceid
Wed Sep 23 13:10:40 2009;27911;100;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;accepted
Wed Sep 23 13:10:40 2009;27911;311;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;started
Wed Sep 23 13:10:43 2009;27911;318;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;missing
Wed Sep 23 13:10:43 2009;27911;114;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;no_session
Wed Sep 23 13:10:43 2009;27911;104;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;incoming
Wed Sep 23 13:10:43 2009;27911;528;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;accountinfos;missing
Wed Sep 23 13:10:43 2009;27911;515;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;end;error

activity log with 1.02_RC1
Thu Sep 24 02:05:18 2009;29010;103;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;new_deviceid
Thu Sep 24 02:05:18 2009;29010;100;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;accepted
Thu Sep 24 02:05:18 2009;29010;311;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;started
Thu Sep 24 02:05:21 2009;29010;318;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;missing
Thu Sep 24 02:05:21 2009;29010;114;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;no_session
Thu Sep 24 02:05:21 2009;29010;104;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;incoming
Thu Sep 24 02:05:21 2009;29010;528;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;accountinfos;missing
Thu Sep 24 02:05:22 2009;29010;320;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;end
Thu Sep 24 02:05:22 2009;29010;101;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;transmitted

Apache access log
10.1.83.72 - - [23/Sep/2009:13:10:40 +0200] "GET /ocsinventory/deploy/label HTTP/1.0" 400 412 "-" OCS-NG_windows_client_Apr142009"
10.1.83.72 - - [23/Sep/2009:13:10:40 +0200] "POST /ocsinventory HTTP/1.1" 200 299 "-" "OCS-NG_windows_client_v4054"
10.1.83.72 - - [23/Sep/2009:13:10:43 +0200] "POST /ocsinventory HTTP/1.1" 500 725 "-" "OCS-NG_windows_client_v4054"

Apache error log
[Wed Sep 23 13:15:53 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Sep 23 13:15:54 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Sep 23 13:15:54 2009] [notice] mod_python: using mutex_directory /tmp
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[Wed Sep 23 13:15:54 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Sep 23 13:15:54 2009] [notice] Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations

Revision history for this message
Pascal DANEK (hunal) wrote :

Hi.
Did you relaunch install.php after upgrade ?

Revision history for this message
kkappel (karl-kappel) wrote : Antwort: [Bug 435863] Re: OCSNG_UNIX_SERVER-1.02 fails to register new_deviceid
Download full text (4.1 KiB)

Hi,
>Did you relaunch install.php after upgrade ?
No - I didn't. Should I try to run this script?

Pascal DANEK <email address hidden>
Gesendet von: <email address hidden>
24.09.2009 16:15
Bitte antworten an
Bug 435863 <email address hidden>

An
<email address hidden>
Kopie

Thema
[Bug 435863] Re: OCSNG_UNIX_SERVER-1.02 fails to register new_deviceid

Hi.
Did you relaunch install.php after upgrade ?

--
OCSNG_UNIX_SERVER-1.02 fails to register new_deviceid
https://bugs.launchpad.net/bugs/435863
You received this bug notification because you are a direct subscriber
of the bug.

Status in Communication server of OCS Inventory: New

Bug description:
OCSNG_UNIX_SERVER_1.02_RC1 works fine.
Updating to 1.02 or 1.02.1 no more new clients can be registered.
Reinstalling 1.02_RC1 registering works again.

activity.log with 1.02
Wed Sep 23 13:10:40
2009;27911;103;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;new_deviceid
Wed Sep 23 13:10:40
2009;27911;100;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;accepted
Wed Sep 23 13:10:40
2009;27911;311;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;started
Wed Sep 23 13:10:43
2009;27911;318;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;missing
Wed Sep 23 13:10:43
2009;27911;114;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;no_session
Wed Sep 23 13:10:43
2009;27911;104;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;incoming
Wed Sep 23 13:10:43
2009;27911;528;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;accountinfos;missing
Wed Sep 23 13:10:43
2009;27911;515;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;end;error

activity log with 1.02_RC1
Thu Sep 24 02:05:18
2009;29010;103;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;new_deviceid
Thu Sep 24 02:05:18
2009;29010;100;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;prolog;accepted
Thu Sep 24 02:05:18
2009;29010;311;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;started
Thu Sep 24 02:05:21
2009;29010;318;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;missing
Thu Sep 24 02:05:21
2009;29010;114;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;no_session
Thu Sep 24 02:05:21
2009;29010;104;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;incoming
Thu Sep 24 02:05:21
2009;29010;528;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;accountinfos;missing
Thu Sep 24 02:05:22
2009;29010;320;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;session;end
Thu Sep 24 02:05:22
2009;29010;101;VERKPC09-2009-09-12-14-50-15;10.1.83.72;OCS-NG_windows_client_v4054;inventory;transmitted

Apache access log
10.1.83.72 - - [23/Sep/2009:13:10:40 +0200] "GET
/ocsinventory/deploy/label HTTP/1.0" 400 412 "-"
OCS-NG_windows_client_Apr142009"
10.1.83.72 - - [23/Sep/2009:13:10:40 +0200] "POST /ocsinventory HTTP/1.1"
200 299 "-" "OCS-...

Read more...

Revision history for this message
Pascal DANEK (hunal) wrote :

Upgrade your server, connect to ocsreports and launch http://...../ocsreports/install.php from your web browser. Then try to launch agents.

Revision history for this message
kkappel (karl-kappel) wrote :

Hi,

>Upgrade your server, connect to ocsreports and launch
>http://...../ocsreports/install.php from your web browser. Then try to
>launch agents.
Thank You - now it runs fine.
I think I should read documentation and comments after running setup.sh
next time.

Regards
Karl

Hans Segmüller, Polstermöbelfabrik GmbH & Co. KG
Sitz: Münchner Str. 35, 86316 Friedberg
Kommanditgesellschaft, Amtsgericht Augsburg HRA 3199

Revision history for this message
Pascal DANEK (hunal) wrote :

Indeed it is not your fault.
ocsreports should run install.php at the moment of the upgrade.
When you connected the first time after upgrading, did you notice that install.php was called ?
Did it encounter some errors ?

Changed in ocsinventory-server:
status: New → Invalid
assignee: nobody → Pascal DANEK (hunal)
Revision history for this message
kkappel (karl-kappel) wrote :

>Indeed it is not your fault.
>ocsreports should run install.php at the moment of the upgrade.
>When you connected the first time after upgrading, did you notice that
install.php was called ?
No - I din't.
>Did it encounter some errors ?
No errors - but maybe I din't notice them.

Hans Segmüller, Polstermöbelfabrik GmbH & Co. KG
Sitz: Münchner Str. 35, 86316 Friedberg
Kommanditgesellschaft, Amtsgericht Augsburg HRA 3199

Revision history for this message
Gonéri Le Bouder (goneri) wrote :

Maybe I'm wrong but I've the feeling you haven't try to connect to the OCS admin interface. If so, this is not a bug but an expected behaviour. For the record, we plan to improve the part.

Changed in ocsinventory-server:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.