Getting webalizer to resolve IP addresses

I have resolved the trouble.

1. I have downloaded the latest version of webalizer and configured it using following command:

./configure --prefix=/opt/webalizer --with-png=/usr/local/lib --with-gdlib=/usr/local/lib --with-gd=/usr/local/include --enable-dns --with-dblib

2. maked following direktory tree:

mkdir /opt/webalizer
mkdir /opt/webalizer/bin/
mkdir /opt/webalizer/man
mkdir /opt/webalizer/man/man1

3. executed
make
make install

4. created /etc/webalizer.conf
and inserted there
DNSCache /var/cache/|DOMAIN|.dns_cache.db
DNSChildren 10

5. renamed old webalizer
mv /usr/bin/webalizer /usr/bin/webalizer_old

6. ln -s /opt/webalizer/bin/webalizer /usr/bin/webalizer

Now everything works fine :)
 
Back
Top