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 Select period wrong

Discussion in 'Plesk for Linux - 8.x and Older' started by elger, Jun 23, 2009.

  1. elger

    elger Guest

    0
     
    Today on one of our Plesk servers a new bug came up and saw the light. The other 8.6 servers do not seem to have the same problem.

    At the AWStats page (under http://example.com/webstat/) there is a "select period" option as usual. Today the options are:
    - current
    - 2009-06
    - 2009-6

    The other months are gone missing.

    On the server this translates to
    /var/www/vhosts/example.com/statistics/webstat/ (as it should be)

    In the select box : current is on the file system a symlink to 2009-06 (as it should be) but the data in 2009-06 holds only today. Which is of course also reflected by the web page.

    If you select 2009-06 : the same thing happens (of course, it is a symlink)

    If you select 2009-6 : you get an additional select box; the missing months can now be selected.

    On the file system you see in the sub-directory called
    /var/www/vhosts/example.com/statistics/webstat/2009-6
    you seen the files and directories which are supposed to be in
    /var/www/vhosts/example.com/statistics/webstat/

    So somehow Plesk moved the contents from /var/www/vhosts/example.com/statistics/webstat/ to the sub-directory 2009-6
    - This happened today (on the 23-06-2009) so no it is not when creating the new month directory
    - This happened for all AWStats enabled domains on this server, not on the other servers.

    My fix for now is :
    cd /var/www/vhosts/example.com/statistics/
    cp -R webstat webstat-backup
    cd webstat
    rm -f 2009-6/current
    cp -Rf 2009-6/* .
    rm -Rf 2009-6

    /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com


    My question:
    Does anybody else have this problem, and what is the real fix?

    Please help.
    Elger
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
    Hello,

    This is a known issue of statistics utility. The original reason of it is unclear - seem to be of irregular nature as it cannot be reproduced in our lab. It is likely caused by incorrect memory processing. Please, suggest to upgrade you Parallels Plesk panel with the 8.6.5 patch. It is available at the following link:

    http://www.parallels.com/download/plesk/patches/
     
  3. elger

    elger Guest

    0
     
    Thank you for your reply,

    I Hope you mean 8.6.0.5.
    I will be updating soon, hopefully this random behavior will be over by then.

    Thanks,
    Elger
     
  4. TomZ

    TomZ New Pleskian

    19
     
    Joined:
    Jul 9, 2009
    Messages:
    3
    Likes Received:
    0
    Exact same problem over here, but on a fresh installed Ples9.2 on Debian
    Everyting went fine untill the last awstats update last night.

    Select Period Options are:
    - current
    - 2009-07
    - 2009-7
    ...

    It's the same with migrated domains from Plesk8 as with new domains.

    Please advise.
     
  5. xLnT

    xLnT Basic Pleskian

    23
    57%
    Joined:
    Aug 10, 2008
    Messages:
    35
    Likes Received:
    0
    I aswell have the bug of awstats showing 2009-7 and 2009-07.
    I'm running 9.2.1 and Debian x64.

    Please advice.
     
  6. elger

    elger Guest

    0
     
    My advise: let Nataliya Zagr to make a bug report, clearly this is not fixed in patch she spoke of and it still exists in the most current version of this moment (9.2.1).

    For me this happened on a CentOs 5.1 server, so it is not platform dependent.

    Let the Plesk developers look at the issue : why AwStats sometimes sees the number of a month as one digit 'm' and mostly as two digits 'mm'.
     
  7. TomZ

    TomZ New Pleskian

    19
     
    Joined:
    Jul 9, 2009
    Messages:
    3
    Likes Received:
    0
    This happend again to us in the morning of 17 July. (9.2.1 on Debian 32bit)
    Now I can go and fix all of our domains again manually. This really is unaceptable...
     
  8. tnk2k

    tnk2k Guest

    0
     
    Confirmed by us aswell. Any news from parallels?
     
  9. tnk2k

    tnk2k Guest

    0
     
    We are having the same issue, is there -any- fix from Plesk?
     
  10. MerkasiS

    MerkasiS Guest

    0
     
    It only happens, when you migrate a domain from another server.
     
  11. elger

    elger Guest

    0
     
Loading...