WHM shows service down but it's running

Gojko

Well-Known Member
Nov 24, 2014
112
7
68
Macedonia
cPanel Access Level
Root Administrator
Hello on WHM:2087/scripts/servup
show me that cpanellogd,cpdavd,cphulkd,mailman,p0f are down
but:
Code:
/scripts/restartsrv_mailman
Waiting for “mailman” to restart ………waiting for “mailman” to initialize ………finished.

Service Status
        mailman (/usr/bin/python /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl -s start) is running as mailman with PID 3592 (pidfile+/proc check method).

Startup Log
        Starting Mailman's master qrunner.

mailman restarted successfully.
Code:
/usr/local/cpanel/scripts/restartsrv_cpanellogd
Waiting for “cpanellogd” to restart ………waiting for “cpanellogd” to initialize ………finished.

Service Status
        cpanellogd (cpanellogd - master) is running as root with PID 3646 (pidfile+/proc check method).

Startup Log
        ==> cPanel Log Daemon version 26.0

cpanellogd restarted successfully.
also i see p0f in top list of proccess it's working...

what is problem? any help?
cPanel newest, CentOS 6 x64.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

Do you notice any recent output to /var/log/chkservd.log related to these services?

Thank you.
 

Gojko

Well-Known Member
Nov 24, 2014
112
7
68
Macedonia
cPanel Access Level
Root Administrator
Code:
Loading services .....apache_php_fpm....clamd....cpanel-dovecot-solr....cpanel_php_fpm....cpanellogd....cpdavd....cphulkd....cpsrvd....crond....dnsadmin....exim....ftpd....httpd....imap....ipaliases....lfd....lmtp....mailman....mysql....named....nscd....p0f....pop....queueprocd....rsyslogd....spamd....sshd..Done
[2018-03-30 13:24:36 +0200] Disk check .... /var/tmp (/var/tmp) [22.42%] ... /boot (/boot) [62.91%] ... / (/) [22.42%] ... {status:ok} ... Done
[2018-03-30 13:24:36 +0200] OOM check ....Done
[2018-03-30 13:24:36 +0200] Service check ....
queueprocd [[check command:+][socket connect:N/A]]...
sshd [[check command:+][socket connect:N/A]]...
spamd [[check command:+][socket connect:N/A]]...
rsyslogd [[check command:+][socket connect:N/A]]...
pop [[check command:+][socket connect:+]]...
p0f [[check command:+][socket connect:N/A]]...
nscd [[check command:+][socket connect:N/A]]...
named [[check command:+][socket connect:N/A]]...
mysql [[check command:+][socket connect:N/A]]...
mailman [[check command:+][socket connect:N/A]]...
lmtp [[check command:+][socket connect:+]]...
lfd [[check command:+][socket connect:N/A]]...
ipaliases [[check command:+][socket connect:N/A]]...
imap [[socket_service_auth:1][check command:+][socket connect:+]]...
httpd [too soon after restart to check]...
ftpd [[socket_service_auth:1][check command:+][socket connect:+]]...
exim [[check command:+][socket connect:+]]...
dnsadmin [[http_service_auth:1][check command:+][socket connect:+]]...
crond [[check command:+][socket connect:N/A]]...
cpsrvd [[http_service_auth:1][check command:N/A][socket connect:+]]...
cphulkd [[check command:+][socket connect:+]]...
cpgreylistd [[check command:N/A][socket connect:N/A]]...
cpdavd [[http_service_auth:1][check command:+][socket connect:+]]...
cpanellogd [[check command:+][socket connect:N/A]]...
cpanel_php_fpm [[check command:+][socket connect:N/A]]...
cpanel-dovecot-solr [[check command:+][socket connect:+]]...
clamd [[check command:+][socket connect:N/A]]...
apache_php_fpm [[check command:+][socket connect:N/A]]...Done
Service Check Finished
httpd still is down in whm but is active?
 

Gojko

Well-Known Member
Nov 24, 2014
112
7
68
Macedonia
cPanel Access Level
Root Administrator
After log time they showing up as running, so there is a time before check multiple time is service running or not. Do you know after which period of time they check again?
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
459
113
UK
cPanel Access Level
Root Administrator
By default, the chkservd driver checks each service every five minutes to determine the service's status.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
  • Like
Reactions: DjordjeB

planetjoin

Well-Known Member
Oct 14, 2003
72
4
158
cPanel Access Level
Root Administrator
Hello guys

I tried all things i found here in this thread and in many others and nothing works.
The WHM service status display all services DOWN but its are running.

I found this solution (but is a little bit old (2011 ;)

how2forge.info/cpanel-service-status-showing-down-while-it-is-up-and-running/

The problem was that ‘lo’ was not active, I have activated it by running:

# ifup lo

After ‘lo’ was activated I had to restart cPanel:

# service cpanel restart

All services were showing up after the restart, but imap was still shown as down. I quickly solved this by regenerating the ‘check script’ for imap:

# rm -rf /etc/chkserv.d/imap

Then go to Service Manager via cPanel, enable imap (if it is not) and press Save.

I´m using WHM/cpanel last version, with centOs 7X and Cloudlinux 7.5

Is it safe to try?

Thanks ;)
Fabian
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hi Fabian,

I don't recommend using those steps. If chkservd is not accurately detecting the status of a service, it's something we should investigate further. Can you open a support ticket so we can take a closer look at your system and see what's happening? You can post the ticket number here and we'll update this thread with the outcome.

Thank you.