Hi ,
I have been asked to check apache in all 3 app servers,all should have running httpd.
While checking,i found in one app server it is inactive.
when i am trying to execute-
stsyemctl start httpd.service or service start httpd It is showing some error.
Starting service is not a solution as usually there is the reason why it is not started.
You have to check various things but most common are ports and permissions.
Install netstat tool (yum install -y net-tools) and check netstat -tulpen whats going on with ports.
@andrzej@akshayyw
Hi Andrzej, Akshay,
I am assigned this task.
I logged into stapp01, stapp02 and stapp03 servers.
I checked the status of Apache service on all three servers.
on app2:
so now, the service is up and running on all 3 servers. only this much was required as part of this task?
As part of this task, are we required to enable to httpd service to start on boot? It is not mentioned in the question.
They have not mentioned as such that the service should be persistent after boot, hence not required , did you submit the task or yet to do just confirming whether all steps are done right?
Hello, swaroopcs88
Yeah, Everything is fine along with enable the service as well for better security. In next boot up we don’t know what will happened.