Daily Archives

One Article

笔记

放置在NFS存储上的MySQL数据库无法正常启动的问题

Posted on

对放置在NFS存储上的MySQL数据库,在启动时有概率失败,提示文件无法锁定。

问题描述

启动MySQL失败,查看错误日志如下:

InnoDB: Unable to lock ./ib_logfile0, error: 11
InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.

通过lsof命令查询上述文件,并未发现有任何进程对其锁定。 阅读全文