• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Apache access_log and webstats not working

ryanz

Basic Pleskian
Hi,

I noticed that webstats were suddenly not showing recent data.

A closer look showed that the domain access_log were not being updated, therefore the webstats will not have any data to update from. Further investigation showed that the logs stopped working on a specific day so I checked the yum logs to see what was done on that day as an update could have caused this.

It turned out that the following was done on that day:
Yum installed:
mod_dav_svn
php-jpgraph
php-pecl-apc
php-pecl-memcache

And Apache was set to use Piped Logs as per this Parallels KB Article:
http://kb.odin.com/en/2066

It seems that the Piped Logs caused Apache not to log the access_log for each domain with the access_log files being 0kb.

I changed the http://kb.odin.com/en/2066 article to "false" and reconfigured Apache and the access_log files immediately started getting data again.

How should Apache be configured to Pipe Logs for over 300 domains while still retaining a proper working Webstat system?
 
Back
Top