The service “cpanellogd” appears to be down

guillof

Member
Jul 30, 2014
12
0
1
cPanel Access Level
Root Administrator
I received the notification

The service “cpanellogd” appears to be down.
The subprocess “/usr/local/cpanel/scripts/restartsrv_cpanellogd” reported error number 9 when it ended.



Running cat /var/log/chkservd.log |grep cpanellogd I found:

cpanellogd [[check command:-][check command output:
The subprocess “/usr/local/cpanel/scripts/restartsrv_cpanellogd” reported error number 9 when it ended.][socket connect:N/A][fail count:1]Restarting cpanellogd....
[notify:failed service:cpanellogd]]...
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

journalctl -u cpanellogd.service -l

jul 14 05:54:06 HOST cpanellogd[31318]: Can't kill a non-numeric process ID at /usr/local/cpanel/cpanellogd line 15.
jul 14 05:54:06 HOST systemd[1]: cpanellogd.service: control process exited, code=exited status=2
jul 14 05:54:06 HOST systemd[1]: Unit cpanellogd.service entered failed state.
jul 14 05:54:06 HOST systemd[1]: cpanellogd.service failed.
jul 14 05:54:10 HOST systemd[1]: Starting cPanel Log services...
jul 14 05:54:10 HOST cpanellogd[31434]: ==> cPanel Log Daemon version 26.0
jul 14 05:54:10 HOST systemd[1]: Started cPanel Log services.
jul 14 05:54:18 HOST systemd[1]: Stopping cPanel Log services...
jul 14 05:54:20 HOST systemd[1]: Stopped cPanel Log services.
jul 14 05:54:20 HOST systemd[1]: Starting cPanel Log services...
jul 14 05:54:20 HOST cpanellogd[31685]: ==> cPanel Log Daemon version 26.0
jul 14 05:54:20 HOST systemd[1]: Started cPanel Log services.
jul 18 05:52:07 HOST cpanellogd[23908]: Can't kill a non-numeric process ID at /usr/local/cpanel/cpanellogd line 15.
jul 18 05:52:07 HOST systemd[1]: cpanellogd.service: control process exited, code=exited status=2
jul 18 05:52:07 HOST systemd[1]: Unit cpanellogd.service entered failed state.
jul 18 05:52:07 HOST systemd[1]: cpanellogd.service failed.



I'm using CentOS 7, and the latest WHM. The server has plenty of resources available.
Any idea what could be causing this?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

Is this a VPS running on the OpenVZ platform? If so, do you notice any fail counts when reviewing the /proc/user_beancounters file? EX:

Code:
cat /proc/user_beancounters
Thank you.
 

guillof

Member
Jul 30, 2014
12
0
1
cPanel Access Level
Root Administrator
Hi, not sure in what platform is running, but in any case, that file doesn't exist:


cat /proc/user_beancounters
cat: /proc/user_beancounters: No such file or directory
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Can you execute the below command manually on your server and provide the complete output. You might fine executing this command manually may restart the service properly, when the automated one failed.
# /usr/local/cpanel/scripts/restartsrv_cpanellogd

Please give it a try once and update with the result here..
 

guillof

Member
Jul 30, 2014
12
0
1
cPanel Access Level
Root Administrator
Sure:

/usr/local/cpanel/scripts/restartsrv_cpanellogd
Waiting for “cpanellogd” to restart ………waiting for “cpanellogd” to initialize ………finished.

Service Status
cpanellogd (cpanellogd - waiting for child to process logs) is running as root with PID 2697 (systemd check method).
cpanellogd (cpanellogd - waiting for child to process logs) is running as root with PID 2704 (systemd check method).

Startup Log
Jul 27 09:58:46 live1.gripmedia.co.uk systemd[1]: Starting cPanel Log services...
Jul 27 09:58:46 live1.gripmedia.co.uk cpanellogd[2696]: ==> cPanel Log Daemon version 26.0
Jul 27 09:58:46 live1.gripmedia.co.uk systemd[1]: Started cPanel Log services.

Log Messages
Jul 27 09:58:46 live1 cpanellogd: ==> cPanel Log Daemon version 26.0
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

It looks like the cpanellogd service is running well based on that output. Did you only receive a single notification about it's failure, or do you continue to receive additional notifications that it's failed?

Thank you.
 

guillof

Member
Jul 30, 2014
12
0
1
cPanel Access Level
Root Administrator
Indeed, seems to be running, but I received several of those notifications so far, not from yesterday though.

I wanted to know what could be the cause of the issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look to see if there's anything indicating why it failed.

Thanks!