fresh download and install of server 2.3 on linux (CentOS 7) and agent 2.3. I'm installing the agent on several linux boxes all running CentOS 7 with all updates, some work fine and report, some give a 500 server error, all have the same perl modules and all have the same ocsinventory-agent.cfg file
agent log on the client
Wed Jan 25 13:41:45 2017][error] Cannot establish communication : 500 Internal Server Error
apache error log on the server corresponding line
[Wed Jan 25 13:44:32.579981 2017] [perl:error] [pid 5489] [client xxx.xxx.xxx.xxx:45672] Not a HASH reference at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Data.pm line 126.\n
and activity.log
Wed Jan 25 11:54:36 2017;5322;114;hostname-2017-01-25-13-10-39;xxx.xxx.xxx.xxx;OCS-NG_unified_unix_agent_v2.3;inventory;no_session
agent log on the client
Wed Jan 25 13:41:45 2017][error] Cannot establish communication : 500 Internal Server Error
apache error log on the server corresponding line
[Wed Jan 25 13:44:32.579981 2017] [perl:error] [pid 5489] [client xxx.xxx.xxx.xxx:45672] Not a HASH reference at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Data.pm line 126.\n
and activity.log
Wed Jan 25 11:54:36 2017;5322;114;hostname-2017-01-25-13-10-39;xxx.xxx.xxx.xxx;OCS-NG_unified_unix_agent_v2.3;inventory;no_session