I installed a new OCS server (version 2.5) last week, and I'm having issues getting agents to connect. Some aren't connecting at all, some have connected a few times, but then stopped being able to, and others are not having any problems. Agent versions are a mix of 2.1-2.3 (they were installed previously and I haven't updated all of them), but there's no pattern to which ones work and which don't. The password is correct everywhere, and I can get to the server just fine on a machine that's currently failing. The failures have "ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>" in the log. I saw some references to a missing column in the networks table, but I checked and it's there.
The only error showing in the Apache error log when I try and fail to connect is "Not a HASH reference at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm"
The only error showing in the Apache error log when I try and fail to connect is "Not a HASH reference at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm"