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.

ERROR *** AGENT => Failed to send Prolog

Hi, 

Could someone tell me how to fix this error? 
 

Starting OCS Inventory NG Agent on Tuesday, January 03, 2017 09:35:05.
AGENT => Running OCS Inventory NG Agent Version 2.1.0.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.3
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) succesfully 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.1.0.3>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <SZ-S3279CC-2016-12-22-11-12-45> and MACs <70:5A:0F:69:85:E00A:00:27:00:00:0E> 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://xxx.xx.x.xx/ocsinventory>
    WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

in OCS Inventory NG agent for Windows by (730 points)

2 Answers

0 votes
Hi,

Can you post apache error_log file file content, please?
Did you change login and password in z-ocsinventory-server.conf file on your ocs server?

Regards

Frank
by (90.2k points)
0 votes
Apache error_log

ocsinventory-server: Can't load SOAP:::Transport::HTTP* - Web service will be unavaliable
[Wed Jan 04 09:22:47 2017]  [notice] SuEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

PHP: syxtax error, unaexpepcted '(' in /etc/php.ini on line 948
PHP: syxtax error, unaexpepcted '(' in /etc/php.ini on line 948
PHP: syxtax error, unaexpepcted '(' in /etc/php.ini on line 948

[Wed Jan 04 09:22:46 2017]  [notice] caught SIGTERM, shutting down
PHP: syxtax error, unaexpepcted '(' in /etc/php.ini on line 948

ocsinventory-server: Can't load SOAP:::Transport::HTTP* - Web service will be unavaliable
[Wed Jan 04 09:12:47 2017] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 04 09:47:10 2017] [notice] Digest: done
[Wed Jan 04 09:47:10 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1.e-fips mod perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

[Thu Jan 05 11:40:01 2017] [error] [client 10.1.1.24] Directory index forbidden by Options directive: /var/www/html
[Thu Jan 05 11:40:09 2017] [error] [client 10.1.1.24] File does not exist: /var/www/html/reports
by (730 points)
 
Powered by Question2Answer
...