全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1362|回复: 4
打印 上一主题 下一主题

大哥们,救急啊,php怎么也启动不了。

[复制链接]
跳转到指定楼层
1#
发表于 2012-4-18 08:13:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
今早发现动态页面都502了,静态正常。
重启LNMP ,发现php-cgi不存在,怎么也重启不了,
包括重启系统也无法开启php-cgi
LNMP是0.5的版本,上个月升级了那个补丁,php版本是5.2.17p1
我当时升完级后,重启系统是可以启动的。

为什么昨晚挂了后,就再也重启不了啦,
系统是centos 32位

我把一些命令结果给你看


[root@centos ~]#  ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 4096
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 4096
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


[root@centos ~]# /root/lnmp restart
=========================================================================
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
Nginx program is reloding!
Shutting down MySQL SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm /usr/local/php/sbin/php-fpm: line 69: kill: (18535) - 没有那个进程
................................... failed
Starting php_fpm  done
推荐
发表于 2012-4-18 08:38:20 | 只看该作者
你升级没装好吧。
杯具了。
建议重装下lnmp
数据库、host配置文件
移动下位置装完再放回去就可以了。

很方便的。
推荐
发表于 2012-4-18 08:17:51 来自手机 | 只看该作者
fpm启动失败啊,检查php配置文件。
2#
 楼主| 发表于 2012-4-18 08:14:33 | 只看该作者
本帖最后由 wjhhxl 于 2012-4-18 08:16 编辑

[root@centos ~]# /root/lnmp kill
=========================================================================
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}
=========================================================================
mysql: no process killed
php-cgi: no process killed


[root@centos ~]# /root/lnmp start
=========================================================================
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}
=========================================================================
Starting LNMP...
Nginx is successful start!
Starting php_fpm  done
Starting MySQL SUCCESS!
4#
 楼主| 发表于 2012-4-18 08:21:26 | 只看该作者
[root@centos ~]# /etc/init.d/php-fpm start
-bash: /etc/init.d/php-fpm: 没有那个文件或目录
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-4-12 22:21 , Processed in 0.140253 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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