No statistics - Webalizer

Discussion in 'Server Operation' started by Hans, Apr 5, 2006.

  1. Hans

    Hans Moderator Moderator

    I have installed a server according “The Perfect setup for Debian Sarge”
    Although webalizer is installed, I can not use it.
    I know that stats are not available during the first 24 hours, but that is not the question.
    If I go to address http://mydomain.tld/stats/ I receive an error message that this URL is not available.
    And yes there is no /web/stats/ directory on the server.

    What can be wrong?

    Hans
     
  2. 22hosting

    22hosting New Member

    /var/www/webalizer is the default directory for the install of webalizer and thus the index page should be available in there. In the /etc/webalizer.conf you need to point it to the correct directory for polling.
    Have you added a cron job in /etc/cron.daily ?
    Are your logs of /var/log/apache/access.log type? If they aren't webalizer will error.
    Incidently you can manually run webalizer from the command line /usr/bin/webalizer (or locate it to find it). Then just run it and see what the output is. This will give you a clue as to where you went wrong.
    ________
    CumforsexyKas
     
    Last edited: Aug 22, 2011
  3. Hans

    Hans Moderator Moderator

    Thanks for your quick reply.

    I will check my system tonight.
    Strange to me is that I have setup a system with webalizer before.
    All acc. Falko’s “Perfect setup for Debian Sarge” and I had not to worry about Webalizer.
    Everything was functioning, right from the beginning.

    Who can help me a little further?

    Hans
     
    Last edited: Apr 5, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Webalizer is run by ISPConfig and not directly from Cron. Did you install ISPConfig on this system?
     
  5. Hans

    Hans Moderator Moderator

    Hello Till,

    Yes, i have ISPConfig 2.2.0 installed on this system, but webalizer is not creating /web/stats/ directories for webstatistics.

    I do not know how to solve this. Can you give me advise?

    Hans
     
  6. falko

    falko Super Moderator Howtoforge Staff

  7. Hans

    Hans Moderator Moderator

    Statistics are available again

    I did this:

    /etc/init.d/cron stop
    pkill cron (Make sure no cron processes are left.)
    Edit your crontab (crontab -e) and save it again.
    Then restart cron: /etc/init.d/cron start

    And yes, it works!

    Thanks Falko,


    Hans
     

Share This Page