Access denied for user 'cactiuser'@'localhost'

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
chrissifer
Posts: 2
Joined: Thu Aug 20, 2015 12:56 pm

Access denied for user 'cactiuser'@'localhost'

Post by chrissifer »

I run my cacti server on a Raspberry Pi and it;'s been running great for the last couple of days.

I had to reboot my Pi today for a configuration change (not related to Cacti or MySql etc) Since rebooting, my graphs haven;t been updating with data.

Im able to login to the cacti interface fine, so ran the poller.php manually via the command line and i'm now getting this error:

Code: Select all

PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
PHP Warning:  mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using password: YES) in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 383
This has certainly confused me as the database user in config.php is 'cacti' - Are there any other config files anywhere?

The fact that I can login to the web interface proves that the info in config.php is correct, so why won't the poller.php connect?
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Access denied for user 'cactiuser'@'localhost'

Post by cigamit »

You using the syslog plugin per chance?
chrissifer
Posts: 2
Joined: Thu Aug 20, 2015 12:56 pm

Re: Access denied for user 'cactiuser'@'localhost'

Post by chrissifer »

No, I wasn't.

Flummoxed me that much that I decided to go for a re-install instead.

All is fine with the world again
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests