Advertisement
Guest User

Untitled

a guest
May 25th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. service apache2 reload
  2. root@shopserver:/etc/apache2/sites-available#
  3. root@shopserver:/etc/ssl/certs# nano /etc/ssl/certs/ssl-cert-snakeoil.pem
  4. root@shopserver:/etc/ssl/certs#
  5. root@shopserver:/etc/apache2/sites-available# service apache2 restart
  6. Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
  7. root@shopserver:/etc/apache2/sites-available# ^C
  8. root@shopserver:/etc/apache2/sites-available# service apache2 status
  9. ● apache2.service - LSB: Apache2 web server
  10. Loaded: loaded (/etc/init.d/apache2)
  11. Active: failed (Result: exit-code) since Sat 2018-05-26 05:53:29 CEST; 48s ago
  12. Docs: man:systemd-sysv-generator(8)
  13. Process: 1831 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  14. Process: 1856 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
  15.  
  16. May 26 05:53:29 shopserver apache2[1856]: * The apache2 configtest failed.
  17. May 26 05:53:29 shopserver apache2[1856]: Output of config test was:
  18. May 26 05:53:29 shopserver apache2[1856]: AH00526: Syntax error on line 6 of /etc/apache2/sites-enabled/maxihobby.cz.conf:
  19. May 26 05:53:29 shopserver apache2[1856]: ErrorLog takes one argument, The filename of the error log
  20. May 26 05:53:29 shopserver apache2[1856]: Action 'configtest' failed.
  21. May 26 05:53:29 shopserver apache2[1856]: The Apache error log may have more information.
  22. May 26 05:53:29 shopserver systemd[1]: apache2.service: Control process exited, code=exited status=1
  23. May 26 05:53:29 shopserver systemd[1]: Failed to start LSB: Apache2 web server.
  24. May 26 05:53:29 shopserver systemd[1]: apache2.service: Unit entered failed state.
  25. May 26 05:53:29 shopserver systemd[1]: apache2.service: Failed with result 'exit-code'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement