VPS侦探论坛

 找回密码
 注册
查看: 8765|回复: 6

重启lnmp后,mysql崩溃了

[复制链接]
发表于 2010-11-12 09:20:55 | 显示全部楼层 |阅读模式

重启lnmp后,mysql崩溃了,之后我重启下vps,mysql又好,这样的问题已经遇到两次了。

本帖子中包含更多资源

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

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

回复 1# 的帖子

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-11-12 11:37:41 | 显示全部楼层

mysql5.1.30  初次启动会出现Starting MySQL.Manager of pid-file quit without updating fi[FAILED]的报错,需要注释/etc/my.cnf里的skip-federated注释掉即#skip-federated就OK了!
军哥,我的是lnmp5.0的最新版5.1.48
/etc/my.cnf里面找不到skip-federated
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-11-12 11:41:43 | 显示全部楼层



发/usr/local/mysql/var/主机名.err 错误日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-11-12 11:47:11 | 显示全部楼层

101102 16:54:52 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101102 16:54:53 [Note] Event Scheduler: Loaded 0 events
101102 16:54:53 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101102 16:54:55 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101102 16:54:55 [Note] Event Scheduler: Purging the queue. 0 events
101102 16:54:55 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101102 16:54:55 mysqld_safe mysqld from pid file /usr/local/mysql/var/server.znsoft.com.pid ended
101102 16:54:56 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101102 16:54:58 [Note] Event Scheduler: Loaded 0 events
101102 16:54:58 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101102 16:54:58 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101102 16:54:58 [Note] Event Scheduler: Purging the queue. 0 events
101102 16:54:58 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101102 16:54:58 mysqld_safe mysqld from pid file /usr/local/mysql/var/server.znsoft.com.pid ended
101102 17:15:35 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101102 17:15:36 [Note] Event Scheduler: Loaded 0 events
101102 17:15:36 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101102 17:15:37 mysqld_safe A mysqld process already exists
101102 20:33:56 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101102 20:33:56 [Note] Event Scheduler: Purging the queue. 0 events
101102 20:33:57 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101102 20:33:58 mysqld_safe mysqld from pid file /usr/local/mysql/var/server.znsoft.com.pid ended
101102 20:33:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101102 20:34:02 [Note] Event Scheduler: Loaded 0 events
101102 20:34:02 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101102 22:48:45 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101102 22:48:45 [Note] Event Scheduler: Purging the queue. 0 events
101102 22:48:46 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101102 22:48:46 mysqld_safe mysqld from pid file /usr/local/mysql/var/server.znsoft.com.pid ended
101102 22:48:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101102 22:48:49 [Note] Event Scheduler: Loaded 0 events
101102 22:48:49 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 17:15:34 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 17:15:34 [Note] Event Scheduler: Purging the queue. 0 events
101110 17:15:34 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:15:34 mysqld_safe mysqld from pid file /usr/local/mysql/var/server.znsoft.com.pid ended

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

 楼主| 发表于 2010-11-12 16:57:14 | 显示全部楼层

101110 16:59:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 16:59:07 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
101110 16:59:07 [ERROR] Do you already have another mysqld server running on port: 3306 ?
101110 16:59:07 [ERROR] Aborting

101110 16:59:07 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 16:59:07 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:02:08 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:02:09 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
101110 17:02:09 [ERROR] Do you already have another mysqld server running on port: 3306 ?
101110 17:02:09 [ERROR] Aborting

101110 17:02:09 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:02:09 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:10:53 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:10:54 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
101110 17:10:54 [ERROR] Do you already have another mysqld server running on port: 3306 ?
101110 17:10:54 [ERROR] Aborting

101110 17:10:54 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:10:54 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:16:02 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:16:03 [Note] Event Scheduler: Loaded 0 events
101110 17:16:03 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 17:25:16 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 17:25:16 [Note] Event Scheduler: Purging the queue. 0 events
101110 17:25:16 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:25:16 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:25:17 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:25:18 [Note] Event Scheduler: Loaded 0 events
101110 17:25:18 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 17:31:58 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 17:31:58 [Note] Event Scheduler: Purging the queue. 0 events
101110 17:31:59 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:31:59 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:31:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:32:00 [Note] Event Scheduler: Loaded 0 events
101110 17:32:00 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 17:52:45 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 17:52:45 [Note] Event Scheduler: Purging the queue. 0 events
101110 17:52:45 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:52:45 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:52:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:52:46 [Note] Event Scheduler: Loaded 0 events
101110 17:52:46 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 17:55:25 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 17:55:25 [Note] Event Scheduler: Purging the queue. 0 events
101110 17:55:25 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 17:55:25 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 17:55:26 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 17:55:27 [Note] Event Scheduler: Loaded 0 events
101110 17:55:27 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 18:03:20 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 18:03:20 [Note] Event Scheduler: Purging the queue. 0 events
101110 18:03:21 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 18:03:21 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 18:03:21 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 18:03:21 [Note] Event Scheduler: Loaded 0 events
101110 18:03:21 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 18:08:05 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 18:08:05 [Note] Event Scheduler: Purging the queue. 0 events
101110 18:08:05 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 18:08:05 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 18:08:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 18:08:06 [Note] Event Scheduler: Loaded 0 events
101110 18:08:06 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101110 18:26:24 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101110 18:26:24 [Note] Event Scheduler: Purging the queue. 0 events
101110 18:26:24 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101110 18:26:24 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101110 18:26:25 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101110 18:26:26 [Note] Event Scheduler: Loaded 0 events
101110 18:26:26 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101111 11:36:39 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101111 11:36:39 [Note] Event Scheduler: Purging the queue. 0 events
101111 11:36:39 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101111 11:36:39 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101111 11:36:40 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101111 11:36:41 [Note] Event Scheduler: Loaded 0 events
101111 11:36:41 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101111 13:54:05 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101111 13:54:05 [Note] Event Scheduler: Purging the queue. 0 events
101111 13:54:05 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101111 13:54:06 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
101111 13:54:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
101111 13:54:07 [Note] Event Scheduler: Loaded 0 events
101111 13:54:07 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.48-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
101111 17:09:36 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

101111 17:09:36 [Note] Event Scheduler: Purging the queue. 0 events
101111 17:09:38 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

101111 17:09:38 mysqld_safe mysqld from pid file /usr/local/mysql/var/szjume.com.pid ended
发表于 2010-11-12 17:10:50 | 显示全部楼层

回复 6# 的帖子


执行:df -h 看看磁盘占用情况。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 23:04 , Processed in 0.028545 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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