Backing up MySQL databases...
mysqldump: Got error: 145: Table './nagios/nagios_systemcommands' is marked as crashed and should be repaired when using LOCK TABLES
Passowrd is correct
error during Nagios Backup
Re: error during Nagios Backup
Try the following procedure and then rerun the backup procedure.
http://assets.nagios.com/downloads/nagi ... tabase.pdf
http://assets.nagios.com/downloads/nagi ... tabase.pdf
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: error during Nagios Backup
ok, will do,
How do I copy a file to nagios, using putty?
on my switches it is easy, copy tftp flash: enter
How do I copy a file to nagios, using putty?
on my switches it is easy, copy tftp flash: enter
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: error during Nagios Backup
You can use a secure FTP client like filezilla, or WinSCP
http://winscp.net/eng/index.php
http://winscp.net/eng/index.php
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: error during Nagios Backup
I have a tftp server, but i am unsure of the commands to run on nagios CLI
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: error during Nagios Backup
Nagios server doesn't use tftp, it does use SSH which will allow a direct connection with WinSCP to transfer files.
If you are referring to the commands to repair the database, do the following:
Connect with Putty as root
Run the following commands as the terminal
If you are referring to the commands to repair the database, do the following:
Connect with Putty as root
Run the following commands as the terminal
Code: Select all
service mysqld stop
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
service mysqld start