Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service apache2 restart
- Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
- root@raspi:/home/pi# systemctl status apache2.service
- ● apache2.service - LSB: Apache2 web server
- Loaded: loaded (/etc/init.d/apache2)
- Active: failed (Result: exit-code) since Sun 2016-05-08 23:12:49 UTC; 13s ago
- Process: 5227 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
- Process: 5252 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
- May 08 23:12:49 raspi apache2[5252]: Starting Apache httpd web server: apache2 failed!
- May 08 23:12:49 raspi apache2[5252]: The apache2 configtest failed. ... (warning).
- May 08 23:12:49 raspi apache2[5252]: Output of config test was:
- 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.
- May 08 23:12:49 raspi apache2[5252]: Action 'configtest' failed.
- May 08 23:12:49 raspi apache2[5252]: The Apache error log may have more information.
- May 08 23:12:49 raspi systemd[1]: apache2.service: control process exited, code=exited status=1
- May 08 23:12:49 raspi systemd[1]: Failed to start LSB: Apache2 web server.
- May 08 23:12:49 raspi systemd[1]: Unit apache2.service entered failed state.
- Hint: Some lines were ellipsized, use -l to show in full.
- root@raspi:/home/pi# journalctl -xn
- -- Logs begin at Sun 2016-05-08 17:13:10 UTC, end at Sun 2016-05-08 23:12:49 UTC. --
- May 08 23:12:49 raspi systemd[1]: Starting LSB: Apache2 web server...
- -- Subject: Unit apache2.service has begun with start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit apache2.service has begun starting up.
- May 08 23:12:49 raspi apache2[5252]: Starting Apache httpd web server: apache2 failed!
- May 08 23:12:49 raspi apache2[5252]: The apache2 configtest failed. ... (warning).
- May 08 23:12:49 raspi apache2[5252]: Output of config test was:
- 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
- May 08 23:12:49 raspi apache2[5252]: Action 'configtest' failed.
- May 08 23:12:49 raspi apache2[5252]: The Apache error log may have more information.
- May 08 23:12:49 raspi systemd[1]: apache2.service: control process exited, code=exited status=1
- May 08 23:12:49 raspi systemd[1]: Failed to start LSB: Apache2 web server.
- -- Subject: Unit apache2.service has failed
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit apache2.service has failed.
- --
- -- The result is failed.
- May 08 23:12:49 raspi systemd[1]: Unit apache2.service entered failed state.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement