VPS侦探论坛

 找回密码
 注册
查看: 7938|回复: 3

MySQL manager or server PID file could not be found! ... failed!

[复制链接]
发表于 2011-6-5 16:52:10 | 显示全部楼层 |阅读模式

linode VPS, debian 6 系统

现在网站无法登陆, 出现
Error establishing a database connection
重启mysql 无效,就出现这个

MySQL manager or server PID file could not be found! ... failed!




以下是mysql 错误日志
  1. 110603 19:32:52 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  2. 110603 19:32:52 [Note] Event Scheduler: Loaded 0 events
  3. 110603 19:32:52 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
  4. Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  5. 110603 19:32:53 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

  6. 110603 19:32:53 [Note] Event Scheduler: Purging the queue. 0 events
  7. 110603 19:32:53 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  8. 110603 19:32:53 mysqld_safe mysqld from pid file /usr/local/mysql/var/li302-233.pid ended
  9. 110603 19:32:54 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  10. 110603 19:32:54 [Note] Event Scheduler: Loaded 0 events
  11. 110603 19:32:54 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
  12. Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  13. 110603 19:40:23 mysqld_safe A mysqld process already exists
  14. 110603 21:49:02 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

  15. 110603 21:49:02 [Note] Event Scheduler: Purging the queue. 0 events
  16. 110603 21:49:02 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  17. 110603 21:49:02 mysqld_safe mysqld from pid file /usr/local/mysql/var/li302-233.pid ended
  18. 110603 21:49:04 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  19. 110603 21:49:04 [Note] Event Scheduler: Loaded 0 events
  20. 110603 21:49:04 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
  21. Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  22. 110604  6:54:47 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

  23. 110604  6:54:47 [Note] Event Scheduler: Purging the queue. 0 events
  24. 110604  6:54:47 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  25. 110604 06:54:47 mysqld_safe mysqld from pid file /usr/local/mysql/var/li302-233.pid ended
  26. 110604 06:54:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  27. 110604  6:54:49 [Note] Event Scheduler: Loaded 0 events
  28. 110604  6:54:49 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
  29. Version: '5.1.54-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  30. 110605  6:58:41 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

  31. 110605  6:58:41 [Note] Event Scheduler: Purging the queue. 0 events
  32. 110605  6:58:41 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  33. 110605 06:58:42 mysqld_safe mysqld from pid file /usr/local/mysql/var/li302-233.pid ended
复制代码

[ 本帖最后由 ryan123 于 2011-6-5 17:00 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-6-5 18:20:09 | 显示全部楼层


已经有mysql在运行了吧,kill mysql的进程再重新启动试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-6-5 19:09:10 | 显示全部楼层

军哥, KILL之后还是不行  我用的是LNMPA
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-6-5 21:10:01 | 显示全部楼层

回复 3# 的帖子




ps aux看一下应该是没结束掉吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 16:58 , Processed in 0.025588 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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