How to completely remove/disable Cpanellogd ?

sabater_wb

Registered
Apr 19, 2011
2
0
51
Hello. I need to disable cpanellogd. I host just my websites on my server, so I really don't need cpanellogd running. It's is crashing my server...

I already changed the configurations on the Statistics Software Configuration page , but it continues to run. The worst of this, is that it usually run during the rush time, and then the server go down.

I checked all the options on the page where it says (Check all hours that you would like log analysis NOT to be performed.).

Please, Someone, help me, to disable this. It's a **** for me. I don't need it...
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
44
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

If you create the following file, it should disable cpanellogd:

Code:
touch /etc/cpanellogddisable
After disabling cpanellogd, then you'll want to kill any current processes:

Code:
ps aux | grep cpanellogd
kill -9 PID#
Above please replace PID# with the PID number for the process running for cpanellogd.

Additionally, to ensure cPanel restart does not start cpanellogd (I tested and even with the /etc/cpanellogddisable file, cPanel restart still tries to restart the process), you would want to move the following files:

Code:
mv /usr/local/cpanel/cpanellogd /usr/local/cpanel/cpanellogd.bak
mv /usr/local/cpanel/libexec/cpanellogd /usr/local/cpanel/libexec/cpanellogd.bak
After doing the above steps, cpanellogd should no longer run on your machine.

Thanks.
 

kareti

Registered
May 31, 2011
4
0
51
Hi,
I have followed the above procedure.
However, I am getting these messages every five minutes :
------------------
cpanellogd on host.xxxxxx.com failed

cpanellogd failed @ Wed Jun 1 09:33:20 2011. A restart was attempted automagically.

Service Check Method: [check command]

Cmd Service Check Raw Output: cpanellogd is not running
---------------

Can you please help me fix the issue.

Thank you
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
44
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Yes, please open up a ticket so we can see if all the steps were properly followed and why this is still happening. You may open up a ticket using WHM > Support Center > Contact cPanel or using the link in my signature.

Thanks!