I have a fresh installation of the last version of OCS on a centos server.
I have a windows 7 pc with OCS Agent installed. Nothing append when I launch inventory. I can't see the computer on OCS reports.
In the Agent logs i can see :
COM SERVER => Sending HTTP Post request to URL <http://ocs-srv.dagimport.com/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT => Communication Server ask for Package Download
DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Download disabled by server
I check my mysql server configuration and evrything is ok :
<IfModule mod_perl.c>
# Which version of mod_perl we are using
# For mod_perl <= 1.999_21, replace 2 by 1
# For mod_perl > 1.999_21, replace 2 by 2
PerlSetEnv OCS_MODPERL_VERSION 2
# Master Database settings
# Replace localhost by hostname or ip of MySQL server for WRITE
PerlSetEnv OCS_DB_HOST localhost
# Replace 3306 by port where running MySQL server, generally 3306
PerlSetEnv OCS_DB_PORT 3306
# Name of database
PerlSetEnv OCS_DB_NAME ocsweb
PerlSetEnv OCS_DB_LOCAL ocsweb
# User allowed to connect to database
PerlSetEnv OCS_DB_USER ocs
# Password for user
PerlSetVar OCS_DB_PWD test
Here is my apache error.log :
192.168.21.248 - - [26/Jul/2017:20:52:08 +0200] "GET /ocsinventory/deploy/label HTTP/1.1" 400 226 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
192.168.21.248 - - [26/Jul/2017:20:52:09 +0200] "POST /ocsinventory HTTP/1.1" 200 234 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
192.168.21.248 - - [26/Jul/2017:20:52:32 +0200] "POST /ocsinventory HTTP/1.1" 500 527 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
192.168.21.248 - - [26/Jul/2017:20:53:27 +0200] "GET /ocsinventory/deploy/label HTTP/1.1" 400 226 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
192.168.21.248 - - [26/Jul/2017:20:53:27 +0200] "POST /ocsinventory HTTP/1.1" 200 234 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
192.168.21.248 - - [26/Jul/2017:20:53:49 +0200] "POST /ocsinventory HTTP/1.1" 500 527 "-" "OCS-NG_WINDOWS_AGENT_v2.0.5.0"
Could someone help me please? I checked everything before posting here.