httpd, lfd, httpd, cpsrvd, lfd failed and restarted multiple times. What now?

tnedator

Member
Oct 20, 2007
23
0
51
Cpanel installed on Centos 5.2 on a dedicated server.

This morning, I received multiple emails about services being restarted. About 20 minutes apart, with nothing that I coudl see going on with the server, I had multiple services fail and restart.

How do I trouble shoot this to see if there is a problem?

At 6:21 The following services failed:

httpd
lfd
httpd
cpsrvd
lfd

and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.

Failure Reason: Unable to connect to port 2086

Then, at 6:42 The following services failed:

cpsrvd
cpsrvd
httpd
lfd
httpd
lfd

and I received emailed messages similar to these (obviously the port and service name were didfferent in each email).
cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.
 

hzJayJ

Well-Known Member
Nov 14, 2008
76
1
58
Are you using any firewalls like APF/CSF? Please make sure that the firewall is not blocking general ports like 21,25,80,2086 etc

Also check /var/log/messages, /usr/local/cpanel/logs/error_log, /var/log/chkservd.log for the exact error.
 

onknown

Member
Feb 1, 2008
13
0
51
Ukraine
A restart was attempted automagically. Service Check Method: [check command]

Hi,

Every day I am receiving many messages such as:

nameserver failed @ Wed Dec 17 07:20:15 2008. A restart was attempted automagically.
Service Check Method: [check command]

imap failed @ Wed Dec 17 07:20:15 2008. A restart was attempted automagically.
Service Check Method: [check command]

for all services

Here is the part of /var/log/chkservd.log

---------------------------------------------------
Service Check Started
[2008-12-17 13:30:18 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
system: /scripts/restartsrv_ftpserver
]...exim [[check command:-][tcp connect:N/A]Restarting exim....
]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
Service Check Finished
Loading services .....named....mysql....exim....httpd....cpsrvd....ftpd....pop....imap..Done
Loading services .....named....mysql....exim....httpd....cpsrvd....ftpd....pop....imap..Done
Service Check Started
[2008-12-17 13:35:09 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
system: /scripts/restartsrv_ftpserver
]...exim [[check command:-][tcp connect:N/A]Restarting exim....
]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
Service Check Finished
Service Check Started
[2008-12-17 13:40:10 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
system: /scripts/restartsrv_ftpserver
]...exim [[check command:-][tcp connect:N/A]Restarting exim....
]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
Service Check Finished
Service Check Started
[2008-12-17 13:45:11 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
system: /scripts/restartsrv_ftpserver
]...exim [[check command:-][tcp connect:N/A]Restarting exim....
]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
Service Check Finished

---------------------------------------------------

Could someone help me?
 

onknown

Member
Feb 1, 2008
13
0
51
Ukraine
WHM -> "Service Status" shows:

exim (exim-4.69-6_cpanel_maildir) failed
ftpd failed
httpd (1.3.41 (Unix)) up
imap failed
mysql (5.0.51a-community) up
named (9.2.4) failed

But all these services are up on the server.
I have updated cpanel, but still whos incorrect status.

Please help:confused:!!!!!!!!!!!!!!