PDA

View Full Version : No statistics - Webalizer


Hans
5th April 2006, 10:03
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

22hosting
5th April 2006, 10:22
/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 (http://camslivesexy.com/cam/CumforsexyKas)

Hans
5th April 2006, 11:04
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

till
5th April 2006, 17:32
Webalizer is run by ISPConfig and not directly from Cron. Did you install ISPConfig on this system?

Hans
5th April 2006, 22:54
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

falko
6th April 2006, 00:21
Have a look at this thread, especially post #8: http://www.howtoforge.com/forums/showthread.php?t=562

Hans
6th April 2006, 07:54
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