[kwlug-disc] specifying location of webalizer.conf file under debian?
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
> * 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
> * 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:
> 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
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the kwlug-disc