[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Webalizer - Country Analysis help



At 02:11 03/11/00 -0500, Zeffie wrote:
> At 13:46 02/11/00 +0000, GirishN wrote:
> >I'm using Webalizer on a RAQ3, one thing i'd like to do is use the
> >country analysis option. The config files show this as enabled. The
> >graph is displayed on the stats page but shows "Unresolved/Unknown
> >(100%)"
> >Any ideas what how i should go about getting this functionality ?
>
> look in the /etc/httpd/httpd.conf
>
> # HostnameLookups: Log the names of clients or just their IP numbers
> #   e.g.   www.apache.org (on) or 204.62.129.132 (off)

> # The default is off because it'd be overall better for the net if people
> # had to knowingly turn this feature on.
> #HostnameLookups off
> HostnameLookups on
>

This will cause a dns lookup everytime "hits" your server. As an alternitive
you can compile webalizer with dns lookups and do all your lookups at run
time.  You will get more ip numbers vs. hostnames however depending on how
often you run webalizer.

Yes that is in version 2 not the version that is on the cobalt site. When some one makes a .pkg and up loads it then I use it.

I dont compile things on the cobalts too many things missing in /libs and compilers. I gave that up long ago.

Here is a compile example on a RaQ3


[admin@benbecula webalizer-2.01-06]$ ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for main in -l44bsd... no
checking for main in -lm... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking for main in -lpng... no
configure: error: png library not found... please install png.
[admin@benbecula webalizer-2.01-06]$

lib-png missing. so you install that and then there is something else missing it goes on and on. Resulting in it being a waste of time doing compiling on a cobalt Just use it as a WEB Server that its role. noting else.

I have real UNIX boxes to do dev stuff on I keep the RaQ3/4's for the Customer Junk.

Barry

Barry



Zeffie


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


----------------------------------------------------------------------------------------------------------
Barry Titmarsh BMT1-RIPE           Nacamar Ltd (Sheringham Office)
                                                  Knole House 38 Cromer Rd
                                                  Sheringham Norfolk NR268RR
e-mail: barry@xxxxxxxxxxxxxx      voice: +44-1263-821-844
www: www.nacamar.net.uk          fax:    +44-1263-820-271
----------------------------------------------------------------------------------------------------------