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

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

Ubuntu 12.04 OCS 2.2 was great but 14.04 no working...


I know a lot of questions with new linux versions and OCS problems but nowhere clear answer...

I used long time OCS server 2.2 installed on Ubuntu 12.04 it was perfect but someday I had good idea upgrade to 14.04. Of course upgrade without errors OCS works but no inventoring, no new entries in activity.log. No apache, ocs, mysql, perl and other log errors. After 3 days fight I installed new fresh virtual Ubuntu 14.04 & OCS but same situation all OK but no inventoring no new entries no errorlogs....

Just agent say error 404

Someone can help me?
in OCS Inventory NG server for Unix by (160 points)

3 Answers

0 votes

Can you check if you have mod perl properly installed ?

Did you check if your ocs apache config file are properly loaded after your ubuntu upgrade ?

Regards, Gilles Dubois
by (3.1k points)
Hi Gilles, I could not find a problem with mod perl, everything looked OK for me ???

At the moment I use OCS 2.2 instaled on Fedora 23 & Mariadb is OK no any problems, only Mariadb required manual configuration.
0 votes

I am having the same problem

Ubuntu 14.04
Perl v5.18.2
PHP 5.5.9-1ubuntu4.14 (cli)

Result in Apache2 access.log

"POST /ocsinventory HTTP/1.1" 404 444 "-" "OCS-NG_WINDOWS_AGENT_v2.1.0.3"

(same for the new agent)

Path for IP Discovery /var/lib/ocsinventory-reports/ipd
Nothing in the network gets detected.

by (140 points)
0 votes
I am suspect different path or variables in 14.04 configuration especially apache?

Fedora 23 works OK for me.
by (160 points)

When I add

Alias /ocsinventory /path

in sites-available 000-default.conf file i'm getting a 301 and 403 error.
So it might be, if the right path in there, that my problem is solved.
I tried different paths without succes.

Powered by Question2Answer