I can not start Apache what should i do?

Started by Petersool, November 25, 2018, 03:54:00 PM

Previous topic - Next topic

Petersool

I can not start Apache
what should i do?

[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 ~]#



Petersool


Jamshed Datori

Quote from: Petersool on December 09, 2018, 09:23:12 AM
Will it delete websites on server?

Rebuilding the web servers will not affect your existing websites.