diyoha
09-27-2001, 11:19 PM
Hello,
I installed the webalizer pkg from
http://cobalt-aid.sourceforge.net/files/
but my installation does not resolve IPs! Is there something I can do ... or does it have to be compiled with DNS resolving built into it.
I am not sure what the problem is ... but if this is not fixed it might have to go
do you have any idea what the problem could be?
thanks
David
Chicken
09-28-2001, 12:18 AM
You want stats of IP only sites? Not that I know the anser if so, heh, but, just wanted to clarify. Really helpful, I know...
:(
diyoha
09-28-2001, 12:38 AM
Hello Chicken,
In the "Top 30 of 751 Total Sites" the last column is hostname. But instead of hostnames only IP's are show. They are not being resolved.
Not sure what that is happening ... I did the usual Raq4i installation ...
hope someone knows
thanks
David
Chicken
09-28-2001, 03:21 AM
I believe you have to enable reverse dns lookup or reverse hostname lookup somewhere, but honestly I'm so tired that I can't think straight (rest would be good).
In fact, we just looked for 2 hours for the digital camera, which I swore I left on the table. My apartment isn't all *that* big and we looked everywhere, under couches, through closets, completely baffled.
The only thing that could explain it is if someone came in and stole them off the table. There were two other cameras on the table. None found.
Until I suddenly recalled that I put them in the desk drawer 1 foot from my computer.
Wife was getting freaked out that someone broke in... I'm mentally burnt as I was convinced it was an inside job myself...
(Rest would be really good).
Edit - added:
Note the long, drawn out tangent, babbling above.
"Does anyone else see purple frogs jumping through flaming hula-hoops on their ceiling or is it just me?"
Omair Haroon
09-28-2001, 05:11 AM
I saw those frogs jumping thruough flaming hula-hoops once when I kept awake for more than 48 hours. Can you count them and tell their number, actually, when I started counting them, I fell from the chair and start snoring on the floor only with the chair on me. :)
In the morning, all I could remember was only frogs :rolleyes:
:stickout :stickout :stickout
Mike the newbie
09-28-2001, 06:52 AM
Originally posted by diyoha
In the "Top 30 of 751 Total Sites" the last column is hostname. But instead of hostnames only IP's are show. They are not being resolved.
Read through /etc/webalizer.conf. It is a well-commented configuration file. Look at the DNSCache and DNSChildren values.
DNSChildren should be non-zero (10 is a reasonable starting number).
For DNSCache, on my RaQ3 I use the value /home/sites/dns_cache.db so that all the sites share the same DNS cache database.
Also, check out the command line parameters that are passed into webalizer in /usr/bin/webalizer2.pl to assure that the DNS capability is not turned off via a command line parameter.
diyoha
09-28-2001, 10:59 AM
Originally posted by Mike the newbie
Read through /etc/webalizer.conf. It is a well-commented configuration file. Look at the DNSCache and DNSChildren values.
DNSChildren should be non-zero (10 is a reasonable starting number).
I looked in my webalizer.conf. it had no reference at all to DNSCache or DNSChildren!
Also, check out the command line parameters that are passed into webalizer in /usr/bin/webalizer2.pl to assure that the DNS capability is not turned off via a command line parameter.
The below is the command line command in my webalizer2.pl:
$messages .=
`webazolver -N15 -D /home/log/reverse.dns $prefix/$asite/logs/web.log`;
$messages .=
`webalizer -p -n $asite -q -T -D /home/log/reverse.dns -o $thepath $prefix/$asite/logs/web.log`;
the file: reverse.dns does not exist ... and I cannot find it anywhere. I installed the most recent version of webalizer ... what is going on here :(
David
diyoha
09-28-2001, 05:51 PM
Hello,
Well I may have found the problem.
The webalizer.pl file in the /etc/cron.daily file did not have the DNS lookup command line flags ie
webalizer -p -n $asite -q -T -o $thepath $prefix/$asite/logs/web.log
but the webalizer2.pl file in the /usr/bin directory had:
`webazolver -N15 -D /home/log/reverse.dns $prefix/$asite/logs/web.log`;
`webalizer -p -n $asite -q -T -D /home/log/reverse.dns -o $thepath $prefix/$asite/logs/web.log`;
which seems more like it.
so I copied the file from /usr/bin over the file in the cron.daily ...
We will see tomorrow.
Hope it works this was fustrating me ...
later
David
Mike the newbie
09-29-2001, 10:57 AM
Hmmmm... I also installed webalizer from the package on cobalt-aid.sourceforge, yet I seem to have a different install than you. I installed the webalizer 2.01 package (http://cobalt-aid.sourceforge.net/files/)
As I write this, it looks like the site is undergoing maintenance (a pswd prompt indicates maintenance on the site), but the DNS README (ftp://ftp.mrunix.net/pub/webalizer/DNS.README) on the webalizer site is helpful.