Webalizer not working for first site but okay for the rest

Discussion in 'Installation/Configuration' started by seadap, Feb 25, 2007.

  1. seadap

    seadap New Member

    All,

    I have had great success getting webalizer stats from the three other sites hosted on my server but the first one does not work. Additionally, the stats page of the broken site in ISPCONFIG shows no http traffic and I know that's not correct. It shows data for ftp and mail but none for web. What gives? Is apache the problem for not generating the logs for this site correctly?

    *edit*
    Also note: the web traffic stats in ispconfig for the other three sites works just fine.
     
    Last edited: Feb 25, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have any recent lines in the web.log file in the logs directory of the site with the broken stats?
     
  3. seadap

    seadap New Member


    Yes, I have very recent activity in the web.log file for the broken site. What's the next thing to check for?
     
  4. seadap

    seadap New Member

    So if I'm getting recent activity in my web.log, what could be broken?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the output of:

    which webalizer

    Where the statistics generated when you execute the following command. Do you get any errors when you execute the command?

    /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
     
  6. seadap

    seadap New Member

    The output of which webalizer is :

    /usr/bin/webalizer

    and the command /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php produces the following:

    228 records (228 ignored) in 0.00 seconds
    2 records (2 ignored) in 0.00 seconds
    76 records (76 ignored) in 0.00 seconds

    and looking in ispconfig, there is no web traffic for site1 but sites 2 and three show traffic.

    Navigating to the /stats/ page for site one reports: Error 403 forbidden (and the stats directory is empty for site one) while /stats/ page for sites 2 and 3 show stats correctly.

    *edit*
    No errors were reported to the console when running the above command. Is there a log I should be looking at for errors?
     
  7. seadap

    seadap New Member

    SOLVED: Webalizer not working for first site but okay for the rest

    As it turnes out, the sites are supposed to have a symlink to their web/web(x) directory in /var/web/ and the problem was that the first website I created (rather - copied from an old server) created a directory there instead of a symlink. Moving the log files from that directory to /web1/logs and rerunning the cron scripts fixed the stats problem.

    With humble respect to the developers...thank you!
     
  8. bplgonzo

    bplgonzo New Member

    please, can you explain in more details since i have same issue? What exactly should i do?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -la /var/www
    (or wherever ISPConfig creates your web sites)?
     

Share This Page