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.

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>

I have the GLPI Server and the OCS Inventory Server in the same host....it's a Windows 2003 Server.

And I can't connect de Agent Client from Windows.

I install de agent with the information and configuration but not send the information to the server inventory.

That is the configuration:

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://192.168.31.26/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=1
User=XrjKDHuOK0Uj24cHNt929g==|||Qc1C9ugBPmbas7qPLyRR3Q==
Pwd=OEjgyQq8UAkFd2KLDE3pVg==|||KeQTeVKGLTYV6mkrN6/Pvg==
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
TTO_WAIT=0
And that's the log:
 
Starting OCS Inventory NG Agent on Tuesday, August 26, 2014 14:05:40.
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 getLabel request
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL with server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending fileGet request to URL <http://192.168.31.26/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <TALLER09-2014-08-26-11-40-49> and MACs <D4:85:64:A1:C1:6F00:50:56:C0:00:0100:50:56:C0:00:08> 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 => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.31.26/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.

 

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

2 Answers

0 votes
If you have a OCS Server with a version < the client version, you will have an error.

Can you verify your server version?
by (2.1k points)

The server version is 2.1.2 and the agent client 2.1.1

Obs: where's installed the OCS server, there're a GLPI and MEDIAWIKI too. They will be interfering somehow OSC Inventory? 

The operating system is a Windows 2003 Server with XAMPP 1.8.0 and the perl module  5.10
Hi,

You must install mod_perl module for apache otherwise inventories can't be received by ocs server.

Is this module installed?

Regards
Yes I do. The module is installed with the "OCSNG-Windows-Server-Setup.exe" on the existing XAMPP.

I have a way to know if the module is working properly?
0 votes
I found a mistake ... the perl module is not starting with apache sad
In the httpd.conf file I added this lines:
 
              LoadFile "C:/xampp/perl/bin/perl510.dll"
              LoadModule perl_module modules/mod_perl.so
 
But the service doesn't  start!!!!!!
 

 

by (160 points)
 
Powered by Question2Answer
...