Deimos
12-04-2007, 12:16 AM
I'm not sure where to look, but intermittently, mysql either crashes or stops working
The only time I know when something is wrong is when I start getting emails about it being down
Is there a paticular log file I need to check to find out what happened?
This is from the hostname.err log file
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
071203 17:59:38 [ERROR] Can't create thread to kill server
Number of processes running now: 0
071203 18:05:04 mysqld restarted
071203 18:05:04 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: using the same InnoDB data or log files.
071203 18:05:48 [Note] /usr/sbin/mysqld: Normal shutdown
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
071203 18:05:50 InnoDB: Starting shutdown...
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
071203 18:05:55 InnoDB: Shutdown completed; log sequence number 0 43063192
071203 18:05:55 [Note] /usr/sbin/mysqld: Shutdown complete
071203 18:05:56 InnoDB: Started; log sequence number 0 43063192
071203 18:05:56 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
071203 18:05:56 [Note] /usr/sbin/mysqld: Normal shutdown
071203 18:05:56 InnoDB: Starting shutdown...
Number of processes running now: 0
071203 18:05:56 mysqld restarted
071203 18:05:56 InnoDB: Started; log sequence number 0 43063192
071203 18:05:56 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
A mysqld process already exists at Mon Dec 3 18:05:56 EST 2007
The only time I know when something is wrong is when I start getting emails about it being down
Is there a paticular log file I need to check to find out what happened?
This is from the hostname.err log file
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
071203 17:59:38 [ERROR] Can't create thread to kill server
Number of processes running now: 0
071203 18:05:04 mysqld restarted
071203 18:05:04 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: using the same InnoDB data or log files.
071203 18:05:48 [Note] /usr/sbin/mysqld: Normal shutdown
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
071203 18:05:50 InnoDB: Starting shutdown...
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
071203 18:05:55 InnoDB: Shutdown completed; log sequence number 0 43063192
071203 18:05:55 [Note] /usr/sbin/mysqld: Shutdown complete
071203 18:05:56 InnoDB: Started; log sequence number 0 43063192
071203 18:05:56 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
071203 18:05:56 [Note] /usr/sbin/mysqld: Normal shutdown
071203 18:05:56 InnoDB: Starting shutdown...
Number of processes running now: 0
071203 18:05:56 mysqld restarted
071203 18:05:56 InnoDB: Started; log sequence number 0 43063192
071203 18:05:56 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.0.27-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
A mysqld process already exists at Mon Dec 3 18:05:56 EST 2007