2013-12-21 53 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