VPS侦探论坛

 找回密码
 注册
查看: 7550|回复: 4

运行中出现:error!mysql is running but PID file could not be found

[复制链接]
发表于 2013-10-19 14:00:27 | 显示全部楼层 |阅读模式

  1. 130630 16:41:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  2. 130630 16:41:51 InnoDB: The InnoDB memory heap is disabled
  3. 130630 16:41:51 InnoDB: Mutexes and rw_locks use GCC atomic builtins
  4. 130630 16:41:51 InnoDB: Compressed tables use zlib 1.2.3
  5. 130630 16:41:51 InnoDB: Initializing buffer pool, size = 16.0M
  6. 130630 16:41:51 InnoDB: Completed initialization of buffer pool
  7. InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist:
  8. InnoDB: a new database to be created!
  9. 130630 16:41:51 InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
  10. InnoDB: Database physically writes the file full: wait...
  11. 130630 16:41:51 InnoDB: Log file /usr/local/mysql/var/ib_logfile0 did not exist: new to be created
  12. InnoDB: Setting log file /usr/local/mysql/var/ib_logfile0 size to 5 MB
  13. InnoDB: Database physically writes the file full: wait...
  14. 130630 16:41:51 InnoDB: Log file /usr/local/mysql/var/ib_logfile1 did not exist: new to be created
  15. InnoDB: Setting log file /usr/local/mysql/var/ib_logfile1 size to 5 MB
  16. InnoDB: Database physically writes the file full: wait...
  17. InnoDB: Doublewrite buffer not found: creating new
  18. InnoDB: Doublewrite buffer created
  19. InnoDB: 127 rollback segment(s) active.
  20. InnoDB: Creating foreign key constraint system tables
  21. InnoDB: Foreign key constraint system tables created
  22. 130630 16:41:52 InnoDB: Waiting for the background threads to start
  23. 130630 16:41:53 InnoDB: 1.1.8 started; log sequence number 0
  24. 130630 16:41:53 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
  25. 130630 16:41:53 [Note] - '0.0.0.0' resolves to '0.0.0.0';
  26. 130630 16:41:53 [Note] Server socket created on IP: '0.0.0.0'.
  27. 130630 16:41:53 [Note] Event Scheduler: Loaded 0 events
  28. 130630 16:41:53 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
  29. Version: '5.5.28-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
  30. 130630 16:41:54 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

  31. 130630 16:41:54 [Note] Event Scheduler: Purging the queue. 0 events
  32. 130630 16:41:54 InnoDB: Starting shutdown...
  33. 130630 16:41:55 InnoDB: Shutdown completed; log sequence number 1595675
  34. 130630 16:41:55 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

  35. 130630 16:41:55 mysqld_safe mysqld from pid file /usr/local/mysql/var/AY1306300803061624a9Z.pid ended
  36. 130630 16:41:56 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  37. 130630 16:41:56 InnoDB: The InnoDB memory heap is disabled
  38. 130630 16:41:56 InnoDB: Mutexes and rw_locks use GCC atomic builtins
  39. 130630 16:41:56 InnoDB: Compressed tables use zlib 1.2.3
  40. 130630 16:41:56 InnoDB: Initializing buffer pool, size = 16.0M
  41. 130630 16:41:56 InnoDB: Completed initialization of buffer pool
  42. "AY1306300803061624a9Z.err" 160L, 10010C
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-10-19 14:32:58 | 显示全部楼层


ps aux |grep mysql
看下mysql 进程呗
应该是卡死 了

然后再
kill XXXX
XXX 是那个mysql的进程号 有几个
就KILL 几个,全部KILL掉
然后再重启试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-19 14:34:06 | 显示全部楼层

InnoDB: Database physically writes the file full: wait...
看这个是当前分区或硬盘已满
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-10-19 14:37:25 | 显示全部楼层

回复 2# 的帖子




KILL 掉之后,start不了.一直....

可恶的一小时两个贴子

删掉了mysql/var里面的0000日志文件也是无法启动


确实是磁盘满了.谢谢各位

[ 本帖最后由 一人天 于 2013-10-19 15:27 编辑 ]

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-19 16:25:16 | 显示全部楼层

你这是看的inode占用,不是看的硬盘容量占用,df -h 是看硬盘容量占用

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-26 13:45 , Processed in 0.026964 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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