VPS侦探论坛

 找回密码
 注册
查看: 9359|回复: 4

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

[复制链接]
发表于 2011-3-18 13:17:41 | 显示全部楼层 |阅读模式

环境: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[FAILED]的报错,需要注释/etc/my.cnf里的skip-federated注释掉即#skip-federated就OK了!

lnmp.log见附件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-3-18 13:57:28 | 显示全部楼层

回复 1# 的帖子



发/usr/local/mysql/var/主机名.err 日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 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 [ERROR] Can't start server : Bind on unix socket: Permission denied
110318 11:42:57 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
110318 11:42:57 [ERROR] Aborting

110318 11:42:57 [Note] /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 [ERROR] Can't start server : Bind on unix socket: Permission denied
110318 11:42:59 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
110318 11:42:59 [ERROR] Aborting

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-3-18 17:51:32 | 显示全部楼层



可以通过netstat -apo 查看运行的程序,因为已经有mysql实例运行,先kill掉,然后重新启动!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 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
unix  2      [ ACC ]     STREAM     LISTENING     214588   14570/php-cgi       /tmp/php-cgi.sock
unix  2      [ ]         DGRAM                    1794     569/udevd           @/org/kernel/udev/udevd
unix  3      [ ]         DGRAM                    213210   1026/rsyslogd       /dev/log
unix  2      [ ]         DGRAM                    214752   14590/0
unix  3      [ ]         STREAM     CONNECTED     214591   14570/php-cgi
unix  3      [ ]         STREAM     CONNECTED     214590   14570/php-cgi
unix  3      [ ]         STREAM     CONNECTED     214587   14570/php-cgi
unix  3      [ ]         STREAM     CONNECTED     214586   14570/php-cgi
unix  3      [ ]         STREAM     CONNECTED     214475   12975/nginx
unix  3      [ ]         STREAM     CONNECTED     214474   12975/nginx

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 00:08 , Processed in 0.027893 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表