Webalizer with DNS lookups
I am trying to get webalizer up and running on a RHEL 3.0 box, but am having problems with getting the DNS lookup to work. I configured webalizer as such...
./configure --enable-dns --with-db=/usr/include/db4 Config, compile, install all went fine, but when I try to run webalizer on one of my log files, I get this.... Warning: Invalid keyword 'DNSCache' (/etc/webalizer/kegworks.conf) Warning: Invalid keyword 'DNSChildren' (/etc/webalizer/kegworks.conf) DNS support not present, aborting... I've made sure that webalizer wasn't installed from an RPM anywhere on the box, removed, re-configured, re-compiled, and re-installed numerous times now, but still get the same error. Any ideas? |
Very easy, just turn on reverse DNS lookups in apache (op whatever webserver you are using). That will allow webalizer to see the dns names
|
Quote:
|
Are you able to do normal lookups from the machine? Like if you type "host [someipaddress]" is it able to convert the IP into a domain name? Check /etc/resolv.conf and be sure you've got good nameservers listed in there.
If you've got a whole bunch of log files you need to process on there, consider running a caching DNS server somewhere on your LAN or on the machine itself and it will speed up webalizer when it runs... otherwise it has to query your upstream ISP for all the lookups which can make it crunch for a while on all those log files. |
|
Quote:
|
Quote:
|
Maybe you have the wrong settings in your /etc/kegworks.conf file. The error you got seems to suggest that it doesn't like the keywords you put in the config file.
http://linux.cudeso.be/linuxdoc/weba...php#dns_lookup Can you post your config file for us to see. |
Quote:
Code:
LogFile /webserver/server/logs/temp/kegworks.com-access_log |
Quote:
Also, your config file is huge! Here's mine, which is typical of all the ones I have for each domain... Code:
## Webalizer Config File |
Quote:
Quote:
Quote:
|
Well, in that case it beats me! If you've configured with those arguments and it still acts like you haven't, you may want to try the webalizer mailing list.
http://groups.yahoo.com/group/webalizer/ The author of the package is active on there so I'm sure you can get some good help there. I hate directing people away from LQ, but sometimes you gotta go to the source. Sorry I couldn't help. |
Sorry,
Did you find the solution, because i am having the same problem... I hope yo read this... Thanks, |
Hey! Welcome to LQ!
I think the root of jnichel's original problem is that he didn't want to allow DNS lookups on his machine. Is that also the case for you? Its probably none of my business, but I'm just curious about why you wouldn't want to allow lookups on a machine anyhow? In post #3 jnichel seemed worried about causing additional load on his machine. I think it's safe to say that the load being put on a machine by webalizer isn't terribly much, and if you run it at 3am when things are quiet it's probably not going to cause your users much grief. |
Quote:
|
All times are GMT -5. The time now is 07:13 PM. |