VPS侦探论坛

 找回密码
 注册
查看: 3090|回复: 3

军哥,最近安装了1.4老出问题,慕名奇妙就停止了。

[复制链接]
发表于 2017-10-8 09:35:50 | 显示全部楼层 |阅读模式

  1. [root@Myvps ~]# lnmp status
  2. +-------------------------------------------+
  3. |    Manager for LNMP, Written by Licess    |
  4. +-------------------------------------------+
  5. |              https://lnmp.org             |
  6. +-------------------------------------------+
  7. nginx is stopped.
  8. php-fpm is stop!
  9. ERROR! MySQL is not running
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2017-10-8 10:01:59 | 显示全部楼层


不会是我的计划出错了吧
0 */6 * * * lnmp stop && reboot
设置了6个小时先停止后重启,不会是没重启吧。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-10-8 12:17:29 | 显示全部楼层

  1. Oct  8 03:29:01 Myvps run-parts(/etc/cron.daily)[9214]: finished logrotate
  2. Oct  8 03:29:01 Myvps anacron[7981]: Job `cron.daily' terminated
  3. Oct  8 03:29:01 Myvps anacron[7981]: Normal exit (1 job run)
  4. Oct  8 04:01:01 Myvps CROND[10625]: (root) CMD (run-parts /etc/cron.hourly)
  5. Oct  8 04:01:01 Myvps run-parts(/etc/cron.hourly)[10625]: starting 0anacron
  6. Oct  8 04:01:01 Myvps run-parts(/etc/cron.hourly)[10634]: finished 0anacron
  7. Oct  8 05:01:01 Myvps CROND[13246]: (root) CMD (run-parts /etc/cron.hourly)
  8. Oct  8 05:01:01 Myvps run-parts(/etc/cron.hourly)[13246]: starting 0anacron
  9. Oct  8 05:01:01 Myvps run-parts(/etc/cron.hourly)[13255]: finished 0anacron
  10. Oct  8 06:00:01 Myvps CROND[15830]: (root) CMD (lnmp stop && reboot)
  11. Oct  8 06:01:01 Myvps CROND[15898]: (root) CMD (run-parts /etc/cron.hourly)
  12. Oct  8 06:01:01 Myvps run-parts(/etc/cron.hourly)[15898]: starting 0anacron
  13. Oct  8 06:01:01 Myvps run-parts(/etc/cron.hourly)[15907]: finished 0anacron
  14. Oct  8 07:01:01 Myvps CROND[18503]: (root) CMD (run-parts /etc/cron.hourly)
  15. Oct  8 07:01:01 Myvps run-parts(/etc/cron.hourly)[18503]: starting 0anacron
  16. Oct  8 07:01:01 Myvps run-parts(/etc/cron.hourly)[18512]: finished 0anacron
  17. Oct  8 08:01:01 Myvps CROND[21124]: (root) CMD (run-parts /etc/cron.hourly)
  18. Oct  8 08:01:01 Myvps run-parts(/etc/cron.hourly)[21124]: starting 0anacron
  19. Oct  8 08:01:01 Myvps run-parts(/etc/cron.hourly)[21133]: finished 0anacron
  20. Oct  8 09:01:01 Myvps CROND[23729]: (root) CMD (run-parts /etc/cron.hourly)
  21. Oct  8 09:01:01 Myvps run-parts(/etc/cron.hourly)[23729]: starting 0anacron
  22. Oct  8 09:01:01 Myvps run-parts(/etc/cron.hourly)[23738]: finished 0anacron
复制代码

6点的时候执行,貌似没什么错误啊。难道是stop Lnmp的时候有错误提示导致后面没执行重启命令吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-10-8 16:36:24 | 显示全部楼层



你可以看看系统uptime就能确定是否已经重启
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 07:18 , Processed in 0.025835 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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