Advertisement
geotheory

apache2 https redirect issue

May 8th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. service apache2 restart
  2. Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
  3. root@raspi:/home/pi# systemctl status apache2.service
  4. ● apache2.service - LSB: Apache2 web server
  5. Loaded: loaded (/etc/init.d/apache2)
  6. Active: failed (Result: exit-code) since Sun 2016-05-08 23:12:49 UTC; 13s ago
  7. Process: 5227 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  8. Process: 5252 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
  9. May 08 23:12:49 raspi apache2[5252]: Starting Apache httpd web server: apache2 failed!
  10. May 08 23:12:49 raspi apache2[5252]: The apache2 configtest failed. ... (warning).
  11. May 08 23:12:49 raspi apache2[5252]: Output of config test was:
  12. May 08 23:12:49 raspi apache2[5252]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/sites-enabled/owncloud.con... not closed.
  13. May 08 23:12:49 raspi apache2[5252]: Action 'configtest' failed.
  14. May 08 23:12:49 raspi apache2[5252]: The Apache error log may have more information.
  15. May 08 23:12:49 raspi systemd[1]: apache2.service: control process exited, code=exited status=1
  16. May 08 23:12:49 raspi systemd[1]: Failed to start LSB: Apache2 web server.
  17. May 08 23:12:49 raspi systemd[1]: Unit apache2.service entered failed state.
  18. Hint: Some lines were ellipsized, use -l to show in full.
  19. root@raspi:/home/pi# journalctl -xn
  20. -- Logs begin at Sun 2016-05-08 17:13:10 UTC, end at Sun 2016-05-08 23:12:49 UTC. --
  21. May 08 23:12:49 raspi systemd[1]: Starting LSB: Apache2 web server...
  22. -- Subject: Unit apache2.service has begun with start-up
  23. -- Defined-By: systemd
  24. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  25. --
  26. -- Unit apache2.service has begun starting up.
  27. May 08 23:12:49 raspi apache2[5252]: Starting Apache httpd web server: apache2 failed!
  28. May 08 23:12:49 raspi apache2[5252]: The apache2 configtest failed. ... (warning).
  29. May 08 23:12:49 raspi apache2[5252]: Output of config test was:
  30. May 08 23:12:49 raspi apache2[5252]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/sites-enabled/owncloud.conf: /etc/apache2
  31. May 08 23:12:49 raspi apache2[5252]: Action 'configtest' failed.
  32. May 08 23:12:49 raspi apache2[5252]: The Apache error log may have more information.
  33. May 08 23:12:49 raspi systemd[1]: apache2.service: control process exited, code=exited status=1
  34. May 08 23:12:49 raspi systemd[1]: Failed to start LSB: Apache2 web server.
  35. -- Subject: Unit apache2.service has failed
  36. -- Defined-By: systemd
  37. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  38. --
  39. -- Unit apache2.service has failed.
  40. --
  41. -- The result is failed.
  42. May 08 23:12:49 raspi systemd[1]: Unit apache2.service entered failed state.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement