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.

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

I am not able to configure Agent Windows in my company ...

When attempting to communicate with the server, this occurs:

===================================================================== ============================
Starting OCS Inventory NG Agent on Thursday, January 05, 2017 16:08:15.
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.29.10.130/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 <INF04-2017-01-05-15-31-50> and MACs <D8: D3: 85: 92: 6A: E900: 09: 0F: FE: 00: 0108: 11: 96: DA : 08: AC08: 11: 96: DA: 08: AD08: 11: 96: DA: 08: AD> 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.29.10.130/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:00.

I have been trying to solve the problem for 4 days, but I can not find the right answers to solve my problem ..

I'm using the OCS InventoryNG 2.1.2

Already tried with all the versions of agents that I found
in OCS Inventory NG agent for Windows by (260 points)

5 Answers

0 votes
Hi,

Verify that mod_perl is installed and enabled on your ocs server. Which distro on your ocs server?

Which is the result of http://172.29.10.130/ocsinventory from your browser? It should be error 400.

Regards

Frank
by (90.2k points)
0 votes
When I access the http://172.29.10.130/ocsinventory I get error message:

Object not found!

The requested URL was not found on this server. If you entered the address (URL) manually, please double-check the syntax of the address.

If you believe you have encountered a problem with the server, please contact the webmaster.

Error 404

172.29.10.130
Apache / 2.4.23 (Win32) OpenSSL / 1.0.2h PHP / 5.6.28
by (260 points)
0 votes

When parsing XAMPP this message appears on the PERL

pcre

PCRE (Perl Compatible Regular Expressions) Supportenabled
PCRE Library Version8.38 2015-11-23
by (260 points)
0 votes
Hi,

OCS runs with mod_perl module. So the error "error 404" is normal. You have'nt installed mod_perl on your server. This module is mandatory. I don't have a procedure for installing mod_perl on Windows.
For your information : we recommend to install OCS server on linux not on Windows.

Regards

Frank
by (90.2k points)
install ocs ubuntu
0 votes
Hello Frank

I installed an Ubuntu server, and would like to know if you have any step-by-step manual for me to install OCS Inventory ...

awaiting....
by (260 points)
 
Powered by Question2Answer
...