Hi all, I've simply reinstalled the main server. Luckily I used automysqlbackup to backup the different databases each night.
The reinstall was done with a 100GB LVM drive with everything in /. So the nagios backups themselves will not be able to fill the drive anytime soon. Reinstalling with 15 slaves that "call back" to the master via ssh-tunnels... Was a hefty task ;-) Thanks, Mark ----- "Mark Maas-Martin" <[email protected]> wrote: > > More info: > > "[2009/10/27 11:27:12] [Opsview.Web.Controller.Root] [ERROR] Errors > encountered: DBIx::Class::ResultSet::find(): DBI Connection failed: DBI > connect('database=opsview;host=localhost','opsview',...) failed: Can't > connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) > at /usr/local/nagios/perl/lib/DBIx/Class/Storage/DBI.pm line 840 > [2009/10/27 11:27:12] [Catalyst] [ERROR] DBIx::Class::ResultSet::find(): DBI > Connection failed: DBI > connect('database=opsview;host=localhost','opsview',...) failed: Can't > connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) > at /usr/local/nagios/perl/lib/DBIx/Class/Storage/DBI.pm line 840 > [2009/10/27 11:27:12] [Catalyst] [ERROR] Caught exception in > Opsview::Web::Controller::Root->end "Can't insert new Opsview::Auditlog: DBI > connect('database=opsview;host=localhost','opsview',...) failed: Can't > connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) > at /usr/local/nagios/perl/lib/Ima/DBI.pm line 329 > " > > But I can connect to mysql without issues: > > "[r...@popsmas mysql-backup]# mysql -u opsview -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 313 > Server version: 5.0.77 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> exit > Bye > [r...@popsmas mysql-backup]# mysql -u nagios -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 328 > Server version: 5.0.77 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> exit > Bye > [r...@popsmas mysql-backup]# mysql -u odw -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 333 > Server version: 5.0.77 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> exit > Bye > [r...@popsmas mysql-backup]# mysql -u reporter -p > Enter password: > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 343 > Server version: 5.0.77 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> exit > Bye > " > > Thanks, > Mark > >
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
