所以今晚看似无处不在,我的wordpress网站瘫痪了,我已将其追溯到mysql的问题. Mysql不会在服务器上启动,因为它会一直失败.
这是我从日志中得到的:
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
我已经尝试过Googling并在这里查看Stack Overflow,但我似乎找不到很多解决方案,除了删除ipdata1和日志文件,正如我读过的那样,不应该使用存储的数据,因为它会弄乱我的桌子.
这是在NGINX CentOS 6服务器上.
有任何想法吗?我很感激帮助!
解决方法:
AFAIK系统错误:2 =没有这样的文件或目录.
检查目录是否存在,mysql是否有权写入该目录,以及磁盘上是否留有足够的空间.
原文地址:https://codeday.me/bug/20190926/1819959.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。