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.

Work around for "Error: Log is currently being processed in the background. Cannot update."

Discussion in 'Workarounds and Optimization' started by sarath8372, Jan 7, 2015.

  1. sarath8372

    sarath8372 Active Member

    Joined:
    Jan 6, 2015
    Messages:
    35
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Kochi, India
    cPanel Access Level:
    Root Administrator
    Hi Everyone,

    Today a client reported that he got this error when trying to update Awstats from cPanel. I found an old thread regarding this error at : http://forums.cpanel.net/f5/error-log-currently-being-processed-background-cannot-update-211792.html

    So thought of posting a simple work around for the issue. If someone gets this error, check cpanellogd process and see if it is currently processing stats for the user that you want to update Awstats. If not just rename the .bkup (/usr/local/apache/domlogs/domain.tld.bkup)file to something else and then update Awstats. Awstats will get updated without any issues.

    # ps aux | grep cpanellogd
    # mv /usr/local/apache/domlogs/domain.tld.bkup /usr/local/apache/domlogs/domain.tld_bak

    Once Awstats is updated, just rename the file back to .bkup. Hope it helps someone :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please keep in mind the bkup logs are created for a reason. It's better to simply let the cpanellogd process complete. This is explained on the following post:

    Error Log being processed in the background

    Thank you.
     
Loading...

Share This Page