Problems accessing Awstats

Discussion in 'Installation/Configuration' started by blax, Oct 16, 2013.

  1. blax

    blax New Member

    Hello,

    I have a problem when trying to access Awstats on my website at www.my_website.com/stats.

    After entering username and password (whatever I enter) I receive an ERROR 500 message.

    Then I looked at error_log file and there is the following message in it:

    (2)No such file or directory: Could not open password file: /var/www/clients/client1/web3/web/stats/.htpasswd_stats

    And in fact I noticed there is no ".htpasswd_stats" file in that folder. So I tried to create it and putting a text like "my_username:my_password" in it.

    After that, if I enter the above username and password it doesn't let me access at all, and logs now show this message:

    user my_user: authentication failure for "/stats": Password Mismatch

    What's wrong in here? How can I access Awstats?

    Thank you.

    Roberto
     
    Last edited: Oct 16, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you missed to set a statistic password for the website on the stats tab of the website settings in ispconfig.
     
  3. blax

    blax New Member

    Thank you I didn't noticed that tab.

    But now there are new problems:

    I set username and password in ispconfig and after entering them on www.my_website.com/stats (I don't know why it asks for them twice), a grey bar appears on top of the page with text "Jump to previous stats: 2013-10" and the rest of page is the normal website homepage, no awstats page appears, just the grey bar on top and the website homepage.

    Why?

    Thank you.

    Roberto
     
    Last edited: Oct 16, 2013
  4. dwalin

    dwalin New Member

  5. blax

    blax New Member

    Finally I got it solved.

    I just have to wait the next day after setting username and password for statistics.

    Maybe it needs to have data of at least one day to start working.

    Thank you.

    Roberto
     
  6. dwalin

    dwalin New Member

    OK, then I have a different problem
     

Share This Page