Originally Posted by chandhokshashank
Your problem lies in ur my.cnf
RHCS is searching for pid file in
but your my.cnf has configured pid file in
Change your my.cnf to create pid file with name "mysql.pid" in
Also increase the shutdown_wait time to 5 or 10 seconds.
Well, thanks for your help, but I forgot to mention something that could help:
1) The error message is "110913 16:20:03 InnoDB: Retrying to lock the first data file
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."
Maybe your solution works with MyISAM tables.
2) The pid file is /var/lib/mysql/$HOSTNAME.pid, so the pid file should not be a conflict (/var/lib/mysql is a gfs filesystem)
If you still think it's possible and I've forgotten something to override the lock, please let me know.