Cant get Webalizer to work for the sites o create

Discussion in 'General' started by Kayov, Sep 1, 2006.

  1. Kayov

    Kayov New Member

    Hi, all goes fine with my server and ispconfig.
    I got only 1 problem, the stats forlder is created but just the .htaccess lies in it.
    Webalizer doesnt create any stats files at all!
    I already tried to follow some of the forum solutions for similar erros, but no way to fix it!
    I'm pretty sure Webalizer is well installed.
    So when i enter ispconfig administration there is no stats at all also, on the traffic options and so on...
    Any idea?
     
  2. apjone

    apjone New Member

    More info please

    run webalizer from a terminal and post the out put here
     
  3. TheRudy

    TheRudy ISPConfig Developer ISPConfig Developer

    Stats are updated once per day, early in the morning at 4 oclock. So just wait for a day and your stats will show themselfs. If you want them right away, there's a command to do that. Can't remember it tho..
     
  4. Kayov

    Kayov New Member

    i guest this is the script that runs webalizer each night:

    [root@server1 ~]# cat /etc/cron.daily/00webalizer
    #! /bin/bash
    # update access statistics for the web site

    if [ -s /var/log/httpd/access_log ]; then
    exec /usr/bin/webalizer -Q
    fi

    If i run it my self it will take some time to finish and will only update the stats in the /var/www/usage/ folder.

    no files in the .../stats folder are created at all.
     
  5. Kayov

    Kayov New Member

    Solved it!
    Just found the solution in another topic!

    The problem was that fedoras crontab comes empty with none of those php scripts that ispconfig uses to generate traffic stats.

    Thx you all.
     

Share This Page