Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo service apache2 restart
- Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
- -- The start-up result is done.
- Mar 27 21:42:43 ip-172-31-43-253 systemd-logind[818]: New session 3919 of user ubuntu.
- -- Subject: A new session 3919 has been created for user ubuntu
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
- --
- -- A new session with the ID 3919 has been created for the user ubuntu.
- --
- -- The leading process of the session is 7690.
- Mar 27 21:43:02 ip-172-31-43-253 sudo[7724]: ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/sbin/service apache2 restart
- Mar 27 21:43:02 ip-172-31-43-253 sudo[7724]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
- Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: Stopped LSB: Apache2 web server.
- -- Subject: Unit apache2.service has finished shutting down
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit apache2.service has finished shutting down.
- Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: Starting LSB: Apache2 web server...
- -- Subject: Unit apache2.service has begun start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit apache2.service has begun starting up.
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: * Starting Apache httpd web server apache2
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: *
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: * The apache2 configtest failed.
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: Output of config test was:
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/noobpost.com.conf:
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: Action 'configtest' failed.
- Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: The Apache error log may have more information.
- Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Control process exited, code=exited status=1
- Mar 27 21:43:02 ip-172-31-43-253 sudo[7724]: pam_unix(sudo:session): session closed for user root
- Mar 27 21:43:02 ip-172-31-43-253 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.
- Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Unit entered failed state.
- Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Failed with result 'exit-code'.
- β apache2.service - LSB: Apache2 web server
- Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
- Drop-In: /lib/systemd/system/apache2.service.d
- ββapache2-systemd.conf
- Active: failed (Result: exit-code) since Mon 2017-03-27 21:43:37 UTC; 30min ago
- Docs: man:systemd-sysv-generator(8)
- Process: 7159 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
- Process: 7753 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: * The apache2 configtest failed.
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: Output of config test was:
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/noobpost.com.conf:
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: Action 'configtest' failed.
- Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: The Apache error log may have more information.
- Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: apache2.service: Control process exited, code=exited status=1
- Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: Failed to start LSB: Apache2 web server.
- Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: apache2.service: Unit entered failed state.
- Mar 27 21:43:37 ip-172-31-43-253 systemd[1]:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement