2

这是我的困境(有点类似于这个资源,我尝试了一切,但没有任何帮助):

root@vuxomys01:~# service mysql status
mysql start/running

当我在寻找过程时:

root@vuxomys01:~# ps ax | grep mysql
2263 pts/0    S+     0:00 grep --color=auto mysql

我检查了日志并且/var/log/mysql/error.log是空的,但是里面有奇怪的东西/var/log/syslog......

root@vuxomys01:~# grep mysql /var/log/syslog
...
Dec  8 15:24:17 vuxomys01 init: mysql post-start process (1963) terminated with status 1
Dec  8 15:24:17 vuxomys01 kernel: [  460.182640] type=1505 audit(1323375857.580:28):  operation="profile_replace" pid=2098 name="/usr/sbin/mysqld"
Dec  8 15:24:17 vuxomys01 init: mysql main process (2102) terminated with status 1
Dec  8 15:24:17 vuxomys01 init: mysql main process ended, respawning
Dec  8 15:24:47 vuxomys01 init: mysql post-start process (2103) terminated with status 1

... 和/var/log/daemon.log

root@vuxomys01:~# grep mysql /var/log/daemon.log
...
Dec  8 15:24:17 vuxomys01 init: mysql post-start process (1963) terminated with status 1
Dec  8 15:24:17 vuxomys01 init: mysql main process (2102) terminated with status 1
Dec  8 15:24:17 vuxomys01 init: mysql main process ended, respawning
Dec  8 15:24:47 vuxomys01 init: mysql post-start process (2103) terminated with status 1

任何其他想法将不胜感激。提前致谢!

  • 尤金。
4

1 回答 1

1

我认为由于 MySQL 的不完整迁移,您在启动后脚本中有一个无限循环。检查这个线程,我确定解决方案在那里。

于 2011-12-08T21:28:35.967 回答