被坑惨了,照以往经验配置Debian10,重启机器以后就没管,后来发现Nginx和PHP竟然都没有启动,网站失联近6个小时。
重启模拟了一下错误过程,发现是vps性能太烂,导致服务没有被启动。(错误代码:15)

  1. ● nginx.service – A high performance web server and a reverse proxy server
  2.    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
  3.    Active: failed (Result: timeout) since Wed 2019-11-13 20:36:23 EST; 1min 5s ago
  4.      Docs: man:nginx(8)
  5.   Process: 309 ExECStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=killed, signal=TERM)
  6. Nov 13 20:34:52 c191109 systemd[1]: Starting A high performance web server and a reverse proxy server…
  7. Nov 13 20:36:23 c191109 systemd[1]: nginx.service: Start-pre operation timed out. Terminating.
  8. Nov 13 20:36:23 c191109 systemd[1]: nginx.service: Control process exited, code=killed, status=15/TERM
  9. Nov 13 20:36:23 c191109 systemd[1]: nginx.service: Failed with result ‘timeout’.
  10. Nov 13 20:36:23 c191109 systemd[1]: Failed to start A high performance web server and a reverse proxy server.

复制代码

解决方法:

  1. apt install haveged

复制代码

新疆网友:过几天等母鸡情绪稳定就可以了,
江西网友:不至于这么不堪的

01-22 04:11