I am trying to setup a little OCS Inventory system, to upload a few manually scanned agents. I have the .ocs files from the agent systems. I am able to login to the /ocsreports UI, and I go to Manage->Local Import, select the .ocs file, and click Send. This returns an Error 500.
There is nothing written to the ocsinventory-server log, and the Apache log states perl::error Cant call method "do" on an undefined value at /usr/local/share/perl5/Apache/Ocsinventory/Server/System.pm.
When I did the setup, I had an issue where I googled the answer to copy the Ocsinventory and Ocsinventory.pm files to the /usr/share/perl5/Apache location. Perhaps thats causing an issue? (
http://ask.ocsinventory-ng.org/4615/apache-dont-start-cant-locate-apache-pm)
This is all based on the latest versions from github, which I downloaded and installed yesterday.