因此,今晚看起来不合常理,我的wordpress网站崩溃了,我已经将它跟踪到mysql的问题。 Mysql不会在服务器上启动,因为它始终失败。Mysql服务无法启动,InnoDB初始化函数错误
以下是我从日志中获得:
140226 08:54:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140226 08:58:20 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140226 8:58:20 [Note] Plugin 'FEDERATED' is disabled.
140226 8:58:20 InnoDB: The InnoDB memory heap is disabled
140226 8:58:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140226 8:58:20 InnoDB: Compressed tables use zlib 1.2.3
140226 8:58:20 InnoDB: Using Linux native AIO
/usr/libexec/mysqld: Can't create/write to file '/dev/shm/mysql/ibOqUOjF' (Errcode: 2)
140226 8:58:20 InnoDB: Error: unable to create temporary file; errno: 2
140226 8:58:20 [ERROR] Plugin 'InnoDB' init function returned error.
140226 8:58:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140226 8:58:20 [ERROR] Unknown/unsupported storage engine: InnoDB
140226 8:58:20 [ERROR] Aborting
我试过谷歌搜索和寻找在这里对堆栈溢出,但我似乎无法找到很多解决方案,除了删除ipdata1和我读过的日志文件不应该使用存储的数据完成,因为它会弄乱我的表格。
这是在NGINX CentOS 6服务器上。
任何想法?我感谢帮助!
似乎对'的/ dev/shm的/ MySQL的/' –
AFAIK系统权限问题错误:2 =没有这样的文件或目录 - 目录是否存在? mysql是否有权写入它?磁盘上是否有足够的空间? – Jon
@AbdulManaf Duh ..我设置了这些权限,现在开始,但网站仍然404'。这也在日志中:'服务器主机名(bind-address):'0.0.0.0';端口:3306',看起来好像没有连接到正确的主机名。 – evan3168