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

Awstats - statistics deletes previous month

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by TorbenB, Jun 3, 2011.

  1. TorbenB

    TorbenB Guest

    0
     
    When executing
    $PRODUCT_ROOT_D/admin/sbin/statistics --calculate-one --domain-name=$vhost_name
    the folder of the previous month is deleted and not shown in dropdown any more.

    I tried to rebuild these data (http://kb.odin.com/en/5550) about four or five times now. All "awstatsXX2011.xxxxxxx.xx-http.txt"-Files and the corresponding folders "2011-01" to "2011-06" are build and available
    Every time I execute the statistics-command or it gets executed via cron, the last month (and only the last month) disappears.

    After searching the web for a couple of hours now, i have no idea on what goes wrong.
    Would be great if someone could help me.

    Regards,
    Torben
     
  2. TorbenB

    TorbenB Guest

    0
     
    Solution

    *** ARGH ***

    Opening Databasemanager, searching the ID of the domain (table "domains") and looking up corresponding entry for "stat_ttl" in table "dom_param" - it was set to 0 (!!!) although was displayed as 12 inside Plesk.

    Running statistics and voilá - everything fine.
     
Loading...