Segmentation Fault from running repairmysql.sh
Posted: Mon Sep 19, 2016 10:47 am
Hello,
I have been getting a lot of messages in the /var/log/messages file...
Sep 19 08:23:03 phslxnagios1 ndo2db: mysql_error: 'Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed'
1. Linux Distribution and version? Red Hat Enterprise Linux Server release 6.7 (Santiago)
2. 64-Bit ( 2.6.32-573.18.1.el6.x86_64 #1 SMP Wed Jan 6 11:20:49 EST 2016 x86_64 x86_64 x86_64 GNU/Linux )
3. Manual Install of XI
4. No Gnome installed, no proxy, no SSL
5. NagiosXI 5.2.9
I ran
# service mysqld stop
# Stopping mysqld: [ OK ]
# /usr/local/nagiosxi/scripts/repairmysql.sh Nagios
mysqld is stopped
DATABASE: nagios
TABLE:
/var/lib/mysql/nagios /usr/local
Stopping mysqld: [ OK ]
…
---------
- recovering (with sort) MyISAM-table 'nagios_contactnotificationmethods.MYI'
Data records: 3938360
- Fixing index 1
…
28821000
28822000
28823000
/usr/local/nagiosxi/scripts/repairmysql.sh: line 59: 11735 Segmentation fault (core dumped) $cmd $t --sort_buffer_size=256M
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
Please advise…
I have been getting a lot of messages in the /var/log/messages file...
Sep 19 08:23:03 phslxnagios1 ndo2db: mysql_error: 'Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed'
1. Linux Distribution and version? Red Hat Enterprise Linux Server release 6.7 (Santiago)
2. 64-Bit ( 2.6.32-573.18.1.el6.x86_64 #1 SMP Wed Jan 6 11:20:49 EST 2016 x86_64 x86_64 x86_64 GNU/Linux )
3. Manual Install of XI
4. No Gnome installed, no proxy, no SSL
5. NagiosXI 5.2.9
I ran
# service mysqld stop
# Stopping mysqld: [ OK ]
# /usr/local/nagiosxi/scripts/repairmysql.sh Nagios
mysqld is stopped
DATABASE: nagios
TABLE:
/var/lib/mysql/nagios /usr/local
Stopping mysqld: [ OK ]
…
---------
- recovering (with sort) MyISAM-table 'nagios_contactnotificationmethods.MYI'
Data records: 3938360
- Fixing index 1
…
28821000
28822000
28823000
/usr/local/nagiosxi/scripts/repairmysql.sh: line 59: 11735 Segmentation fault (core dumped) $cmd $t --sort_buffer_size=256M
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
Please advise…