[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Job for apache2.service failed because the control process exited with error code.



How to fix this error?

systemctl status apache2.service
apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since Tue 2021-09-28 21:26:24 CST; 20s ago
     Docs: https://httpd.apache.org/docs/2.4/
  Process: 13245 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL

sudo service apache2 status
sep 28 21:26:24 systemd[1]: Starting The Apache HTTP Server...
sep 28 21:26:24 apachectl[13245]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
sep 28 21:26:24 apachectl[13245]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:
sep 28 21:26:24 apachectl[13245]: no listening sockets available, shutting down
sep 28 21:26:24 apachectl[13245]: AH00015: Unable to open logs
sep 28 21:26:24 apachectl[13245]: Action 'start' failed.
sep 28 21:26:24 apachectl[13245]: The Apache error log may have more information.
sep 28 21:26:24 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
sep 28 21:26:24 systemd[1]: apache2.service: Failed with result 'exit-code'.
sep 28 21:26:24 systemd[1]: Failed to start The Apache HTTP Server.

--
With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply to: