Canadaka
03-14-2005, 01:50 PM
I just recently bought a new Dual Xeon server for my site, working great except MySQL keeps crashing, seems likes happening at least once a day. mysql crashes and does not come back up until I manualy start the service again.
I never see any error on my actualy phpnuke site: www.canadaka.net
but the same sequence of events happens in the mysql log file each time:
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:32:26 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050314 9:32:26 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 276756.
InnoDB: Doing recovery: scanned up to log sequence number 0 276756
050314 9:32:26 InnoDB: Flushing modified pages from the buffer pool...
050314 9:32:26 InnoDB: Started; log sequence number 0 276756
I have never had this problem before, and after looking around on this forum and google, can't really come up with a reason or solution. these threads on nuke cops did not help:
http://www.nukecops.com/postlite36639-nukesession+myi.html
http://www.nukecops.com/postlite34980-nukesession+myi.html
http://www.nukecops.com/postlite30678-nukesession+myi.html
Each time I manual restart the mySQL server i think repair the nuke-sessions table and it seems to have no errros.
Anyother question is if there is a way to make mySQL automaticaly restart after it crashes? my site was down 4 hours yesterday becasue i wasn't there to restart it.
I never see any error on my actualy phpnuke site: www.canadaka.net
but the same sequence of events happens in the mysql log file each time:
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:14:07 [ERROR] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Can't open file: 'nuke_session.MYI' (errno: 145)
050314 9:32:26 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050314 9:32:26 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 276756.
InnoDB: Doing recovery: scanned up to log sequence number 0 276756
050314 9:32:26 InnoDB: Flushing modified pages from the buffer pool...
050314 9:32:26 InnoDB: Started; log sequence number 0 276756
I have never had this problem before, and after looking around on this forum and google, can't really come up with a reason or solution. these threads on nuke cops did not help:
http://www.nukecops.com/postlite36639-nukesession+myi.html
http://www.nukecops.com/postlite34980-nukesession+myi.html
http://www.nukecops.com/postlite30678-nukesession+myi.html
Each time I manual restart the mySQL server i think repair the nuke-sessions table and it seems to have no errros.
Anyother question is if there is a way to make mySQL automaticaly restart after it crashes? my site was down 4 hours yesterday becasue i wasn't there to restart it.
