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
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