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

sarath8372

Active Member
Jan 6, 2015
35
7
8
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 :)