VPS侦探论坛

 找回密码
 注册
查看: 7363|回复: 2

军哥帮看看这是什么问题呢?

[复制链接]
发表于 2011-8-19 09:23:31 | 显示全部楼层 |阅读模式

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 67: kill: (1723) - No such process
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm /usr/local/php/sbin/php-fpm: line 69: kill: (3141) - No such process
................................... failed
Starting php_fpm . done
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-8-19 09:50:12 | 显示全部楼层


========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 56: kill: (1723) - No such process
Nginx program is reloding!
SUCCESS! Reloading service MySQL
Reload service php-fpm  done
[root@vps ~]#  /usr/local/nginx/sbin/nginx -t
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@vps ~]# top
top - 09:37:59 up 22:38,  1 user,  load average: 0.06, 0.05, 0.01
Tasks:  25 total,   2 running,  23 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    524800k total,    62260k used,   462540k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                           
    1 root      18   0  2156  660  572 S  0.0  0.1   0:16.73 init                              
1124 root      15  -4  2248  552  344 S  0.0  0.1   0:00.00 udevd                              
1491 root      15   0  1812  556  472 S  0.0  0.1   0:00.15 syslogd                           
1510 root      15   0  7192 1060  660 S  0.0  0.2   0:00.01 sshd                              
1523 root      18   0  2832  872  704 S  0.0  0.2   0:00.00 xinetd                             
1658 root      18   0  9300 1888  808 S  0.0  0.4   0:16.47 sendmail                           
1666 smmsp     15   0  8248 1508  640 S  0.0  0.3   0:00.00 sendmail                           
1675 root      15   0  4492 1112  568 S  0.0  0.2   0:00.44 crond                              
1697 xfs       18   0  3256  948  732 S  0.0  0.2   0:00.00 xfs                                
1705 root      18   0  5676  708  432 S  0.0  0.1   0:00.00 saslauthd                          
1706 root      18   0  5676  440  164 S  0.0  0.1   0:00.00 saslauthd                          
12223 root      15   0 10004 2780 2244 R  0.0  0.5   0:00.04 sshd                              
12225 root      16   0  3712 1492 1248 S  0.0  0.3   0:00.01 bash                              
13336 root      25   0  3660 1248 1072 S  0.0  0.2   0:00.01 mysqld_safe                        
13439 mysql     18   0 36644 5816 3092 S  0.0  1.1   0:00.00 mysqld                             
13579 root      18   0 22776 4164 1076 S  0.0  0.8   0:00.05 php-cgi                           
[root@vps ~]# /root/lnmp reload
=========================================================================
Manager for LNMP V0.5  ,  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...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 56: kill: (1723) - No such process
Nginx program is reloding!
SUCCESS! Reloading service MySQL
Reload service php-fpm  done
[root@vps ~]# /usr/local/nginx/sbin/nginx -t
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@vps ~]# /usr/local/nginx/sbin/nginx
[root@vps ~]# /usr/local/nginx/sbin/nginx
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
[root@vps ~]# /usr/local/php/sbin/php-fpm start
Starting php_fpm  done
[root@vps ~]#


重载几次都是这个问题啊,是不是一定要重启VPS呢?以前也经常出现过这个情况,进84的VPS后台重启才好的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-8-19 10:57:34 | 显示全部楼层

nginx已经运行,你在运行 /usr/local/nginx/sbin/nginx 肯定是提示80被占用
可以先看killall nginx在 /usr/local/nginx/sbin/nginx
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 03:37 , Processed in 0.025155 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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