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.

OCS Agent Error #404

I also "attach" my configuration file:

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://medicine2.ektdom.local/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=1140

 

 

and here is my DEBUG=2 error log:


==============================================================================
Starting OCS Inventory NG Agent on Thursday, July 23, 2015 12:20:30.
AGENT => Running OCS Inventory NG Agent Version 2.0.5.0
AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.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) 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.0.5.0>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <MEDICINE2-2015-07-22-19-38-25> and MACs <00:50:56:80:7C:4E> 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 => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://medicine2.ektdom.local/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:01.

 

 
and here is my apache error log (I use the all-in-one-included XAMPP):
[Wed Jul 22 19:27:29 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 22 19:27:29 2015] [notice] Digest: done
[Wed Jul 22 19:27:30 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Jul 22 19:27:30 2015] [notice] Server built: Sep 10 2011 11:34:11
[Wed Jul 22 19:27:30 2015] [notice] Parent: Created child process 4936
[Wed Jul 22 19:27:30 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 22 19:27:30 2015] [notice] Digest: done
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Child process is running
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Acquired the start mutex.
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Starting 150 worker threads.
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Starting thread to listen on port 443.
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Starting thread to listen on port 80.
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Starting thread to listen on port 443.
[Wed Jul 22 19:27:31 2015] [notice] Child 4936: Starting thread to listen on port 80.
Adding password for user admin
[Wed Jul 22 19:33:23 2015] [error] [client ::1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 19:33:49 2015] [error] APR does not understand this error code at C:/xampp/perl/site/lib//HTML/Perlinfo/Base.pm line 106.\n
[Wed Jul 22 19:33:49 2015] [error] [client ::1] Handler for type-map returned invalid result code 620018, referer: http://localhost/xampp/navi.php
[Wed Jul 22 19:33:49 2015] [error] APR does not understand this error code at C:/xampp/perl/site/lib//HTML/Perlinfo/Base.pm line 106.\n
[Wed Jul 22 19:33:49 2015] [error] [client ::1] Handler for type-map returned invalid result code 620018, referer: http://localhost/xampp/navi.php
[Wed Jul 22 19:38:27 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 19:38:28 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 19:38:57 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 19:40:39 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 19:47:35 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 20:01:52 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 20:15:31 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 20:46:30 2015] [error] [client 172.16.1.56] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 20:59:31 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 21:06:11 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 21:42:54 2015] [error] [client 172.16.1.56] File does not exist: C:/xampp/htdocs/ocsinventory
[Wed Jul 22 23:19:22 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 00:03:51 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 03:22:25 2015] [error] [client 172.16.1.56] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 06:52:15 2015] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 10:14:06 2015] [error] [client 172.16.1.56] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 12:19:27 2015] [error] [client 172.16.200.121] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 12:20:25 2015] [error] [client 172.16.200.121] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 12:20:31 2015] [error] [client 172.16.200.121] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 12:22:15 2015] [error] [client 172.16.200.121] File does not exist: C:/xampp/htdocs/ocsinventory
[Thu Jul 23 12:27:11 2015] [error] [client ::1] File does not exist: C:/xampp/htdocs/ocsinventory
 
 
Thank you in advance for any answer.
in OCS Inventory NG agent for Windows by (120 points)

1 Answer

0 votes
Hi,

Did you restart apache after installation?

Regards

Frank
by (90.4k points)
I even restarted the OS several times. Not just the server.
 
Powered by Question2Answer
...