2013-12-21 33 views
0

我试图重新启动mysql。但它没有重新启动。这里是mysql.log的内容:Mysql没有启动

131217 17:01:09 InnoDB: Starting shutdown... 
131217 17:01:11 InnoDB: Shutdown completed; log sequence number 153229469 
131217 17:01:11 [Note] /usr/libexec/mysqld: Shutdown complete 

131217 17:01:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 
131217 17:01:11 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 
131217 17:01:11 [Note] Plugin 'FEDERATED' is disabled. 
131217 17:01:11 InnoDB: The InnoDB memory heap is disabled 
131217 17:01:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
131217 17:01:11 InnoDB: Compressed tables use zlib 1.2.3 
131217 17:01:11 InnoDB: Using Linux native AIO 
^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibsMvrkL' (Errcode: 13) 
131217 17:01:11 InnoDB: Error: unable to create temporary file; errno: 13 
131217 17:01:11 [ERROR] Plugin 'InnoDB' init function returned error. 
131217 17:01:11 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
131217 17:01:11 [ERROR] Unknown/unsupported storage engine: InnoDB 
131217 17:01:11 [ERROR] Aborting 

任何人都可以帮我找到这个原因吗?事实上,在这段时间之前,mysql正在工作,它似乎不是一个常规的错误!!请让我知道是否有任何其他信息需要。

非常感谢

+1

鉴于具体的错误 - 无参数共享“df -h”和“mount”的输出。你的'/ tmp'挂载可能是全或只读的。 –

回答

0

您是否检查过您的磁盘分区是否存在问题。可能是它的空间不足或有问题。错误清楚地表明问题是由创建临时文件失败造成的。因为InnoDB初始化失败,列出了Rest。

+0

您也可能会遇到分区中的inode耗尽(请注意,您可以拥有足够的可用空间,但没有足够的inode)。你可以用df -ih来检查 – shakaran