Package: amavisd-new
Version: 1:2.6.1.dfsg-1
Severity: normal

Running amavisd-nanny gives:

# amavisd-nanny
process-id task-id     elapsed in    elapsed-bar (dots indicate idle)
           or state   idle or busy
No nanny database /var/amavis/db/nanny.db; waiting...
No nanny database /var/amavis/db/nanny.db; waiting...
No nanny database /var/amavis/db/nanny.db; waiting...
^C
exited

It's because the path to nanny database is wrong. It should be
/var/lib/amavis/db
not /var/amavis/db
OTOH, the similar path in amavisd-agent is OK.
After correcting the path (I'm attaching the diff), amavisd-nanny finds
the database.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL.iso-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages amavisd-new depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  file                          4.26-1     Determines file type using "magic"
ii  libarchive-zip-perl           1.18-1     Module for manipulation of ZIP arc
ii  libberkeleydb-perl            0.34-1+b1  use Berkeley DB 4 databases from P
ii  libcompress-zlib-perl         2.012-1    Perl module for creation and manip
ii  libconvert-tnef-perl          0.17-8     Perl module to read TNEF files
ii  libconvert-uulib-perl         1.11-1     Perl interface to the uulib librar
pn  libdigest-md5-perl            <none>     (no description available)
ii  libio-stringy-perl            2.110-4    Perl modules for IO from scalars a
ii  libmailtools-perl             2.03-1     Manipulate email in perl programs
pn  libmime-base64-perl           <none>     (no description available)
ii  libmime-tools-perl            5.427-1    Perl5 modules for MIME-compliant m
ii  libnet-server-perl            0.97-1     An extensible, general perl server
ii  libunix-syslog-perl           1.1-2      Perl interface to the UNIX syslog(
ii  perl [libtime-hires-perl]     5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules [libarchive-tar- 5.10.0-19  Core Perl modules

amavisd-new recommends no packages.

Versions of packages amavisd-new suggests:
pn  apt-listchanges      <none>              (no description available)
ii  arj                  3.10.22-6           archiver for .arj files
ii  cabextract           1.2-3               a program to extract Microsoft Cab
ii  clamav               0.94.dfsg.2-1lenny2 anti-virus utility for Unix - comm
ii  clamav-daemon        0.94.dfsg.2-1lenny2 anti-virus utility for Unix - scan
ii  cpio                 2.9-13              GNU cpio -- a program to manage ar
ii  dspam                3.6.8-9             is a scalable, fast and statistica
ii  lha                  1.14i-10.3          lzh archiver
ii  libauthen-sasl-perl  2.12-1              Authen::SASL - SASL Authentication
pn  libdbi-perl          <none>              (no description available)
ii  libmail-dkim-perl    0.32-1              cryptographically identify the sen
pn  libnet-ldap-perl     <none>              (no description available)
pn  lzop                 <none>              (no description available)
ii  nomarch              1.4-1               Unpacks .ARC and .ARK MS-DOS archi
ii  spamassassin         3.2.5-2             Perl-based spam filter using text 
ii  unrar                1:3.8.2-1           Unarchiver for .rar files (non-fre
ii  zoo                  2.10-21             manipulate zoo archives

-- debconf information:
  amavisd-new/outdated_config_style_warning:
--- amavisd-nanny       2008-07-26 09:29:09.000000000 +0200
+++ amavisd-nanny.corr  2009-06-21 01:51:39.000000000 +0200
@@ -58,7 +58,7 @@
 
 my($dbfile) = 'nanny.db';
 my($db_home) =  # DB databases directory
-  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : '/var/amavis/db';
+  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : 
'/var/lib/amavis/db';
 my($wakeuptime) = 2;  # -w, sleep time in seconds, may be fractional
 my($repeatcount);     # -c, repeat count (when defined)
 

Reply via email to