Cannot find file nagios_logentries Error backing up MySQL da
Posted: Tue Oct 21, 2014 7:17 am
When I try to backup my nagios xi with the following command am getting the error below
[root@xxx]# /usr/local/nagiosxi/scripts/backup_xi.sh
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
tar: /usr/local/nagios/share/perfdata/etw01: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 1017: Can't find file: 'nagios_logentries' (errno: 2) when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!
I have run the new script suggested here: http://support.nagios.com/forum/downloa ... hp?id=4428
My MYSQL password is ok:
[root@xxxx]# grep -i password= /root/scripts/automysqlbackup | head -n 1
PASSWORD=nagiosxi
[root@xxxx]#
Please advice what could be wrong with my nagios XI
[root@xxx]# /usr/local/nagiosxi/scripts/backup_xi.sh
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
tar: /usr/local/nagios/share/perfdata/etw01: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 1017: Can't find file: 'nagios_logentries' (errno: 2) when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!
I have run the new script suggested here: http://support.nagios.com/forum/downloa ... hp?id=4428
My MYSQL password is ok:
[root@xxxx]# grep -i password= /root/scripts/automysqlbackup | head -n 1
PASSWORD=nagiosxi
[root@xxxx]#
Please advice what could be wrong with my nagios XI