Linux Network Services KodeKloud Engineer Task Success

Ticker

6/recent/ticker-posts

Linux Network Services KodeKloud Engineer Task Success

 

Please Note :-  Perform the below commands based on your question  server,  user name & other details might differ . So please read task carefully before executing. All the Best 👍


Question :  One of our app servers has an issue, as its Apache service is not reachable on port 5003 (which is our Apache port). The service itself could be down, the firewall could be at fault, or something else could be causing the issue.

    



Solution:  

1. At first  telnet from jump server to identify which App server have the issue


2.   Since In mine task I cant able to telnet stapp01 so login on  server to troubleshoot further

 ssh tony@stapp01

3. Switch to  root user : sudo su -

4. Run Below command to check the existing Apache httpd service status & start

     systemctl status httpd &&  systemctl start httpd

5. while start you may get below errors 


6.  check the systemctl status httpd to know the reason of service failed.
      In below snipping for  error( please check yours error)


7.  With the help of  netstat check which service is using your port and whats is PID. In below snipping ( refer Youtube video for more details)

  netstat -tulnp



8.  Kill the PID ( refer Youtube video for more details)


9.  Validate Apache httpd running  as per the task request


10.  Click on Finish & Confirm to complete the task successful

Happy Learning!!!!


Apart from this if you need more clarity,  I have made a  tutorial video on this , please go through and share your comments. Like and share the knowledge






















Post a Comment

0 Comments

Latest Posts

Firewall Configuration Level 1 Linux KodeKloud Engineer Task Success