VPS侦探论坛

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

php降版本后mysql启动失败

[复制链接]
发表于 2016-12-16 17:44:52 | 显示全部楼层 |阅读模式

我把php5.6用upgrade.sh 换成了5.4版本后mysql就启动不了了。

[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
failed!
root@debian:/home/junland/lamp/lnmp1.3-full# systemctl status mysql.service
● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql)
   Active: failed (Result: exit-code) since 五 2016-12-16 17:10:28 CST; 27min ago
  Process: 10370 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
  Process: 61486 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

12月 16 17:10:27 debian mysql[61486]: Starting MySQL
12月 16 17:10:28 debian mysql[61486]: .The server quit without updating ...!
12月 16 17:10:28 debian systemd[1]: mysql.service: control process exite...1
12月 16 17:10:28 debian systemd[1]: Failed to start LSB: start and stop ....
12月 16 17:10:28 debian systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.



root@debian:/home/junland/lamp/lnmp1.3-full# journalctl -xn
-- Logs begin at 五 2016-12-16 09:12:33 CST, end at 五 2016-12-16 17:26:25 CS
12月 16 17:26:25 debian NetworkManager[3130]: <info>   lease time 1800
12月 16 17:26:25 debian NetworkManager[3130]: <info>   nameserver '192.168.23
12月 16 17:26:25 debian NetworkManager[3130]: <info>   domain name 'localdoma
12月 16 17:26:25 debian NetworkManager[3130]: <info>   wins '192.168.235.2'
12月 16 17:26:25 debian dbus[3148]: [system] Activating via systemd: service
12月 16 17:26:25 debian dhclient[7760]: bound to 192.168.235.129 -- renewal i
12月 16 17:26:25 debian systemd[1]: Starting Network Manager Script Dispatche
-- Subject: Unit NetworkManager-dispatcher.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit NetworkManager-dispatcher.service has begun starting up.
12月 16 17:26:25 debian dbus[3148]: [system] Successfully activated service '
12月 16 17:26:25 debian systemd[1]: Started Network Manager Script Dispatcher
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit NetworkManager-dispatcher.service has finished starting up.
--
-- The start-up result is done.
lines 1-22...skipping...
-- Logs begin at 五 2016-12-16 09:12:33 CST, end at 五 2016-12-16 17:26:25 CST. --
12月 16 17:26:25 debian NetworkManager[3130]: <info>   lease time 1800
12月 16 17:26:25 debian NetworkManager[3130]: <info>   nameserver '192.168.235.2'
12月 16 17:26:25 debian NetworkManager[3130]: <info>   domain name 'localdomain'
12月 16 17:26:25 debian NetworkManager[3130]: <info>   wins '192.168.235.2'
12月 16 17:26:25 debian dbus[3148]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
12月 16 17:26:25 debian dhclient[7760]: bound to 192.168.235.129 -- renewal in 827 seconds.
12月 16 17:26:25 debian systemd[1]: Starting Network Manager Script Dispatcher Service...
-- Subject: Unit NetworkManager-dispatcher.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit NetworkManager-dispatcher.service has begun starting up.
12月 16 17:26:25 debian dbus[3148]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
12月 16 17:26:25 debian systemd[1]: Started Network Manager Script Dispatcher Service.
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit NetworkManager-dispatcher.service has finished starting up.
--
-- The start-up result is done.
12月 16 17:26:25 debian nm-dispatcher[62112]: Dispatching action 'dhcp4-change' for eth0



需要重装吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-12-16 19:11:36 | 显示全部楼层


升级php没有牵扯到mysql的东西

mysql无法启动需要mysql日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 19:28 , Processed in 0.025908 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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