LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2013, 09:47 AM   #1
dibya
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
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?
 
Old 09-09-2013, 10:08 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,242
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
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.
 
Old 09-11-2013, 07:26 AM   #3
dibya
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
apache2, ubuntu 12.04, webalizer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Server 12.04.2 LTS Networking Issues with Multiple IPV4 Addresses westzilla Linux - Server 1 06-23-2013 06:02 AM
Resolving host names, smbclient - unable to browse the network properly Nick_C Linux - Networking 12 04-30-2012 05:18 AM
Internal host names resolving through external DNS?!? dschuett Linux - Networking 2 02-06-2011 03:14 PM
Help resolving names between a Redhat and a win 2003 host Terrence Hinds Linux - Networking 5 10-10-2004 05:08 AM
Resolving Local Non-FQDN Host Names fortezza Linux - Networking 2 02-14-2004 04:17 AM


All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration