Control Web Panel

WebPanel => CentOS Configuration => Topic started by: kreamhub1 on July 13, 2021, 10:56:58 AM

Title: Apache Failed to start
Post by: kreamhub1 on July 13, 2021, 10:56:58 AM
Iam having this error on my apache

When i installed cwp , i recenty added an account and its domain went to root folder accessible via usr/local/apache/httdocs . So i then installed wordpress on it.
after WordPress installation, apache then stops with this error

 httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2021-07-13 10:20:59 UTC; 29min ago
  Process: 3014 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 21855 (code=exited, status=1/FAILURE)

Jul 13 10:20:59 systemd[1]: Starting Web server Apache...
Jul 13 10:20:59 systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 13 10:20:59 systemd[1]: Failed to start Web server Apache.
Jul 13 10:20:59 systemd[1]: Unit httpd.service entered failed state.
Jul 13 10:20:59 systemd[1]: httpd.service failed.
Title: Re: Apache Failed to start
Post by: narin on July 14, 2021, 04:12:17 PM
Can you execute this command?

"service status httpd -l"

This will give a more detailed output.

The easiest is to select apache from the select web service section and configure it again.