ISPConfig3 and awstats?

Discussion in 'Installation/Configuration' started by kenci, May 7, 2012.

  1. kenci

    kenci New Member

    Hello, I seem to have a problem displaying awstats heres a screenshot.

    [​IMG]
    I did setup the timezone in php.ini but for some reason it keeps showing that followed by a 404.

    Thanks!
     
    Last edited: May 7, 2012
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The timezone is not set in the php.ini file used in this website. Please set the timezone in all php.ini files (for apache2, cgi and cli), then restart apache.
     
  3. kenci

    kenci New Member

    Thank you! However I can't seem to find the location of those. Could you tell me the location of those?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    - Which Linux distribution do you use?
    - Have you set any custom php.ini entries for this website in ispconfig?
     
  5. kenci

    kenci New Member

    CentOS 6.2 and no it's using the global config.
     
  6. kenci

    kenci New Member

    I took a look at my php log and it seems like its trying to pull awsindex.html which does not exist :confused:

    [Mon May 07 19:10:02 2012] [error] [client xxx.86.xx.159] File does not exist: /var/www/clients/client2/web2/web/stats/awsindex.html

    I managed to solve it, the problem was I was missing the awstats.conf file in /etc/awstats/ incase someone should run into this problem.
     
    Last edited: May 7, 2012
  7. kenci

    kenci New Member

    Hey guys, I seem to have ran into another problem :/ just my luck. It seems my awstats are not updating the last stats I have are for the 6th of may and it's currently the 8th. Any ideas?

    Reported period Month May 2012
    First visit 06 May 2012 - 03:22
    Last visit 06 May 2012 - 23:06

    Thanks,
    kenci
     
    Last edited: May 8, 2012
  8. mulderlaw

    mulderlaw New Member

    check your yesterday log symlink

    check under /var/log/ispconfig/<domain name>/

    for a symlink that looks like:

    yesterday-access.log -> /var/www/clients/clientXX/webXX/log/YYYMMDD-access.log

    If it there but broken, you may have to update it manually, etc. This is what happened to me.
     

Share This Page