Can someone help? We had an issue where something with mysqld prevented SSH access to the server. When we eventually got it, logs on the server show things like:
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
120608 12:31:18 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
120608 12:31:18 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB:
http://dev.mysql.com/doc/refman/5.5/en/ ... codes.html120608 12:31:18 InnoDB: Could not open or create data files.
120608 12:31:18 InnoDB: If you tried to add new data files, and it failed here,
120608 12:31:18 InnoDB: you should now edit innodb_data_file_path in my.cnf back
120608 12:31:18 InnoDB: to what it was, and remove the new ibdata files InnoDB created
120608 12:31:18 InnoDB: in this failed attempt. InnoDB only wrote those files full of
120608 12:31:18 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
120608 12:31:18 InnoDB: remove old data files which contain your precious data!
120608 12:31:18 [ERROR] Plugin 'InnoDB' init function returned error.
120608 12:31:18 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120608 12:31:18 [ERROR] Unknown/unsupported storage engine: InnoDB
120608 12:31:18 [ERROR] Aborting
120608 12:31:18 [Note] /usr/libexec/mysqld: Shutdown complete
120608 12:31:18 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
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
...
120608 12:32:01 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
120608 12:32:01 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB:
http://dev.mysql.com/doc/refman/5.5/en/ ... codes.html120608 12:32:01 InnoDB: Could not open or create data files.
120608 12:32:01 InnoDB: If you tried to add new data files, and it failed here,
120608 12:32:01 InnoDB: you should now edit innodb_data_file_path in my.cnf back
120608 12:32:01 InnoDB: to what it was, and remove the new ibdata files InnoDB created
120608 12:32:01 InnoDB: in this failed attempt. InnoDB only wrote those files full of
120608 12:32:01 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
120608 12:32:01 InnoDB: remove old data files which contain your precious data!
120608 12:32:01 [ERROR] Plugin 'InnoDB' init function returned error.
120608 12:32:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120608 12:32:01 [ERROR] Unknown/unsupported storage engine: InnoDB
120608 12:32:01 [ERROR] Aborting
120608 12:32:01 [Note] /usr/libexec/mysqld: Shutdown complete
120608 12:32:01 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Can someone give us a clue of what might have caused this and what we could do in future to prevent it as we did not have SSH access for a while and a reboot is not ideal.
Edit: If it helps, we have a number of mysql processes - is this normal or could it be part of the cause if something is not right?