9987679 发表于 2012-4-18 11:24:08

军哥求救

vps /root/lnmp restart后 提示


Starting php_fpm 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.

wjhhxl 发表于 2012-4-18 11:47:53

你是不是刚打了PHP补丁。
有的版本的LNMPeaccelerator可能要重新编译安装一下,
方法是先删除/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613文件夹中的eaccelerator.so
然后重新编译安装
wget -c http://soft.vpser.net/web/eaccelerator/eaccelerator-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 ../

9987679 发表于 2012-4-18 11:55:17

照你说的编译完了重启网站502了求教

9987679 发表于 2012-4-18 11:55:31

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

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

wjhhxl 发表于 2012-4-18 12:15:04

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

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

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

9987679 发表于 2012-4-18 12:16:43

重启了也是502求教啊

wjhhxl 发表于 2012-4-18 12:18:10

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

9987679 发表于 2012-4-18 12:19:49

不是那个问题

php -v 也没出问题

wjhhxl 发表于 2012-4-18 12:21:57

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

9987679 发表于 2012-4-18 12:28:46

Apr 18 12:21:44.762939 fpm_event_init_main(), line 88: libevent: using epoll
Apr 18 12:21:44.763090 fpm_init(), line 52: fpm is running, pid 15959
Apr 18 12:21:44.764085 fpm_children_make(), line 352: child 15960 (pool default) started
Apr 18 12:21:44.764723 fpm_children_make(), line 352: child 15961 (pool default) started
Apr 18 12:21:44.765450 fpm_children_make(), line 352: child 15962 (pool default) started
Apr 18 12:21:44.766137 fpm_children_make(), line 352: child 15963 (pool default) started
Apr 18 12:21:44.766865 fpm_children_make(), line 352: child 15964 (pool default) started
Apr 18 12:21:44.767597 fpm_children_make(), line 352: child 15965 (pool default) started
Apr 18 12:21:44.768317 fpm_children_make(), line 352: child 15966 (pool default) started
Apr 18 12:21:44.768990 fpm_children_make(), line 352: child 15967 (pool default) started
Apr 18 12:21:44.769822 fpm_children_make(), line 352: child 15968 (pool default) started
Apr 18 12:21:44.770606 fpm_children_make(), line 352: child 15969 (pool default) started
Apr 18 12:21:44.771297 fpm_children_make(), line 352: child 15970 (pool default) started
Apr 18 12:21:44.771899 fpm_children_make(), line 352: child 15971 (pool default) started
Apr 18 12:21:44.772616 fpm_children_make(), line 352: child 15972 (pool default) started
Apr 18 12:21:44.773340 fpm_children_make(), line 352: child 15973 (pool default) started
Apr 18 12:21:44.774013 fpm_children_make(), line 352: child 15974 (pool default) started
Apr 18 12:21:44.774665 fpm_children_make(), line 352: child 15975 (pool default) started
Apr 18 12:21:44.775414 fpm_children_make(), line 352: child 15976 (pool default) started
Apr 18 12:21:44.776176 fpm_children_make(), line 352: child 15977 (pool default) started
Apr 18 12:21:44.776792 fpm_children_make(), line 352: child 15978 (pool default) started
Apr 18 12:21:44.777492 fpm_children_make(), line 352: child 15979 (pool default) started
Apr 18 12:21:44.778201 fpm_children_make(), line 352: child 15980 (pool default) started
Apr 18 12:21:44.778823 fpm_children_make(), line 352: child 15981 (pool default) started
Apr 18 12:21:44.779504 fpm_children_make(), line 352: child 15982 (pool default) started
Apr 18 12:21:44.780192 fpm_children_make(), line 352: child 15983 (pool default) started
Apr 18 12:21:44.780862 fpm_children_make(), line 352: child 15984 (pool default) started
Apr 18 12:21:44.780905 fpm_event_loop(), line 107: libevent: entering main loop
Apr 18 12:21:44.867499 fpm_stdio_child_said(), line 167: child 15960 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/0595fl.com/index.php:15"
Apr 18 12:21:44.867548 fpm_stdio_child_said(), line 167: child 15960 (pool default) said into stderr: ""
Apr 18 12:21:44.877738 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:44.877793 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 fpm_children_make(), line 352: child 15985 (pool default) started
Apr 18 12:21:44.973114 fpm_stdio_child_said(), line 167: child 15961 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:44.973141 fpm_stdio_child_said(), line 167: child 15961 (pool default) said into stderr: ""
Apr 18 12:21:44.983595 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:44.983630 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 fpm_children_make(), line 352: child 15986 (pool default) started
Apr 18 12:21:45.234137 fpm_stdio_child_said(), line 167: child 15962 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.234161 fpm_stdio_child_said(), line 167: child 15962 (pool default) said into stderr: ""
Apr 18 12:21:45.244448 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.244484 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 fpm_children_make(), line 352: child 15987 (pool default) started
Apr 18 12:21:45.290120 fpm_stdio_child_said(), line 167: child 15963 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.290141 fpm_stdio_child_said(), line 167: child 15963 (pool default) said into stderr: ""
Apr 18 12:21:45.300363 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.300395 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 fpm_children_make(), line 352: child 15988 (pool default) started
Apr 18 12:21:45.510621 fpm_stdio_child_said(), line 167: child 15964 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/so0595.cn/index.php:15"
Apr 18 12:21:45.510643 fpm_stdio_child_said(), line 167: child 15964 (pool default) said into stderr: ""
Apr 18 12:21:45.517766 fpm_stdio_child_said(), line 167: child 15965 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/so0595.cn/index.php:15"
Apr 18 12:21:45.517784 fpm_stdio_child_said(), line 167: child 15965 (pool default) said into stderr: ""
Apr 18 12:21:45.518789 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.518828 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 fpm_children_make(), line 352: child 15989 (pool default) started
Apr 18 12:21:45.530125 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.530190 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 fpm_children_make(), line 352: child 15990 (pool default) started
Apr 18 12:21:45.814125 fpm_stdio_child_said(), line 167: child 15966 (pool default) said into stderr: " EACCELERATOR: PHP crashed on opline 22 of version_compare() at /home/wwwroot/63970.com/index.php:15"
Apr 18 12:21:45.814148 fpm_stdio_child_said(), line 167: child 15966 (pool default) said into stderr: ""
Apr 18 12:21:45.824552 fpm_got_signal(), line 48: received SIGCHLD
Apr 18 12:21:45.824586 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 fpm_children_make(), line 352: child 15991 (pool default) started

9987679 发表于 2012-4-18 12:29:01

部分日记!!!!!!

wjhhxl 发表于 2012-4-18 12:29:37

我是叫你看它有多大。既然只有这么点大。那就不是这个原因了。
我是删掉了这个文件后,重启LNMP成功的。

9987679 发表于 2012-4-18 12:34:11

难道要重装了。。郁闷啦

wjhhxl 发表于 2012-4-18 12:39:50

有可能是你的php.ini最下面有重复项!!
eAccelerator
你检查一下。
另外zend要放在最下面。

9987679 发表于 2012-4-18 12:41:00

检查了 发现是eAccelerator的问题 把eAccelerator在php.ini的配置删掉就正常了
页: [1] 2
查看完整版本: 军哥求救