Hi,
see below general process...Made it several times because it just do not work...
Upgrading server 2.0.2 to 2.1.2 on a windows 2003 server
- Made a snapshot of the VM
The Apache service named reported the following error:>>> Syntax error on line 23 of C:/Program Files/OCS Inventory NG/xampp/apache/conf/extra/ocsinventory-reports.conf: .
So, i modify conf file and add "" where it was needed (path with spaces on aliases line for exemple...pache start, good news.
GUI access is ok, but few days later, no computer sent inventory (last contact date).
So, i took a client, stop ocsagent service, modify TTO_WAIT=0 and debug settings and started service.
No change
Here is the agent Log file :
=========================
Starting OCS Inventory NG Agent on Tuesday, March 24, 2015 17:59:25.
AGENT => Running OCS Inventory NG Agent Version 2.0.5.0
AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <SRV-RUN1-2014-09-05-10-21-32> and MACs <00:50:56:84:3B:C7> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://ocsinventory-ng/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Prolog Frequency set to 10 hour(s)
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Here is Apache access logs :
127.0.0.1 - - [24/Mar/2015:17:48:20 +0400] "GET /ocsreports/ HTTP/1.1" 200 16657
127.0.0.1 - - [24/Mar/2015:17:48:25 +0400] "POST /ocsreports/?function=visu_computers HTTP/1.1" 200 104113
10.101.0.109 - - [24/Mar/2015:17:50:15 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.0.109 - - [24/Mar/2015:17:50:15 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.2.84 - - [24/Mar/2015:17:51:01 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.2.84 - - [24/Mar/2015:17:51:01 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.0.44 - - [24/Mar/2015:17:59:25 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.0.44 - - [24/Mar/2015:17:59:25 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.0.112 - - [24/Mar/2015:18:02:56 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.0.112 - - [24/Mar/2015:18:02:56 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.5.87 - - [24/Mar/2015:18:03:03 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.5.87 - - [24/Mar/2015:18:03:03 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.5.87 - - [24/Mar/2015:18:03:06 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.5.87 - - [24/Mar/2015:18:03:06 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
10.101.5.87 - - [24/Mar/2015:18:03:08 +0400] "POST /ocsinventory HTTP/1.1" 301 388
10.101.5.87 - - [24/Mar/2015:18:03:08 +0400] "GET /ocsinventory/ HTTP/1.1" 200 633
Here is apache error.log
[Tue Mar 24 17:48:09 2015] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Mar 24 17:48:09 2015] [info] Loading certificate & private key of SSL-aware server
[Tue Mar 24 17:48:09 2015] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Mar 24 17:48:09 2015] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Mar 24 17:48:09 2015] [info] Init: Initializing (virtual) servers for SSL
[Tue Mar 24 17:48:09 2015] [info] Configuring server for SSL protocol
[Tue Mar 24 17:48:09 2015] [warn] RSA server certificate CommonName (CN) `ocsinventory-ng' does NOT match server name!?
[Tue Mar 24 17:48:09 2015] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d
[Tue Mar 24 17:48:09 2015] [info] APR LDAP: Built with Microsoft Corporation. LDAP SDK
[Tue Mar 24 17:48:09 2015] [info] LDAP: SSL support unavailable: LDAP: CA certificates cannot be set using this method, as they are stored in the registry instead.
[Tue Mar 24 17:48:09 2015] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Mar 24 17:48:09 2015] [info] Loading certificate & private key of SSL-aware server
[Tue Mar 24 17:48:09 2015] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Mar 24 17:48:09 2015] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Mar 24 17:48:09 2015] [info] Init: Initializing (virtual) servers for SSL
[Tue Mar 24 17:48:09 2015] [info] Configuring server for SSL protocol
[Tue Mar 24 17:48:09 2015] [warn] RSA server certificate CommonName (CN) `ocsinventory-ng' does NOT match server name!?
[Tue Mar 24 17:48:09 2015] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d
[Tue Mar 24 17:48:09 2015] [notice] Child 4432: Child process is running
[Tue Mar 24 17:48:09 2015] [info] Parent: Duplicating socket 296 and sending it to child process 4432
[Tue Mar 24 17:48:09 2015] [info] Parent: Duplicating socket 292 and sending it to child process 4432
[Tue Mar 24 17:48:09 2015] [notice] Child 4432: Acquired the start mutex.
[Tue Mar 24 17:48:09 2015] [notice] Child 4432: Starting 250 worker threads.
[Tue Mar 24 17:48:09 2015] [notice] Child 4432: Starting thread to listen on port 443.
[Tue Mar 24 17:48:09 2015] [notice] Child 4432: Starting thread to listen on port 80.
Also tried to browse http://ocsinventory-ng/ocsinventory and can see the index page, so think acces is ok...
Also tried different agent version (2.1.1.1 for fun, but bug with the inventory visualisation from systray , so tried 2.0.5 and old 2.0.2.0 still in production with no changes that did not worked...
Help should be appreciated, i really do not understand what happen here and logs files do not help (no errors)
I'll wait few days before reverting back my VM...maybe untill end of week, hope someone will have time, for me i just passed 2 days on this it's already too much...