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

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

Failed to send Prolog <HTTP Status Code #500>

i have this error. i checked the password of:

C:\xampp\apache\conf\extra\ocsinventory-server.conf

C:\xampp\perl\site\lib\etc\ocsinventory\ocsinventory-server.conf

C:\xampp\htdocs\ocsreports\dbconfig.inc.php

I create a user ocs, and then i changed for the user root, the OCSInventory.log is:

Starting OCS Inventory NG Agent on Monday, June 22, 2015 16:09:52.
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 (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.1.1>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL with 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 fileGet request to URL <http://172.16.11.77/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #500>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <RLOPEZ-2014-11-10-15-41-55> and MACs <18:CF:5E:2F:39:1B28:80:23:F9:5C:7D2A:CF:5E:2F:39:1B08:00:27:00:BC:8F> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with 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://172.16.11.77/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

the apache access log:

172.16.11.77 - - [22/Jun/2015:16:09:52 -0500] "GET /ocsinventory/deploy/label HTTP/1.1" 500 1565
172.16.11.77 - - [22/Jun/2015:16:09:52 -0500] "POST /ocsinventory HTTP/1.1" 500 1328

the apache error log:

[Mon Jun 22 15:58:46 2015] [error] [client 172.16.11.77] install_driver(mysql) failed: Can't load 'C:/xampp/perl/site/lib//auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:No se puede encontrar el m\xf3dulo especificado at C:/xampp/perl/lib/DynaLoader.pm line 203.\n at (eval 64) line 3\nCompilation failed in require at (eval 64) line 3.\nPerhaps a required shared library or dll isn't installed where expected\n at C:/xampp/perl/site/lib//Apache/Ocsinventory/Server/System.pm line 175\n
[Mon Jun 22 15:58:46 2015] [error] [client 172.16.11.77] install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.\nCompilation failed in require at (eval 65) line 3.\n\n at C:/xampp/perl/site/lib//Apache/Ocsinventory/Server/System.pm line 175\n

 

Please your help with this.

Thaks a lot.

 

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

Please log in or register to answer this question.

 
Powered by Question2Answer
...