Web Hosting Talk







View Full Version : webalizer again


joachim
04-05-2002, 04:06 PM
Hello,

when I run webalizer like that:
webalizer -c /var/www/sites/www.domain.com/stats/domain.conf

I only get the results for April. However, the datafile mentioned in the config file contains all the march and april.
I checked the .conf file but found nothing which could be the reason. The data files is just plain, good text, nothing special.
any ideas ?

thanks joachim

serve-you
04-05-2002, 04:47 PM
Does the webalizer.hist file exist? Make sure the following is uncommented in your config:
HistoryName webalizer.hist

-Dan

joachim
04-05-2002, 04:56 PM
#HistoryName webalizer.hist

it is uncommented.
Even when I delete the webalizer.hist,
only April is shown

Joachim

serve-you
04-05-2002, 05:01 PM
webalizer.hist is your history file. If you delete it, you no longer have a history.
#HistoryName webalizer.hist
it is uncommented.

Are you sure? If that # sign is in front of it in your config, then it is commented out.

-Dan

joachim
04-05-2002, 05:14 PM
Yes, but commented or not - no difference

there is also only one html file - 200204 created.


joachim

serve-you
04-05-2002, 05:18 PM
It is not going to change if you uncomment it now. You will have to have it uncommented for the month. It it logs data to the webalizer.hist file, so when the month changes, it will archive the previous month.

-Dan

joachim
04-05-2002, 05:40 PM
So webalizer makes a history only for the actual
month? If I extract the data from ym access_logs, letīs say for 4 months, it should create a statistic for each of the 4 months?

Joachim

serve-you
04-05-2002, 05:50 PM
If you have an old log that you could run against, it should work. However, you would need to delete the current stats files.

-Dan

joachim
04-05-2002, 06:22 PM
thatīs the problem, i installed webalizer on the
server in January and now new for a domain. The log files have enries from March1 till today.So I thought it should work.
maybe there are some history files in other directories ?

joachim

ReliableServers
04-05-2002, 08:29 PM
If your processing daily make sure you have Incremental Yes turned on also :)