VPS侦探论坛

 找回密码
 注册
查看: 5612|回复: 3

# 2002 MySQL manager or server PID file could not be found!

[复制链接]
发表于 2013-11-29 11:16:41 | 显示全部楼层 |阅读模式

军哥,我现在使用的是恒创主机的国内VPS,装的是centos 5.9版本,装好LNMP后,访问phpmyadmin提示#2002,然后我允许"
/root/lnmp stop
"的时候提示:MySQL manager or server PID file could not be found!

我重装过几次了,但每次都是这个问题,#2002,安装过程中我没有启用MySQL InnoDB。

我在https://bbs.vpser.net/thread-2434-1-1.html这里看到有个解决方法是  “#2002...
SOCK的启动文件引起的,想要改成LOCALHOST就要对启动文件作修改。
”,没看懂...



在线等!谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-11-29 13:15:05 | 显示全部楼层


装完LNMP后显示这个

-----------------------------------------------------------------------------------------------
Nginx is runing!
php-fpm is runing!
MySQL is not running, but lock file (/var/lock/subsys/mysql[澶辫触]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:979                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      
[root@htuidc lnmp1.0-full]#
--------------------------------------------------------------------------------------------------

centos是XEN平台32位
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-11-29 17:18:31 | 显示全部楼层

重启LNMP的时候提示这个
[root@htuidc ~]# /root/lnmp restart
=========================================================================
Manager for LNMP V1.0  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Stopping nginx daemon: nginx.
Shutting down php_fpm  done
MySQL server PID file could not be found!                  [失败]
Starting LNMP...
Starting nginx daemon: nginx.
Starting php_fpm  done
Starting MySQL.The server quit without updating PID file (/[失败]cal/mysql/var/htuidc.bgp.ip.pid).
[root@htuidc ~]#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-11-29 19:56:55 | 显示全部楼层



按置顶帖要求提供mysql日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 05:23 , Processed in 0.026189 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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