LNMP1.4 执行magento的计划任务就502错误
刚装了LNMP1.4 执行magento(版本1.9.3.4)的计划任务(./cron.sh)就502错误,不管是手动执行还是写在计划任务里,都得到502错误,其他服务器lnmp1.2lnmp1.3都没问题,,请教军哥,在哪儿去排查错误呀。按置顶帖里,排查了也没用呢,看了下php-fpm日志文件显示:
WARNING: child 21803 exited on signal 7 (SIGBUS - core dumped) after 269.050733 seconds from start
NOTICE: child 22183 started
WARNING: child 21805 exited on signal 7 (SIGBUS - core dumped) after 269.019621 seconds from start
NOTICE: child 22185 started
WARNING: child 21807 exited on signal 7 (SIGBUS - core dumped) after 268.010069 seconds from start
NOTICE: child 22187 started
WARNING: child 21809 exited on signal 7 (SIGBUS - core dumped) after 268.061475 seconds from start
NOTICE: child 22189 started
NOTICE: Finishing ...
NOTICE: exiting, bye-bye!
NOTICE: fpm is running, pid 22473
NOTICE: ready to handle connections
WARNING: child 22485 exited on signal 7 (SIGBUS - core dumped) after 15.570270 seconds from start
NOTICE: child 22651 started
WARNING: child 22486 exited on signal 7 (SIGBUS - core dumped) after 15.947059 seconds from start
NOTICE: child 22655 started
WARNING: child 22487 exited on signal 11 (SIGSEGV - core dumped) after 15.965344 seconds from start
NOTICE: child 22656 started
WARNING: child 22488 exited on signal 11 (SIGSEGV - core dumped) after 17.285823 seconds from start
NOTICE: child 22658 started
WARNING: child 22489 exited on signal 7 (SIGBUS - core dumped) after 17.945599 seconds from start
NOTICE: child 22660 started
WARNING: child 22491 exited on signal 7 (SIGBUS - core dumped) after 19.904885 seconds from start
NOTICE: child 22662 started
WARNING: child 22493 exited on signal 7 (SIGBUS - core dumped) after 21.964978 seconds from start
NOTICE: child 22664 started
WARNING: child 22494 exited on signal 7 (SIGBUS - core dumped) after 23.903895 seconds from start
NOTICE: child 22666 started
WARNING: child 22496 exited on signal 7 (SIGBUS - core dumped) after 25.952591 seconds from start
NOTICE: child 22668 started
WARNING: child 22497 exited on signal 7 (SIGBUS - core dumped) after 27.943815 seconds from start
NOTICE: child 22670 started
[ 本帖最后由 stanley178 于 2017-9-6 11:32 编辑 ] PHP版本号:5.6.31,数据库是:MariaDB10.0( 安装选项倒数第二个)
好像找到原因了,是我装了缓存xcache,然后我把这个卸载了就没出现这个了。
[ 本帖最后由 stanley178 于 2017-9-6 11:47 编辑 ] 1.2、1.3和1.4编译参数、配置上基本上都没动,1.4上多了一层防跨目录的设置(常见问题有移除方法),其他都一样
看cron.php 里有lnmp这几个版本一直就默认禁用的shell_exec函数
可以尝试移除防跨目录设置、和上面的禁用函数后试试不行的话开php-fpm慢日志和错误日志看看
页:
[1]