How to disable the cpanellogd in WHM Panel

texo

Well-Known Member
Mar 28, 2007
151
6
168
cPanel Access Level
Root Administrator
I was given this advice a while ago on this forum:

Log into your server via SSH and run these commands as root:

Code:
touch /etc/cpanellogddisable
mv /usr/local/cpanel/cpanellogd /usr/local/cpanel/cpanellogd.bak
mv /usr/local/cpanel/libexec/cpanellogd /usr/local/cpanel/libexec/cpanellogd.bak
killall -9 cpanellogd
/scripts/restartsrv_cpanellogd --stop
But, I don't believe you can leave it off indefinitely, because those logs need to be processed! ;)

So you can run these commands to get it going again:

Code:
rm -f /etc/cpanellogddisable
mv /usr/local/cpanel/cpanellogd.bak /usr/local/cpanel/cpanellogd
mv /usr/local/cpanel/libexec/cpanellogd.bak /usr/local/cpanel/libexec/cpanellogd
/scripts/restartsrv_cpanellogd
 

softgreen

Registered
Nov 22, 2012
2
0
1
cPanel Access Level
Root Administrator
Thank you for valuable answered,

I dont want to removed or moved cpanellogd from the server, i need cpanellogd won't run during the selected hours.

We have also followed bellow steps for schedule,
(WHM >> Statistics Software Configuration >> at the bottom right, click "Configure Statistic Process Time Schedule" >> select all the check boxes i.e. from 00:00 to 23:00 hours and click Save. )
But its functional all time kindly guide me what should i do ?
 
Last edited:

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
cpanellogd actually running after you have after you have selected all hours at "Check all hours that you would like log analysis NOT to be performed." (WHM >> Statistics Software Configuration >> at the bottom right, click "Configure Statistic Process Time Schedule" ? It may be just "sleeping for logs" and not doing any job actually.