The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to completely remove/disable Cpanellogd ?

Discussion in 'General Discussion' started by sabater_wb, Apr 19, 2011.

  1. sabater_wb

    sabater_wb Registered

    Joined:
    Apr 19, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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 shit for me. I don't need it...
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
  3. kareti

    kareti Registered

    Joined:
    May 31, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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!
     
Loading...

Share This Page