> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Marc Jonkers > Sent: Friday, April 13, 2007 9:45 AM > To: [EMAIL PROTECTED] > 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. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
