hst

Well-Known Member
Feb 24, 2002
111
0
316
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!
 

Jedito

Well-Known Member
Aug 16, 2001
46
0
306
try /etc/rc.d/init.d/chkservd stop; /etc/rc.d/init.d/chkservd start
 

hst

Well-Known Member
Feb 24, 2002
111
0
316
Didn't work

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

itf

Well-Known Member
May 9, 2002
620
0
316
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)