What to do when apache crashed

Amit

Verified User
Joined
Mar 24, 2020
Messages
98
Location
India
Hi what to do when apache get crashed can I recover it using custom build?
 

anay

Verified User
Joined
Dec 7, 2005
Messages
77
First check error logs (/var/log/httpd/error_log ) for its reason.
You may also simply restart it from DA-->Admin Tools --> Service Monitor , look for httpd there, click "+" and then restart.

You can also restart from terminal (assuming you have centos 7) :
Code:
systemctl restart httpd
If it fails, see logs and then fix it as per error you see there.
 
Top