[kwlug-disc] specifying location of webalizer.conf file under debian?

Lori Paniak ldpaniak at fourpisolutions.com
Fri Oct 16 11:32:55 EDT 2009


Is there anything for webalizer in /etc/default?


On Fri, 2009-10-16 at 10:23 -0400, Robert P. J. Day wrote:
> let's see how terse i can make this:
> 
> * existing debian lenny setup stopped generating webalizer stats last
> month
> 
> * for debian pkg, look in /etc/webalizer/webalizer.conf file and, sure
> enough, it contains what appear to be initial default settings for
> webalizer output (which are wrong).  fix settings, particularly to set
> OutputDir to "logs/" directory somewhere under
> /var/www/CORPURL/etc/etc.
> 
> * i therefore conclude that, somehow, i upgraded(?) webalizer and
> wiped out the configured version of that file with the default.  so
> far, so good.  manual test seems to work when i run cron.daily
> webalizer script.
> 
> * *but* ... hmmm ... that correct output directory *also* contains a
> webalizer.conf file, and its settings are *correct*.  how did it come
> to be there?  and is *that* the conf file that should be consulted?
> it would certainly be correct.
> 
> * webalizer.conf file even states:
> 
> # As of version 0.98, The Webalizer will look for a 'default' configuration
> # file named "webalizer.conf" in the current directory, and if not found
> # there, will look for "/etc/webalizer.conf".
> 
>   so ... is it possible that this used to work properly because
> webalizer's "home" directory was set to that logs output directory?
> that would make a certain amount of sense, except that i can't see how
> that can be changed, since the /etc/cron.daily/webalizer script that's
> being run opens with:
> 
> WEBALIZER=/usr/bin/webalizer
> WEBALIZER_CONFDIR=/etc/webalizer
> 
>   that doesn't look customizable.  so ... am i misreading this?  how
> did that .conf file end up in the logs directory?  and does it mean
> anything?  or should i ignore it and just stick with fixing
> /etc/webalizer/webalizer.conf?
> 
> rday
> --
> 
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
> 
>         Linux Consulting, Training and Annoying Kernel Pedantry.
> 
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
> 
> _______________________________________________
> kwlug-disc_kwlug.org mailing list
> kwlug-disc_kwlug.org at kwlug.org
> http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20091016/71868eb1/attachment.sig>


More information about the kwlug-disc mailing list