A lot of HANG: chkservd mails and cpanel not biding ports 2086, 2087, 2083, 2082, 2095, 2096

Jun 10, 2005
18
1
153
Hello all,

Today i noticed one of our servers sending a lot of HANG: chkservd mails and noticed that the cpanel service running however stopped to bind ports 2086, 2087, 2083, 2082, 2095, 2096, then no one can connect cpanel, whm or webmail

The server load is good all the time, sites working normally, just cpanel services not available.

We use in this server cloudlinux + cagefs

saw some old threads in the forum suggesting disabling cagefs, disabling spam, but not helped.

i did cpanel restart but the service still not biding ports.

tailwatchlog, messages and chkserdlog not loged any error or relevant message to help in troubleshooting.

Do someone have any idea of how troubleshoot it?

Regards.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

To clarify, is cpsrvd listening on the standard ports? You can check with this command:

Code:
netstat -lnp | grep :208
If not, do you notice any error messages in /usr/local/cpanel/logs/error_log when restarting cPanel?

Thank you.
 
Jun 10, 2005
18
1
153
Hello Michael,

i ran the command and no ports listening is showed.

On this log i found a lot of lines with

[2014-05-09 12:05:37 -0300] info [cpanellogd] Unable to load summary files: /var/cpanel/bandwidth/username....
 
Jun 10, 2005
18
1
153
i think these process are strange

oot 991968 0.0 0.0 23208 1956 ? S 11:47 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2095 2087 2086 2083 2082 2096 /usr/local/c
root 991969 0.0 0.0 8428 800 ? S 11:47 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 991970 0.0 0.0 8428 268 ? D 11:47 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 994007 0.0 0.0 108416 2024 ? Ds 11:52 0:00 -bash
root 995694 0.0 0.0 23208 1952 ? S 11:56 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2096 2086 2082 2087 2083 2095 /usr/local/c
root 995695 0.0 0.0 8428 796 ? S 11:56 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 995696 0.0 0.0 8428 264 ? D 11:56 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 1001642 0.0 0.0 10376 264 ? S 12:11 0:00 /usr/sbin/proxyexec -q -d -s /var/run/proxyexec/cagefs.sock/socket /bin/cagefs.server
root 1020146 0.0 0.0 23208 1952 ? S 13:02 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2095 2087 2083 2086 2082 2096 /usr/local/c
root 1020147 0.0 0.0 8428 792 ? S 13:02 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 1020148 0.0 0.0 8428 264 ? D 13:02 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 1021749 0.0 0.0 23208 1952 ? S 13:05 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2086 2087 2096 2082 2095 2083 /usr/local/c
root 1021750 0.0 0.0 8428 796 ? S 13:05 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 1021751 0.0 0.0 8428 264 ? D 13:05 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 1036151 0.0 0.0 23208 1952 ? S 13:45 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2082 2083 2087 2096 2086 2095 /usr/local/c
root 1036152 0.0 0.0 8428 800 ? S 13:45 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 1036153 0.0 0.0 8428 268 ? D 13:45 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 2614 0.0 0.0 23208 1952 pts/0 S 14:24 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2096 2083 2082 2087 2086 2095 /usr/local/c
root 2615 0.0 0.0 8428 792 pts/0 S 14:24 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 2616 0.0 0.0 8428 260 pts/0 D 14:24 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 8234 0.0 0.0 23208 1952 pts/0 S 14:37 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2087 2096 2083 2082 2086 2095 /usr/local/c
root 8235 0.0 0.0 8428 800 pts/0 S 14:37 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 8236 0.0 0.0 8428 268 pts/0 D 14:37 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 12491 0.0 0.0 23208 1956 pts/0 S 14:47 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2095 2083 2086 2082 2087 2096 /usr/local/c
root 12492 0.0 0.0 8428 796 pts/0 S 14:47 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 12493 0.0 0.0 8428 264 pts/0 D 14:47 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 15708 0.0 0.0 23208 1956 pts/0 S 14:53 0:00 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2096 2086 2082 2095 2087 2083 /usr/local/c
root 15710 0.0 0.0 8428 796 pts/0 S 14:53 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpauthd.
root 15712 0.0 0.0 8428 264 pts/0 D 14:53 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 17137 0.0 0.0 97076 19356 pts/0 S 14:55 0:00 cpsrvd (SSL) - waiting for connections
root 17159 0.0 0.0 23208 1956 pts/0 S 14:55 0:00 \_ /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/etc/init/kill_apps_on_ports 2095 2083 2086 2087 2096 2082 /usr/loc
root 17161 0.0 0.0 8428 796 pts/0 S 14:55 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/cpau
root 17162 0.0 0.0 8428 264 pts/0 D 14:55 0:00 \_ /usr/sbin/lsof +c 10 -n -iTCP:2082 -iTCP:2083 -iTCP:2086 -iTCP:2087 -iTCP:2095 -iTCP:2096 /usr/local/cpanel/var/
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
To update, the issue was resolved by forcing an update of cPanel using "/scripts/upcp --force".

Thank you.