- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2017-9-9
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-9-10 00:47:11
|
显示全部楼层
pi@raspberrypi:~/lnmp1.4 $ systemctl status mysql.service
● mysql.service - LSB: start and stop MySQL
Loaded: loaded (/etc/init.d/mysql; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2017-09-10 00:38:00 CST; 51s ago
Docs: man:systemd-sysv-generator(8)
Process: 3987 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
CGroup: /system.slice/mysql.service
├─ 572 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/raspberrypi.pid
└─1068 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/var/raspberrypi.err --open-files-limi
9月 10 00:37:57 raspberrypi systemd[1]: Starting LSB: start and stop MySQL...
9月 10 00:37:57 raspberrypi mysql[3987]: Starting MySQL
9月 10 00:38:00 raspberrypi mysql[3987]: ...The server quit without updating PID file (/usr/local/mysql/var/raspberrypi.pid). ... failed!
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Control process exited, code=exited status=1
9月 10 00:38:00 raspberrypi systemd[1]: Failed to start LSB: start and stop MySQL.
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Unit entered failed state.
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Failed with result 'exit-code'.
pi@raspberrypi:~/lnmp1.4 $ journalctl -xe
-- mysql.service 单元已开始启动。
9月 10 00:31:29 raspberrypi mysql[3280]: Starting MySQL
9月 10 00:31:33 raspberrypi mysql[3280]: ....The server quit without updating PID file (/usr/local/mysql/var/raspberrypi.pid). ... failed!
9月 10 00:31:33 raspberrypi systemd[1]: mysql.service: Control process exited, code=exited status=1
9月 10 00:31:33 raspberrypi systemd[1]: Failed to start LSB: start and stop MySQL.
-- Subject: mysql.service 单元已失败
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- mysql.service 单元已失败。
--
-- 结果为“failed”。
9月 10 00:31:33 raspberrypi systemd[1]: mysql.service: Unit entered failed state.
9月 10 00:31:33 raspberrypi systemd[1]: mysql.service: Failed with result 'exit-code'.
9月 10 00:31:33 raspberrypi systemd[1]: Reloading.
9月 10 00:31:33 raspberrypi systemd[1]: apt-daily.timer: Adding 2h 12min 25.198399s random time.
9月 10 00:31:33 raspberrypi systemd[1]: apt-daily-upgrade.timer: Adding 33min 12.206294s random time.
9月 10 00:32:12 raspberrypi su[1386]: pam_unix(su:session): session closed for user root
9月 10 00:37:56 raspberrypi sudo[3928]: pi : TTY=pts/0 ; PWD=/home/pi/lnmp1.4 ; USER=root ; COMMAND=/bin/lnmp restart
9月 10 00:37:56 raspberrypi sudo[3928]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
9月 10 00:37:57 raspberrypi systemd[1]: Starting LSB: start and stop MySQL...
-- Subject: mysql.service 单元已开始启动
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- mysql.service 单元已开始启动。
9月 10 00:37:57 raspberrypi mysql[3987]: Starting MySQL
9月 10 00:38:00 raspberrypi mysql[3987]: ...The server quit without updating PID file (/usr/local/mysql/var/raspberrypi.pid). ... failed!
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Control process exited, code=exited status=1
9月 10 00:38:00 raspberrypi systemd[1]: Failed to start LSB: start and stop MySQL.
-- Subject: mysql.service 单元已失败
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- mysql.service 单元已失败。
--
-- 结果为“failed”。
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Unit entered failed state.
9月 10 00:38:00 raspberrypi systemd[1]: mysql.service: Failed with result 'exit-code'.
9月 10 00:38:35 raspberrypi sudo[3928]: pam_unix(sudo:session): session closed for user root
lines 1886-1925/1925 (END) |
|