Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS Serveur ne reçoit pas des agents

Bonjour,

Mon ocs Serveur sous ubuntu 14.04.3 ne reçoit pas les info de l'agent "OCSNG-Windows-Agent-2.1.1.1" en lancant la commande:

"C:\Program Files\OCS Inventory Agent\OCSInventory.exe" /server=http://IPNouveauServeur/ocsinventory /force

Avec l'IP de l'ancien serveur ocs cela fonctionne

Je suis perdu :(

in OCS Inventory NG server for Unix by (200 points)

2 Answers

0 votes
le log de lagent OCS:

 

==============================================================================
Starting OCS Inventory NG Agent on Monday, August 24, 2015 15:48:09.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
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.1.1.1>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <POSTE161-2015-04-13-13-25-53> and MACs <70:71:BC:0D:05:F100:FF:5D:6F:E4:74> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.20.31/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.

==============================================================================
Starting OCS Inventory NG Agent on Monday, August 24, 2015 15:48:49.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
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.1.1.1>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <POSTE161-2015-04-13-13-25-53> and MACs <70:71:BC:0D:05:F100:FF:5D:6F:E4:74> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.20.31/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
by (200 points)
0 votes

Log error Apache

[Mon Aug 24 11:28:07.766222 2015] [mpm_prefork:notice] [pid 2500] AH00169: caught SIGTERM, shutting down
[Mon Aug 24 11:28:27.287540 2015] [mpm_prefork:notice] [pid 1190] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Aug 24 11:28:27.290199 2015] [core:notice] [pid 1190] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 24 11:29:03.773642 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 11:29:03.783127 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 11:29:03.799214 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.290712 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.291029 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.291573 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539091 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539430 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539972 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
 
 
by (200 points)
 
Powered by Question2Answer
...