InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
I recently faced the “error InnoDB: Unable to lock ./ibdata1, error: 37 “ while moving my data directory to NFS from local disk , when I restarted the mysql , the restart failed and I got the error in the error log , all permissions were set properly so I was not sure whats going wrong , I was sure that there is some problem with the OS not able to lock the file and it was related to NFS so I
1) /etc/init.d/portmap restart
2) /etc/init.d/nfslock restart
Restarted the mysql and it worked .
Thanks
Pankaj Joshi





July 28th, 2010 at 10:48 am
Thanks Pankaj. This tip saved my day once again!
July 28th, 2010 at 5:20 pm
good to see that its helpfull