InnoDB: Unable to lock ./ibdata1, error: 37
[root@mysql ~]# InnoDB: Unable to lock ./ibdata1, error: 37
100810 13:48:30 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
解决办法尝试:
1) /etc/init.d/portmap restart
2) /etc/init.d/nfslock restart
也许是由于file太大,操作系统无法锁住文件,当然也与nfs有关,不过通过上面的方法重启后,mysql正常工作.