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

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



Hey,

Have you stopped and disabled other webservers like nginx or lighttpd first?

Tuxifan

Am 29. September 2021 05:33:25 MESZ schrieb William Torrez Corea <willitc9888@gmail.com>:
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.

Attachment: signature.asc
Description: PGP signature


Reply to: