即使重启后,Mysql也无法启动

时间:2017-04-17 00:17:02

标签: mysql linux

你好我的mysql在我的服务器上没有更多的工作,所以我希望很快解决它。

当我输入:     服务mysql启动 我有以下消息:

Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.

所以我看第一个并且:

mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled)
   Active: activating (start-pre) since Mon 2017-04-17 00:08:42 UTC; 1s ago
  Process: 24182 ExecStart=/usr/sbin/mysqld --daemonize --pid-
file=/var/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
  Control: 24200 (mysql-systemd-s)
   CGroup: /system.slice/mysql.service
           └─control
             └─24200 /bin/bash /usr/share/mysql/mysql-systemd-start pre



Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: mysql.service holdoff time ...
Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: Stopping MySQL Community Se...
Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: Starting MySQL Community Se...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: ls: cannot ...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...

提示:有些行是椭圆形的,使用-l来完整显示。

for:

journalctl -xn

我有:

-- Logs begin at Sun 2017-04-16 23:42:18 UTC, end at Mon 2017-04-17 00:12:52 UTC
Apr 17 00:12:51 darphus.xen.prgmr.com systemd[1]: Starting MySQL Community Serve
-- Subject: Unit mysql.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has begun starting up.
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: ls: cannot acc
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/pickup[804]: warning: 1E20F25E72: 
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/pickup[804]: 1E20F25E72: uid=0 fro
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/proxymap[809]: warning: mysql:/etc
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/cleanup[27709]: warning: proxy:mys
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/cleanup[27709]: warning: 1E20F25E7

我用autoclean和autoremove清除了mysql-server mysql-client和mysql-common。我删除了/ var / lib / mysql 重新安装后,我仍然遇到与消息顶部相同的问题。

0 个答案:

没有答案
相关问题