Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can't access to OCS

Hi everybody,

I just installed GLPI on a Debian 8.4 Jessie and all work fine. I now installed OCSNG Unix Server 2.0rc2.

When i tried to log to http://my_server_ip/ocsreports (from a distant client) i got this error :

ERROR: MySql connection problem
Access denied for user 'admin'@'xxx.xxx.xxx.xxx' (using password: YES)

I can log on the Debian server in command line with my user and it works, i can access to the OCS database.

I look on the internet for solutions from 2 days and found nothing, so if anyone have a clue it will be very nice :)


in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes

OCS 2.0rc2 is too old. Install latest version which is 2.2.

In /etc/apache2/sites-enabled/é-ocsinventory-server.conf the mysql user is defined and his password is set to ocs by default. If you have changed the password in this file you forgot to restart apache after. So restart apache and then try to access the gui.


by (88.5k points)
Powered by Question2Answer