VPS侦探论坛

 找回密码
 注册
查看: 3219|回复: 2

LNMP 1.3版本 安装完成后MySQL启动失败

[复制链接]
发表于 2017-5-11 14:06:39 | 显示全部楼层 |阅读模式

[root@iZ2zefbxvqr66xfmk0zzpmZ /]# service mysqld restart
MySQL server PID file could not be found!                  [FAILED]
Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/var/iZ2zefbxvqr66xfmk0zzpmZ.pid).

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2017-5-11 14:10:34 | 显示全部楼层


阿里云服务器
CentOS 6.8 x64
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2017-5-11 19:44:04 | 显示全部楼层

df -h 看一下数据库所在磁盘是不是满了

InnoDB: Error: space header page consists of zero bytes in data file /usr/local/mysql/var/ibdata1
170511 12:47:31 InnoDB: Could not open or create data files.
170511 12:47:31 InnoDB: If you tried to add new data files, and it failed here,
170511 12:47:31 InnoDB: you should now edit innodb_data_file_path in my.cnf back
170511 12:47:31 InnoDB: to what it was, and remove the new ibdata files InnoDB created
170511 12:47:31 InnoDB: in this failed attempt. InnoDB only wrote those files full of
170511 12:47:31 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
170511 12:47:31 InnoDB: remove old data files which contain your precious data!
170511 12:47:31 [ERROR] Plugin 'InnoDB' init function returned error.
170511 12:47:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170511 12:47:31 [ERROR] Unknown/unsupported storage engine: InnoDB
170511 12:47:31 [ERROR] Aborting

看日志ibdata1可能损坏
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 15:26 , Processed in 0.026565 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表