lnmp MySQL PID file could not be found! 失败解决方法

Nginx program is reloding!
MySQL PID file could not be found!                         [失败]
Reload service php-fpm  done

Stoping LNMP...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL.Manager of pid-file quit without updati[失败]e.
MySQL program is stop

出现这个后,可以试试单独重启下mysql

1
/etc/init.d/mysql start

 

就可以了,当然reboot也可以解决。

@ 或者 top 下 看下 mysqld的 pid 编号

然后kill 标号.

接着重启下mysql...  ok

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[root@pr lnmp0.8-full]# ./lnmp reload
=========================================================================
Manager for LNMP V0.8  ,  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}
=========================================================================
Reload LNMP...
Reload Nginx configure...
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Nginx program is reloding!
MySQL PID file could not be found!                         [失败]
Reload service php-fpm  done
[root@pr lnmp0.8-full]#
[root@pr lnmp0.8-full]#
[root@pr lnmp0.8-full]# vi /etc/my.cnf
[root@pr lnmp0.8-full]# ./lnmp restart
=========================================================================
Manager for LNMP V0.8  ,  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...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
MySQL program is not runing!
Starting LNMP...
Nginx start successfully!
Starting php_fpm  done
PHP-FPM start successfully!
Starting MySQL.Manager of pid-file quit without updating fi[失败]
MySQL start successfully!
[root@pr lnmp0.8-full]# ./lnmp restart
=========================================================================
Manager for LNMP V0.8  ,  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...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL.Manager of pid-file quit without updati[失败]e.
MySQL program is stop
Starting LNMP...
Nginx start successfully!
Starting php_fpm  done
PHP-FPM start successfully!
MySQL is runing!

发表留言

人生在世,错别字在所难免,无需纠正。