Hi. I know that question many times resolved here, but all of them don't help me.
I have CentOs 7 Server, on the same server i installed OCS Agent. When i complete command to send inventory to the server i have 2 errors:
Cannon establish communcation : 500 Internal Error ( in ocsinventory-agent.log )
and
[perl:error] [pid 21081] [client 'ip_adress':39566] Can't call method "do" on an undefined value to /usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/System.pm line 189.\n ( in hhtpd/error_log )
Also i tried to use Windows Agent and sent inventory to server, but server don;t recieve any information.
Please, help and sorry for my english.