Junland 发表于 2016-12-16 17:44:52

php降版本后mysql启动失败

我把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: Starting MySQL
12月 16 17:10:28 debian mysql: .The server quit without updating ...!
12月 16 17:10:28 debian systemd: mysql.service: control process exite...1
12月 16 17:10:28 debian systemd: Failed to start LSB: start and stop ....
12月 16 17:10:28 debian systemd: 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: <info>   lease time 1800
12月 16 17:26:25 debian NetworkManager: <info>   nameserver '192.168.23
12月 16 17:26:25 debian NetworkManager: <info>   domain name 'localdoma
12月 16 17:26:25 debian NetworkManager: <info>   wins '192.168.235.2'
12月 16 17:26:25 debian dbus: Activating via systemd: service
12月 16 17:26:25 debian dhclient: bound to 192.168.235.129 -- renewal i
12月 16 17:26:25 debian systemd: 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: Successfully activated service '
12月 16 17:26:25 debian systemd: 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: <info>   lease time 1800
12月 16 17:26:25 debian NetworkManager: <info>   nameserver '192.168.235.2'
12月 16 17:26:25 debian NetworkManager: <info>   domain name 'localdomain'
12月 16 17:26:25 debian NetworkManager: <info>   wins '192.168.235.2'
12月 16 17:26:25 debian dbus: Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
12月 16 17:26:25 debian dhclient: bound to 192.168.235.129 -- renewal in 827 seconds.
12月 16 17:26:25 debian systemd: 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: Successfully activated service 'org.freedesktop.nm_dispatcher'
12月 16 17:26:25 debian systemd: 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: Dispatching action 'dhcp4-change' for eth0



需要重装吗?

licess 发表于 2016-12-16 19:11:36

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

mysql无法启动需要mysql日志
页: [1]
查看完整版本: php降版本后mysql启动失败