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.9.1 available

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

#404ERROR Agent 2.3.2

Bonjour,

J'ai voulu refaire une installation propre suite à une monté en MAJ de version.
Mais je rencontre un soucis de #404ERROR lors de la connexion de mon premier agent :

==============================================================================

Starting OCS Inventory NG Agent on Tuesday, October 17, 2017 17:08:14.

AGENT => Running OCS Inventory NG Agent Version 2.3.1.0

AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>

DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found

AGENT => Using network connection with Communication Server

COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.0>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <CDOSMTP01-2016-04-11-22-05-37> and MACs <00:50:56:A5:69:C0> 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://10.9.103.112/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #404>

COM SERVER => Cleaning cURL library

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

Donc après recherche on me parle du VirtualHost qui serait mal configuré ( Je suis en Debian 9 donc sous MariaDB )

Voici comment j'ai  installé le truc :

/var/lib/ocsinventory-reports
/var/lib/ocsinventory-reports/download
/var/lib/ocsinventory-reports/ipd
/var/lib/ocsinventory-reports/logs
/var/lib/ocsinventory-reports/scripts
/var/lib/ocsinventory-reports/snmp
/var/log/ocsinventory-server
/var/www/ocsinventory-reports.conf
/var/www/z-ocsinventory-server.conf
/usr/share/ocsinventory-reports
/usr/share/ocsinventory-reports/ocsreports

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

1 Answer

0 votes

Log d'APACHE

[Tue Oct 17 12:10:35.386288 2017] [core:notice] [pid 9289] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 12:12:09.536668 2017] [mpm_prefork:notice] [pid 9289] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 12:12:09.980399 2017] [mpm_prefork:notice] [pid 12322] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 12:12:09.980514 2017] [core:notice] [pid 12322] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 12:26:03.404611 2017] [mpm_prefork:notice] [pid 12322] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 12:26:03.644318 2017] [mpm_prefork:notice] [pid 12912] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 12:26:03.644413 2017] [core:notice] [pid 12912] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 12:30:07.969330 2017] [mpm_prefork:notice] [pid 12912] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.9.103.112. Set the 'ServerName' directive globally to suppress this message
[Tue Oct 17 12:30:08.098951 2017] [mpm_prefork:notice] [pid 12912] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 12:30:08.099013 2017] [core:notice] [pid 12912] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 12:30:08.511095 2017] [mpm_prefork:notice] [pid 12912] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.9.103.112. Set the 'ServerName' directive globally to suppress this message
[Tue Oct 17 12:30:08.630055 2017] [mpm_prefork:notice] [pid 12912] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 12:30:08.630095 2017] [core:notice] [pid 12912] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 13:31:40.569394 2017] [:error] [pid 17182] [client 10.200.0.1:30543] PHP Warning:  mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/install.php on line 113, referer: http://10.9.103.112/ocsreports/
[Tue Oct 17 14:56:03.600283 2017] [mpm_prefork:notice] [pid 12912] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 14:56:19.092410 2017] [mpm_prefork:notice] [pid 454] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 14:56:19.109836 2017] [core:notice] [pid 454] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 17:05:29.548537 2017] [mpm_prefork:notice] [pid 454] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 17:05:29.751496 2017] [mpm_prefork:notice] [pid 942] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 17:05:29.751587 2017] [core:notice] [pid 942] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 17:10:19.889043 2017] [mpm_prefork:notice] [pid 942] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 17:10:20.043384 2017] [mpm_prefork:notice] [pid 1043] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 17:10:20.043480 2017] [core:notice] [pid 1043] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 17 17:18:55.548619 2017] [mpm_prefork:notice] [pid 1043] AH00169: caught SIGTERM, shutting down
[Tue Oct 17 17:18:55.797041 2017] [mpm_prefork:notice] [pid 1096] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Tue Oct 17 17:18:55.797131 2017] [core:notice] [pid 1096] AH00094: Command line: '/usr/sbin/apache2'

Merci a vous pour votre temps et votre aide :)

by (160 points)
 
Powered by Question2Answer
...