VPS侦探论坛

 找回密码
 注册
查看: 4604|回复: 1

[Oracle] mysql 无法启动总是提示PID文件不存在。

[复制链接]
发表于 2017-11-4 12:57:00 | 显示全部楼层 |阅读模式

The server quit without updating PID file (/usr/local/mysql/var/iZ23uns8gh8Z.pid).


错误日志:


171104 12:38:26 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:39:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Killed
171104 12:39:06 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:39:36 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:39:37 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:43:28 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:43:29 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended



171104 12:43:57 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:43:57 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:44:42 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:44:43 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:50:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Killed
171104 12:50:31 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended


全是这个。
上面的warning 已经解决了,就剩下 pid 无法生成了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-11-4 18:25:31 | 显示全部楼层

回复 1# 的帖子



被killed了,应该是内存不够用了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-25 23:40 , Processed in 0.024981 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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