LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Webalizer not resolving IP addresses into host names in Ubuntu 12.04 LTS (https://www.linuxquestions.org/questions/linux-newbie-8/webalizer-not-resolving-ip-addresses-into-host-names-in-ubuntu-12-04-lts-4175476488/)

dibya 09-09-2013 09:47 AM

Webalizer not resolving IP addresses into host names in Ubuntu 12.04 LTS
 
I am using webalizer to generate statistics for my website.
I concatenate all the log files and make make a single big file.

Now i follow the step 1 in "How it Works" section here -
ftp://ftp.mrunix.net/pub/webalizer/DNS.README

I try the following command in terminal -
Code:

webalizer -N 5 -D db_cache.db access.log
It asks me for -
Code:

DNS Lookup (5):
What should i give here?

Habitual 09-09-2013 10:08 AM

Examples on that page say
Code:

webalizer -c test.conf -N 10 -D dns_cache.db /var/log/my_www_log
This will use the configuration file 'test.conf' to obtain normal
configuration options such as hostname and output directory.. it
will then either create or update the file 'dns_cache.db' in the
default output directory (using 10 child processes) based on the
IP addresses it finds in the log /var/lib/my_www_log, and then
process that log file normally.

dibya 09-11-2013 07:26 AM

I do the same -

Code:

webalizer -c /etc/webalizer/webalizer.conf -N 5 -D dns_cache.db /var/log/my_www_log
After hitting enter to this i get the following -

Code:

Webalizer V2.01-10 (Linux 3.2.0-24-generic-pae) locale: en_US.UTF-8
Using logfile access.log (clf)
Using default GeoIP database
DNS Lookup (5):

After the "DNS Lookup (5) : " the cursor blinks and it expects me to enter something. I dont know what to enter here. As far as i know "-N 5" in the terminal command asks for DNS Lookup(5).

Moreover if i skip the -N command like this -
Code:

webalizer -c /etc/webalizer/webalizer.conf -D db_cache.db access.log
This results in the IP addresses being displayed not the resolved domain names.


All times are GMT -5. The time now is 09:34 PM.