Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    36

    Urgent: Apache getting restarted automatically in 30 secs.

    Hello,

    We are facing apache problem on one of our server.
    It is getting restarted automatically within 30 seconds.
    Below are the logs.
    Please let us know the solution if any asap.
    =================================================
    Feb 14 04:57:00 server monit[5113]: 'apache' failed, cannot open a connection to INET[127.0.0.1:80] via TCP
    Feb 14 04:57:00 server monit[5113]: 'apache' trying to restart
    Feb 14 04:57:00 server monit[5113]: 'apache' stop: /etc/init.d/httpd
    Feb 14 04:57:01 server monit[5113]: 'apache' start: /etc/init.d/httpd
    ==================================================


    Thank you.

  2. #2
    Join Date
    Feb 2004
    Location
    UK
    Posts
    1,429
    Hi

    Have you made any firewall changes recently ?

    Thanks

  3. #3
    Join Date
    Dec 2007
    Posts
    36
    Quote Originally Posted by RelicHOST View Post
    Hi

    Have you made any firewall changes recently ?

    Thanks
    No we have not done any changes in server firewall.

  4. #4
    Join Date
    Feb 2003
    Location
    Canada
    Posts
    958
    Try connecting manually from a shell via telnet. Perhaps Apache is no longer listening on localhost.

    $ telnet localhost 80
    GET /

    monit is unable to connect to Apache for some reason. You could also attempt to disable the monit entry for Apache for the time being (but not permanently!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •