qqhhww 发表于 2011-3-18 13:17:41

debian安装lnmp0.6:MySQL manager or server PID file could not be found! failed!

环境:Linux debian 2.6.26-2-xen-686 #1 SMP Wed Nov 4 23:23:33 UTC 2009 i686 GNU/Linux

错误:MySQL manager or server PID file could not be found! failed!
          Starting MySQL.Manager of pid-file quit without updating file. failed!

下的方面没有解决,没有这个#skip-federated选项
mysql5.1.30初次启动会出现Starting MySQL.Manager of pid-file quit without updating fi的报错,需要注释/etc/my.cnf里的skip-federated注释掉即#skip-federated就OK了!

lnmp.log见附件。

licess 发表于 2011-3-18 13:57:28

回复 1# 的帖子

发/usr/local/mysql/var/主机名.err 日志

qqhhww 发表于 2011-3-18 15:51:25

110318 11:42:57 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110318 11:42:57 Can't start server : Bind on unix socket: Permission denied
110318 11:42:57 Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
110318 11:42:57 Aborting

110318 11:42:57 /usr/local/mysql/libexec/mysqld: Shutdown complete

110318 11:42:57 mysqld_safe mysqld from pid file /usr/local/mysql/var/debian.pid ended
110318 11:42:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110318 11:42:59 Can't start server : Bind on unix socket: Permission denied
110318 11:42:59 Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
110318 11:42:59 Aborting

feixiangniao 发表于 2011-3-18 17:51:32

可以通过netstat -apo 查看运行的程序,因为已经有mysql实例运行,先kill掉,然后重新启动!

qqhhww 发表于 2011-3-18 20:37:46

貌似没有没有运行的

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address         Foreign Address         State       PID/Program name Timer
tcp      0      0 *:www                   *:*                     LISTEN      12975/nginx      off (0.00/0/0)
tcp      0      0 *:ssh                   *:*                     LISTEN      1040/sshd      off (0.00/0/0)
tcp      0      0 localhost.localdom:smtp *:*                     LISTEN      1306/exim4       off (0.00/0/0)
tcp      0    300 206.221.220.46:ssh      123.114.114.211:63224   ESTABLISHED 14590/0          on (0.95/0/0)
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      1040/sshd      off (0.00/0/0)
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix2      [ ACC ]   STREAM   LISTENING   214588   14570/php-cgi       /tmp/php-cgi.sock
unix2      [ ]         DGRAM                  1794   569/udevd         @/org/kernel/udev/udevd
unix3      [ ]         DGRAM                  213210   1026/rsyslogd       /dev/log
unix2      [ ]         DGRAM                  214752   14590/0
unix3      [ ]         STREAM   CONNECTED   214591   14570/php-cgi
unix3      [ ]         STREAM   CONNECTED   214590   14570/php-cgi
unix3      [ ]         STREAM   CONNECTED   214587   14570/php-cgi
unix3      [ ]         STREAM   CONNECTED   214586   14570/php-cgi
unix3      [ ]         STREAM   CONNECTED   214475   12975/nginx
unix3      [ ]         STREAM   CONNECTED   214474   12975/nginx
页: [1]
查看完整版本: debian安装lnmp0.6:MySQL manager or server PID file could not be found! failed!