1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache access_log and webstats not working

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by ryanz, Apr 12, 2010.

  1. ryanz

    ryanz Basic Pleskian

    24
    73%
    Joined:
    Nov 23, 2002
    Messages:
    91
    Likes Received:
    0
    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?
     
Loading...