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 disable the cpanellogd in WHM Panel

Discussion in 'General Discussion' started by softgreen, Nov 22, 2012.

  1. softgreen

    softgreen Registered

    Joined:
    Nov 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  2. texo

    texo Well-Known Member

    Joined:
    Mar 28, 2007
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  3. softgreen

    softgreen Registered

    Joined:
    Nov 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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 ?
     
    #3 softgreen, Nov 23, 2012
    Last edited: Nov 23, 2012
  4. laks

    laks Member

    Joined:
    Dec 14, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    HI,,

    Still now i am getting same problem again, Kindly give the possibility to stop run the cpanellogd in cpanel.

    Thank you,
     
  5. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    18
    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.
     
Loading...

Share This Page