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.

HTTP Status Code #404

I have the server mounted on a Windows 2008 R2. When I execute the Windows Agent I get the error <HTTP Status Code #404>. I know it's mostly casued by perl, actually, It's a perl issue. I have xampp installed with the mod_perl properly installed as well. But when I try to load the module on httpd.conf Apache won't start. I'm attachig the OCSInventory ini and log information, I can't post the apache error log because there is no error related to this on the file.

Thanks in advance :)

OCSInventory.log file

==============================================================================
Starting OCS Inventory NG Agent on Tuesday, April 25, 2017 09:11:02.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.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.0.0>
AGENT => Sending Prolog
 DID_CHECK => Read DeviceID <A6691603-2017-04-06-09-53-08> and MACs <DC:4A:3E:3C:57:70> 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://172.31.80.24/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.

OCSInventory.ini file

[OCS Inventory Service]
TTO_WAIT=720
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
INVENTORY_ON_STARTUP=
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://172.31.80.24:80/ocsinvnetory
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
SSL=0

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

1 Answer

0 votes
Hi,

Have you got always this problem? Are you sure that mod_perl is correctly enabled? Please post apache error.log file content.

Regards

Frank
by (90.4k points)
 
Powered by Question2Answer
...