Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. $ sudo service apache2 restart
  2. Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
  3.  
  4. -- The start-up result is done.
  5. Mar 27 21:42:43 ip-172-31-43-253 systemd-logind[818]: New session 3919 of user ubuntu.
  6. -- Subject: A new session 3919 has been created for user ubuntu
  7. -- Defined-By: systemd
  8. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  9. -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
  10. --
  11. -- A new session with the ID 3919 has been created for the user ubuntu.
  12. --
  13. -- The leading process of the session is 7690.
  14. 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
  15. 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)
  16. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: Stopped LSB: Apache2 web server.
  17. -- Subject: Unit apache2.service has finished shutting down
  18. -- Defined-By: systemd
  19. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  20. --
  21. -- Unit apache2.service has finished shutting down.
  22. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: Starting LSB: Apache2 web server...
  23. -- Subject: Unit apache2.service has begun start-up
  24. -- Defined-By: systemd
  25. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  26. --
  27. -- Unit apache2.service has begun starting up.
  28. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: * Starting Apache httpd web server apache2
  29. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: *
  30. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: * The apache2 configtest failed.
  31. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: Output of config test was:
  32. 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:
  33. 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
  34. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: Action 'configtest' failed.
  35. Mar 27 21:43:02 ip-172-31-43-253 apache2[7730]: The Apache error log may have more information.
  36. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Control process exited, code=exited status=1
  37. Mar 27 21:43:02 ip-172-31-43-253 sudo[7724]: pam_unix(sudo:session): session closed for user root
  38. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: Failed to start LSB: Apache2 web server.
  39. -- Subject: Unit apache2.service has failed
  40. -- Defined-By: systemd
  41. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  42. --
  43. -- Unit apache2.service has failed.
  44. --
  45. -- The result is failed.
  46. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Unit entered failed state.
  47. Mar 27 21:43:02 ip-172-31-43-253 systemd[1]: apache2.service: Failed with result 'exit-code'.
  48.  
  49. ● apache2.service - LSB: Apache2 web server
  50. Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  51. Drop-In: /lib/systemd/system/apache2.service.d
  52. └─apache2-systemd.conf
  53. Active: failed (Result: exit-code) since Mon 2017-03-27 21:43:37 UTC; 30min ago
  54. Docs: man:systemd-sysv-generator(8)
  55. Process: 7159 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  56. Process: 7753 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
  57.  
  58. Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: * The apache2 configtest failed.
  59. Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: Output of config test was:
  60. 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:
  61. 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
  62. Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: Action 'configtest' failed.
  63. Mar 27 21:43:37 ip-172-31-43-253 apache2[7753]: The Apache error log may have more information.
  64. Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: apache2.service: Control process exited, code=exited status=1
  65. Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: Failed to start LSB: Apache2 web server.
  66. Mar 27 21:43:37 ip-172-31-43-253 systemd[1]: apache2.service: Unit entered failed state.
  67. Mar 27 21:43:37 ip-172-31-43-253 systemd[1]:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement