The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache failed ICON

Discussion in 'EasyApache' started by hst, May 16, 2002.

  1. hst

    hst Well-Known Member

    Joined:
    Feb 24, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    When I check the services status in WHM is shows apache is failed but its working fine and all sites are up and running great. Is there a way to correct this.

    Thanks!
     
  2. Jedito

    Jedito Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    try /etc/rc.d/init.d/chkservd stop; /etc/rc.d/init.d/chkservd start
     
  3. hst

    hst Well-Known Member

    Joined:
    Feb 24, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Didn't work

    Thanks for the advise but it still is showing up failed :(
     
  4. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    incorrect settings

    1) Look into your /etc/hosts and /etc/resolv.conf first make sure they have correct info

    Short-Host-Name is the return of &shorthostname& command when you enter it through SSH shell access

    /etc/hosts :

    # Do not remove the following line, or various programs
    # That requires network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    Server-IP domain.com Short-Host-Name


    /etc/resolv.conf :

    domain domain.com
    search domain.com
    nameserver IP-of-ns1.domain.com
    nameserver IP-of-ns2.domain.com
    # you can have additional nameservers here


    2) In WHM -& server Setup -& Initial Name Server

    3) Restart the Apache

    4) Above procedure should solve the problem but If you still see the failed Icon , Graceful Reboot (Wait for necessary time until all of your services be up and running)
     
Loading...

Share This Page