Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to connect to the database for the poller #5

Open
schwarzy77 opened this issue Sep 27, 2016 · 0 comments
Open

Problem to connect to the database for the poller #5

schwarzy77 opened this issue Sep 27, 2016 · 0 comments

Comments

@schwarzy77
Copy link

When you launch a scan on an ip range, in the Central_DiscoveryAgent.log you get this line:
--- Call DiscoveryAgent_Central ---
Check the status of poller
Traceback (most recent call last):
File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 225, in
db=connectToDB()
File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 74, in connectToDB
db=MySQLdb.connect(host=conf_host,user=conf_user,passwd=conf_password,db=conf_db)
File "build/bdist.linux-x86_64/egg/MySQLdb/init.py", line 81, in Connect
File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 187, in init
_mysql_exceptions.OperationalError: (1045, "Access denied for user '*****'@'localhost' (using password: YES)")

The problem is in the file /etc/centreon/centreon.conf.php, the password is in '' instead of "".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant