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

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

error 404 not found [closed]

Hi

I always  have 404 error from my agent .

When I connect to the url http://192.168.1.83/ocsreports/. It 's ok but when I tr the url http://192.168.1.83/ocsinventory , I have not found

Thanks for your help 

Log of /var/log/ocsng.log 

[Thu Mar  7 22:06:39 2019][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2

[Thu Mar  7 22:06:39 2019][debug] Log system initialised (File)

[Thu Mar  7 22:06:39 2019][debug] --scan-homedirs missing. Don't scan user directories

[Thu Mar  7 22:06:39 2019][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__192.168.1.83_ocsinventory/ocsinv.adm

[Thu Mar  7 22:06:39 2019][debug] OCS Agent initialised

[Thu Mar  7 22:06:39 2019][debug] Failed to load `/etc/ocsinventory-agent/modules.conf': 0

[Thu Mar  7 22:06:39 2019][debug] No modules will be used.

[Thu Mar  7 22:06:39 2019][debug] Compress::Zlib is not available! The data will be compressed with

             gzip instead but won't be accepted by server prior 1.02

[Thu Mar  7 22:06:39 2019][debug] sending XML

[Thu Mar  7 22:06:39 2019][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <DEVICEID>Hackintosh-2019-03-07-21-11-25</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[Thu Mar  7 22:06:39 2019][error] Cannot establish communication : 404 Not Found

Log of ocsinventory-agent.cfg 

server=http://192.168.1.83/ocsinventory

logfile=/var/log/ocsng.log

debug=1

lazy=0

ssl=0

closed with the note: Reinstall OK
in OCS Inventory NG agent for MacOS X by (160 points)
closed by

1 Answer

0 votes
Hi,

On which distro is installed OCS server? Is the apache module "mod_perl" installed and activated on the server? Perhaps the firewall on the OCS server is activated and vorbides connections. Please verify.

Regards

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