2011-09-09 153 views
6

有以下错误:错误运行MySQL服务器

[email protected]:/$ service mysql start 
start: Rejected send message, 1 matched rules; 
     type="method_call", 
     sender=":1.41"  (uid=1000 pid=1827 comm="start mysql ") 
     interface="com.ubuntu.Upstart0_6.Job" 
     member="Start" error name="(unset)" 
     requested_reply=0 
     destination="com.ubuntu.Upstart" (uid=0 pid=1  comm="/sbin/init")) 
[email protected]:/$ 

如何解决这个问题呢?

更多信息:

[email protected]:/$ sudo service mysql start 
    start: Job is already running: mysql 
    [email protected]:/$ pidof mysql 
    [email protected]:/$ pidof mysqld 
    [email protected]:/$ htop 
    [email protected]:/$ sudo service mysql start 
    start: Job is already running: mysql 
+0

这里有很多可能的答案:http://ubuntuforums.org/showthread.php?t=1469902 - 但是我认为这不是一个编程问题,而是安装或系统问题,因为消息来自操作系统。 –

+0

sudo /etc/init.d/mysql start – santiagobasulto

+0

@santiagobasulto同样的错误 – AndrewShmig

回答

9

尝试运行服务以root身份(例如须藤)。