Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Petersool on November 25, 2018, 03:54:00 PM

Title: I can not start Apache what should i do?
Post by: Petersool on November 25, 2018, 03:54:00 PM
I can not start Apache
what should i do?

Code: [Select]
[root@srv ~]# systemctl status httpd.service
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor prese : disabled)
   Active: failed (Result: exit-code) since Sun 2018-11-25 16:28:53 CET; 1min 39s ago
  Process: 10333 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Nov 25 16:28:53 domain.com systemd[1]: Starting Web server Apache...
Nov 25 16:28:53 srv.domain.com apachectl[10333]: AH00526: Syntax error on lin...:
Nov 25 16:28:53 srv.domain.com apachectl[10333]: SSLCertificateFile: file '/e...y
Nov 25 16:28:53 srv.domain.com systemd[1]: httpd.service: control process exi...1
Nov 25 16:28:53 srv.domain.com systemd[1]: Failed to start Web server Apache.
Nov 25 16:28:53 srv.domain.com systemd[1]: Unit httpd.service entered failed ....
Nov 25 16:28:53 srv.domain.com systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@srv ~]# apachectl configtest
-bash: apachectl: command not found
[root@srv ~]#
Title: Re: I can not start Apache what should i do?
Post by: Petersool on December 09, 2018, 03:08:19 AM
any help
Title: Re: I can not start Apache what should i do?
Post by: monkeyking on December 09, 2018, 05:44:55 AM
Try rebuild apache
Title: Re: I can not start Apache what should i do?
Post by: Petersool on December 09, 2018, 09:23:12 AM
Will it delete websites on server?
Title: Re: I can not start Apache what should i do?
Post by: Jamshed Datori on December 11, 2018, 02:02:17 AM
Will it delete websites on server?

Rebuilding the web servers will not affect your existing websites.