VPS侦探论坛

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

LNMP1.4 执行magento的计划任务就502错误

[复制链接]
发表于 2017-9-6 10:51:13 | 显示全部楼层 |阅读模式

刚装了LNMP1.4 执行magento(版本1.9.3.4)的计划任务(./cron.sh)就502错误,不管是手动执行还是写在计划任务里,都得到502错误,其他服务器lnmp1.2  lnmp1.3都没问题,,请教军哥,在哪儿去排查错误呀。
按置顶帖里,排查了也没用呢,看了下php-fpm日志文件显示:

[06-Sep-2017 11:29:58] WARNING: [pool www] child 21803 exited on signal 7 (SIGBUS - core dumped) after 269.050733 seconds from start
[06-Sep-2017 11:29:58] NOTICE: [pool www] child 22183 started
[06-Sep-2017 11:30:00] WARNING: [pool www] child 21805 exited on signal 7 (SIGBUS - core dumped) after 269.019621 seconds from start
[06-Sep-2017 11:30:00] NOTICE: [pool www] child 22185 started
[06-Sep-2017 11:30:01] WARNING: [pool www] child 21807 exited on signal 7 (SIGBUS - core dumped) after 268.010069 seconds from start
[06-Sep-2017 11:30:01] NOTICE: [pool www] child 22187 started
[06-Sep-2017 11:30:03] WARNING: [pool www] child 21809 exited on signal 7 (SIGBUS - core dumped) after 268.061475 seconds from start
[06-Sep-2017 11:30:03] NOTICE: [pool www] child 22189 started
[06-Sep-2017 11:30:06] NOTICE: Finishing ...
[06-Sep-2017 11:30:06] NOTICE: exiting, bye-bye!
[06-Sep-2017 11:30:09] NOTICE: fpm is running, pid 22473
[06-Sep-2017 11:30:09] NOTICE: ready to handle connections
[06-Sep-2017 11:30:24] WARNING: [pool www] child 22485 exited on signal 7 (SIGBUS - core dumped) after 15.570270 seconds from start
[06-Sep-2017 11:30:24] NOTICE: [pool www] child 22651 started
[06-Sep-2017 11:30:25] WARNING: [pool www] child 22486 exited on signal 7 (SIGBUS - core dumped) after 15.947059 seconds from start
[06-Sep-2017 11:30:25] NOTICE: [pool www] child 22655 started
[06-Sep-2017 11:30:25] WARNING: [pool www] child 22487 exited on signal 11 (SIGSEGV - core dumped) after 15.965344 seconds from start
[06-Sep-2017 11:30:25] NOTICE: [pool www] child 22656 started
[06-Sep-2017 11:30:26] WARNING: [pool www] child 22488 exited on signal 11 (SIGSEGV - core dumped) after 17.285823 seconds from start
[06-Sep-2017 11:30:26] NOTICE: [pool www] child 22658 started
[06-Sep-2017 11:30:27] WARNING: [pool www] child 22489 exited on signal 7 (SIGBUS - core dumped) after 17.945599 seconds from start
[06-Sep-2017 11:30:27] NOTICE: [pool www] child 22660 started
[06-Sep-2017 11:30:29] WARNING: [pool www] child 22491 exited on signal 7 (SIGBUS - core dumped) after 19.904885 seconds from start
[06-Sep-2017 11:30:29] NOTICE: [pool www] child 22662 started
[06-Sep-2017 11:30:31] WARNING: [pool www] child 22493 exited on signal 7 (SIGBUS - core dumped) after 21.964978 seconds from start
[06-Sep-2017 11:30:31] NOTICE: [pool www] child 22664 started
[06-Sep-2017 11:30:33] WARNING: [pool www] child 22494 exited on signal 7 (SIGBUS - core dumped) after 23.903895 seconds from start
[06-Sep-2017 11:30:33] NOTICE: [pool www] child 22666 started
[06-Sep-2017 11:30:35] WARNING: [pool www] child 22496 exited on signal 7 (SIGBUS - core dumped) after 25.952591 seconds from start
[06-Sep-2017 11:30:35] NOTICE: [pool www] child 22668 started
[06-Sep-2017 11:30:37] WARNING: [pool www] child 22497 exited on signal 7 (SIGBUS - core dumped) after 27.943815 seconds from start
[06-Sep-2017 11:30:37] NOTICE: [pool www] child 22670 started

[ 本帖最后由 stanley178 于 2017-9-6 11:32 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2017-9-6 10:59:07 | 显示全部楼层


PHP版本号:5.6.31,数据库是:MariaDB  10.0( 安装选项倒数第二个)
好像找到原因了,是我装了缓存xcache,然后我把这个卸载了就没出现这个了。

[ 本帖最后由 stanley178 于 2017-9-6 11:47 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2017-9-6 19:31:30 | 显示全部楼层

1.2、1.3和1.4编译参数、配置上基本上都没动,1.4上多了一层防跨目录的设置(常见问题有移除方法),其他都一样
看cron.php 里有lnmp这几个版本一直就默认禁用的shell_exec函数
可以尝试移除防跨目录设置、和上面的禁用函数后试试不行的话开php-fpm慢日志和错误日志看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-18 05:39 , Processed in 0.025931 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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