分类: Mysql/postgreSQL
2011-02-12 12:16:22
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正常工作.
chinaunix网友2011-03-06 15:54:17
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com