军哥,最近安装了1.4老出问题,慕名奇妙就停止了。
# lnmp status+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
nginx is stopped.
php-fpm is stop!
ERROR! MySQL is not running :L 不会是我的计划出错了吧
0 */6 * * * lnmp stop && reboot
设置了6个小时先停止后重启,不会是没重启吧。:L Oct8 03:29:01 Myvps run-parts(/etc/cron.daily): finished logrotate
Oct8 03:29:01 Myvps anacron: Job `cron.daily' terminated
Oct8 03:29:01 Myvps anacron: Normal exit (1 job run)
Oct8 04:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 04:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 04:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
Oct8 05:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 05:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 05:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
Oct8 06:00:01 Myvps CROND: (root) CMD (lnmp stop && reboot)
Oct8 06:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 06:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 06:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
Oct8 07:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 07:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 07:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
Oct8 08:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 08:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 08:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
Oct8 09:01:01 Myvps CROND: (root) CMD (run-parts /etc/cron.hourly)
Oct8 09:01:01 Myvps run-parts(/etc/cron.hourly): starting 0anacron
Oct8 09:01:01 Myvps run-parts(/etc/cron.hourly): finished 0anacron
6点的时候执行,貌似没什么错误啊。难道是stop Lnmp的时候有错误提示导致后面没执行重启命令吗? 你可以看看系统uptime就能确定是否已经重启
页:
[1]