Sergey,

Am Sunday, 2. October 2011 schrieb Sergey B Kirpichev:
> > I attached /etc/awstats/awstats.model.conf
> 
> The source of your problem is in your local customization, e.g. line:
> DirData="."
> This should be
> DirData="/var/lib/awstats/"
> 
> Please, use the standard awstats conf and override some
> options only if you need them.  And see README.Debian for
> some hints in handling multiple stats (a number of apache vhosts).

Many thanks for pointing that out. I cannot tell why I introduced 
awstats.model.conf in the first place (as I said, I upgraded, i.e. I configured 
awstats long time ago). Right now I have only one apache host and I think I 
can go without it (?).

Note, I most likely cloned awstats.model.conf from (the lenny version?) of 
/usr/share/doc/awstats/examples/awstats.model.conf.gz

In there, there is still the DirData entry
  DirData="."

Does it make sense to provide another default there?

 
> > unfortunately I threw away the old
> > cron.d file (it was still lying around in /etc/cron.d/awstats.dpkg-old,
> > and I was not sure if it was the source of the problem).
> 
> dpkg-old and dpkg-dist are filename extensions that are created when
> a package is upgraded and a conffile overwritten. <conffilename>.dpkg-old
> is created when the user has chosen to use the newly installed one. 
> <conffilename>.dpkg-dist is created when the user opted to
> keep the old one; it is the version from the newer package.
> 
> If you restore  /etc/cron.d/awstats.dpkg-old and leave /etc/awstats/*
> stuff intact - your old config should be working.

I understand the dpkg-old, dpkg-dist extensions. I was not sure if crond would 
pick /etc/cron.d/awstats.dpkg-old or if it is clever enough to skip this file.

Thanks again,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdor...@web.de
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to