2007-12-13, 09:28 AM
today at 2am approx, the linux-noob.com server had a kernel panic. I discovered this when I tried to browse the site this morning, I couldn't access it at all via http or ssh. Ping worked however. So I went to the server and hooked up a CRT and I could see the kernel panic details (some big page fault...)
after a restart dmesg was full of errors (missing inodes and such)
after the restart mysqld was hanging at 100% and linux-noob.com (this site) was non-functional (timed out)
Quote:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2600 mysql 18 0 125m 25m 3764 S 100 5.0 27:25.50 mysqld
I attempted to backup the current database before attempting to restore it from the last known good backup (from last sunday, as I have a cron job to backup everything once a week)
and the backup attempt failed
Quote:root@www bin]# ./mysqldump -u root -p forums >> forums_export.sqlEnter password:
mysqldump: Got error: 1016: Can't open file: 'ibf_sessions.MYI' (errno: 145) when using LOCK TABLES
because of this, I decided to forgo 3 days data (mon/tue/wed/) and attempted a restore from the last known good backup, that worked just fine and the site is back up and running again.
because of this failure I will now put in place two things,
daily mysqld backup and I will replace this server with a newer one (shortly).
cheers
anyweb