VPS侦探论坛

 找回密码
 注册
查看: 10116|回复: 21

军哥求救

[复制链接]
发表于 2012-4-18 11:24:08 | 显示全部楼层 |阅读模式

vps /root/lnmp restart后 提示


Starting php_fpm [eAccelerator] This build of "eAccelerator" was compiled for PH                             P version 5.2.17. Rebuild it for your PHP version (5.2.17p1) or download precomp                             iled binaries.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-18 11:47:53 | 显示全部楼层


你是不是刚打了PHP补丁。
有的版本的LNMP  eaccelerator可能要重新编译安装一下,
方法是先删除/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613文件夹中的eaccelerator.so
然后重新编译安装
wget -c http://soft.vpser.net/web/eaccel ... tor-0.9.5.3.tar.bz2
tar jxvf eaccelerator-0.9.5.3.tar.bz2
cd eaccelerator-0.9.5.3/
/usr/local/php/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config --with-eaccelerator-shared-memory
make
make install
cd ../
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-18 11:55:17 | 显示全部楼层

照你说的编译完了重启网站502了  求教
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-4-18 11:55:31 | 显示全部楼层



刚top看了下 pgp-cgi进程启动就defunct

[ 本帖最后由 9987679 于 2012-4-18 12:15 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-4-18 12:15:04 | 显示全部楼层

我上次重启系统了。
你试着重启系统。

另外是不是日志太大了。
看我这个贴子
https://bbs.vpser.net/thread-7363-1-1.html

[ 本帖最后由 wjhhxl 于 2012-4-18 12:16 编辑 ]

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

 楼主| 发表于 2012-4-18 12:16:43 | 显示全部楼层

重启了也是502  求教啊
发表于 2012-4-18 12:18:10 | 显示全部楼层

是不是日志太大了。
看我这个贴子
https://bbs.vpser.net/thread-7363-1-1.html
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-4-18 12:19:49 | 显示全部楼层

不是那个问题

php -v 也没出问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-4-18 12:21:57 | 显示全部楼层

/usr/local/php/logs
还是看一下这个路径下的LOG文件吧。

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

 楼主| 发表于 2012-4-18 12:28:46 | 显示全部楼层



Apr 18 12:21:44.762939 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
Apr 18 12:21:44.763090 [NOTICE] fpm_init(), line 52: fpm is running, pid 15959
Apr 18 12:21:44.764085 [NOTICE] fpm_children_make(), line 352: child 15960 (pool default) started
Apr 18 12:21:44.764723 [NOTICE] fpm_children_make(), line 352: child 15961 (pool default) started
Apr 18 12:21:44.765450 [NOTICE] fpm_children_make(), line 352: child 15962 (pool default) started
Apr 18 12:21:44.766137 [NOTICE] fpm_children_make(), line 352: child 15963 (pool default) started
Apr 18 12:21:44.766865 [NOTICE] fpm_children_make(), line 352: child 15964 (pool default) started
Apr 18 12:21:44.767597 [NOTICE] fpm_children_make(), line 352: child 15965 (pool default) started
Apr 18 12:21:44.768317 [NOTICE] fpm_children_make(), line 352: child 15966 (pool default) started
Apr 18 12:21:44.768990 [NOTICE] fpm_children_make(), line 352: child 15967 (pool default) started
Apr 18 12:21:44.769822 [NOTICE] fpm_children_make(), line 352: child 15968 (pool default) started
Apr 18 12:21:44.770606 [NOTICE] fpm_children_make(), line 352: child 15969 (pool default) started
Apr 18 12:21:44.771297 [NOTICE] fpm_children_make(), line 352: child 15970 (pool default) started
Apr 18 12:21:44.771899 [NOTICE] fpm_children_make(), line 352: child 15971 (pool default) started
Apr 18 12:21:44.772616 [NOTICE] fpm_children_make(), line 352: child 15972 (pool default) started
Apr 18 12:21:44.773340 [NOTICE] fpm_children_make(), line 352: child 15973 (pool default) started
Apr 18 12:21:44.774013 [NOTICE] fpm_children_make(), line 352: child 15974 (pool default) started
Apr 18 12:21:44.774665 [NOTICE] fpm_children_make(), line 352: child 15975 (pool default) started
Apr 18 12:21:44.775414 [NOTICE] fpm_children_make(), line 352: child 15976 (pool default) started
Apr 18 12:21:44.776176 [NOTICE] fpm_children_make(), line 352: child 15977 (pool default) started
Apr 18 12:21:44.776792 [NOTICE] fpm_children_make(), line 352: child 15978 (pool default) started
Apr 18 12:21:44.777492 [NOTICE] fpm_children_make(), line 352: child 15979 (pool default) started
Apr 18 12:21:44.778201 [NOTICE] fpm_children_make(), line 352: child 15980 (pool default) started
Apr 18 12:21:44.778823 [NOTICE] fpm_children_make(), line 352: child 15981 (pool default) started
Apr 18 12:21:44.779504 [NOTICE] fpm_children_make(), line 352: child 15982 (pool default) started
Apr 18 12:21:44.780192 [NOTICE] fpm_children_make(), line 352: child 15983 (pool default) started
Apr 18 12:21:44.780862 [NOTICE] fpm_children_make(), line 352: child 15984 (pool default) started
Apr 18 12:21:44.780905 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
Apr 18 12:21:44.867499 [WARNING] fpm_stdio_child_said(), line 167: child 15960 (pool default) said into stderr: "[15960] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/0595fl.com/index.php:15"
Apr 18 12:21:44.867548 [WARNING] fpm_stdio_child_said(), line 167: child 15960 (pool default) said into stderr: ""
Apr 18 12:21:44.877738 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:44.877793 [WARNING] fpm_children_bury(), line 215: child 15960 (pool default) exited on signal 11 SIGSEGV after 0.113746 seconds from start
Apr 18 12:21:44.878893 [NOTICE] fpm_children_make(), line 352: child 15985 (pool default) started
Apr 18 12:21:44.973114 [WARNING] fpm_stdio_child_said(), line 167: child 15961 (pool default) said into stderr: "[15961] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:44.973141 [WARNING] fpm_stdio_child_said(), line 167: child 15961 (pool default) said into stderr: ""
Apr 18 12:21:44.983595 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:44.983630 [WARNING] fpm_children_bury(), line 215: child 15961 (pool default) exited on signal 11 SIGSEGV after 0.218935 seconds from start
Apr 18 12:21:44.984724 [NOTICE] fpm_children_make(), line 352: child 15986 (pool default) started
Apr 18 12:21:45.234137 [WARNING] fpm_stdio_child_said(), line 167: child 15962 (pool default) said into stderr: "[15962] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.234161 [WARNING] fpm_stdio_child_said(), line 167: child 15962 (pool default) said into stderr: ""
Apr 18 12:21:45.244448 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.244484 [WARNING] fpm_children_bury(), line 215: child 15962 (pool default) exited on signal 11 SIGSEGV after 0.479053 seconds from start
Apr 18 12:21:45.245537 [NOTICE] fpm_children_make(), line 352: child 15987 (pool default) started
Apr 18 12:21:45.290120 [WARNING] fpm_stdio_child_said(), line 167: child 15963 (pool default) said into stderr: "[15963] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.290141 [WARNING] fpm_stdio_child_said(), line 167: child 15963 (pool default) said into stderr: ""
Apr 18 12:21:45.300363 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.300395 [WARNING] fpm_children_bury(), line 215: child 15963 (pool default) exited on signal 11 SIGSEGV after 0.534287 seconds from start
Apr 18 12:21:45.301491 [NOTICE] fpm_children_make(), line 352: child 15988 (pool default) started
Apr 18 12:21:45.510621 [WARNING] fpm_stdio_child_said(), line 167: child 15964 (pool default) said into stderr: "[15964] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/so0595.cn/index.php:15"
Apr 18 12:21:45.510643 [WARNING] fpm_stdio_child_said(), line 167: child 15964 (pool default) said into stderr: ""
Apr 18 12:21:45.517766 [WARNING] fpm_stdio_child_said(), line 167: child 15965 (pool default) said into stderr: "[15965] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/so0595.cn/index.php:15"
Apr 18 12:21:45.517784 [WARNING] fpm_stdio_child_said(), line 167: child 15965 (pool default) said into stderr: ""
Apr 18 12:21:45.518789 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.518828 [WARNING] fpm_children_bury(), line 215: child 15965 (pool default) exited on signal 11 SIGSEGV after 0.751256 seconds from start
Apr 18 12:21:45.519747 [NOTICE] fpm_children_make(), line 352: child 15989 (pool default) started
Apr 18 12:21:45.530125 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.530190 [WARNING] fpm_children_bury(), line 215: child 15964 (pool default) exited on signal 11 SIGSEGV after 0.763357 seconds from start
Apr 18 12:21:45.531200 [NOTICE] fpm_children_make(), line 352: child 15990 (pool default) started
Apr 18 12:21:45.814125 [WARNING] fpm_stdio_child_said(), line 167: child 15966 (pool default) said into stderr: "[15966] EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.814148 [WARNING] fpm_stdio_child_said(), line 167: child 15966 (pool default) said into stderr: ""
Apr 18 12:21:45.824552 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.824586 [WARNING] fpm_children_bury(), line 215: child 15966 (pool default) exited on signal 11 SIGSEGV after 1.056294 seconds from start
Apr 18 12:21:45.825615 [NOTICE] fpm_children_make(), line 352: child 15991 (pool default) started
 楼主| 发表于 2012-4-18 12:29:01 | 显示全部楼层

部分日记!!!!!!
发表于 2012-4-18 12:29:37 | 显示全部楼层

我是叫你看它有多大。既然只有这么点大。那就不是这个原因了。
我是删掉了这个文件后,重启LNMP成功的。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-18 12:34:11 | 显示全部楼层
难道要重装了。。郁闷啦
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-18 12:39:50 | 显示全部楼层
有可能是你的php.ini最下面有重复项!!
eAccelerator
你检查一下。
另外zend要放在最下面。

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

 楼主| 发表于 2012-4-18 12:41:00 | 显示全部楼层
检查了 发现是eAccelerator的问题 把eAccelerator在php.ini的配置删掉就正常了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 05:21 , Processed in 0.030051 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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