[Nagios-users] Help! Debian and nagios not working

Marc Powell marc at ena.com
Fri Apr 13 12:30:14 UTC 2007


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of Marc Jonkers
> Sent: Friday, April 13, 2007 9:45 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Help! Debian and nagios not working
> Hi,
> I get the following message when I start Nagios with the -v switch:
> Error: Could not connect to MySQL database 'nagios' on host 
> 'localhost' using username 'root' and password 'XXXXXX'.  
> Status data will not be saved!

Version of nagios? If 1.x, the documentation on how to configure
database support is at
http://nagios.sourceforge.net/docs/1_0/xdata-db.html. You should
seriously consider starting with nagios2. nagios1 is very old and we're
approaching the release of nagios3. The database configuration of
nagios1 is no longer used in these modern releases.

In any event it sounds like either mysql isn't running, the proper
database/tables weren't created or you've supplied an  incorrect
username and password to access the database.


More information about the Nagios-users mailing list