Hey there,
I installed the Server on Ubuntu 18.4 LTS.
so far so good, the System is running and the setup has been completed, after I figured out that I had to change the DB information in the z-ocsinventory-server.conf. before that I got an HTTP 500 on webbrowser while trying to start the install.php.
but now my problem is as follows:
I installed the 2.6 Version of the Agent on my Windows 10 System.
while the installation process I entered the IP for the OCS Server and the admin password (I don't know if this is necessary) but no data is showing up in the Server.
I had a look into the apache2/error.log:
Can't call method "rollback" on an undefined value at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Server/System.pm line 282.
the access.log shows the following line:
"POST /ocsinventory HTTP/1.1" 500 804 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0
the OCS activity.log this:
OCS-NG_WINDOWS_AGENT_v2.6.0.0;database_connect;Access denied for user 'ocs'@'localhost' (using password: YES)
OCS-NG_WINDOWS_AGENT_v2.6.0.0;handler;Database connection
The Agent OCSInventory.log on Client came up with this:
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
I double and triplechecked the z-ocsinventory-server.conf and dbconfig.inc.php...
all provided usernames, Databasenames and passwords are correct there.
Does anyone have an idea, what I can do?
I'm using MariaDB 10.4.12 apache 2.4 and PHP7.2
It is a fresh installed system just for this service. And the first ocs Server I ever installed.
So I really need some help on this.