Florian,

> all of a sudden, on my Ubuntu 9.04 machine with amavids-new 2.6.2 and
> SpamAssassin 3.2.5, I get the following error when starting:
> [...]
> I found out that if I disable SpamAssassin, everything works fine
> again. It might be related to an unfinished FusionForge installation,
> but I can't find out why it doesn't work. Anyone has an idea what
> might cause the error message? sa-update -D works fine, so the basic
> database seems to be existing, and I couldn't find any changes neither
> in amavisd nor in SpamAssassin configuration.
> 
> Nov  9 09:19:56.250 myserver /usr/sbin/amavisd-new[30023]: Perl
> version               5.010000
> 
> Could not connect to database
> Nov  9 09:19:56.775 myserver /usr/sbin/amavisd-new[30023]: INFO: SA
> version: 3.2.5, 3.002005, no optional modules: Net::CIDR::Lite
> Encode::Detect IP::Country::Fast Image::Info Image::Info::GIF
> Image::Info::JPEG Image::Info::PNG Image::Info::TIFF

The message 'Could not connect to database' does not come directly
neither from amavisd nor from SpamAssassin. It seems to occur during
loading ('require') or perl modules needed by SpamAssassin, so attention
should be directed there. I couldn't find the message in question
by searching through all .pm modules in the library, so it is either
spliced together from components, or more likely, coming from one
of the underlying libraries, perhaps your PAM login authentication.

> sa-update -D works fine

Try: su vscan -c 'spamassassin -D -t <test.msg'
(run it under the same user as amavisd is runnning under)


  Mark

Reply via email to