这是我的困境(某种程度上与this resource类似,我尝试了一切,但没有任何帮助):
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
任何其他想法都会非常感激。提前谢谢!