1. [[email protected] home]# systemctl status nginx.service -l
  2. ‚óŹ nginx.service - nginx - high performance web server
  3. Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
  4. Active: failed (Result: exit-code) since Mon 2017-04-10 16:15:49 +07; 5min ago
  5. Docs: http://nginx.org/en/docs/
  6. Process: 1725 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
  7. Apr 10 16:15:49 pepe systemd[1]: Starting nginx - high performance web server...
  8. Apr 10 16:15:49 pepe nginx[1725]: nginx: [emerg] unknown directive "ls" in /etc/nginx/conf.d/stub_status.conf:15
  9. Apr 10 16:15:49 pepe nginx[1725]: nginx: configuration file /etc/nginx/nginx.conf test failed
  10. Apr 10 16:15:49 pepe systemd[1]: nginx.service: control process exited, code=exited status=1
  11. Apr 10 16:15:49 pepe systemd[1]: Failed to start nginx - high performance web server.
  12. Apr 10 16:15:49 pepe systemd[1]: Unit nginx.service entered failed state.
  13. Apr 10 16:15:49 pepe systemd[1]: nginx.service failed.
Comments powered by Disqus