On Thu, 25 Apr 2002, Thomas Egrelius said:
> it "hangs" on trying to open the auto-whitelist db, and after the default 
> 30 tries it gives up with the message "Cannot open 
> ~/.spamassassin/auto-whitelist: permission denied" or similar. I've tried 
> to set permissions of files and directories without luck.

One cause of this message is if you have multiple major versions of
libdb installed simultaneously. They tend to `fight'; libdb2 ends up
calling some libdb3 internal functions when opening or creating
databases, and you end up getting a nonsensical error passed up to the
upper layers. (In addition to EPERM, I got EEXIST, which was really
stupid: you can't create this database file because it doesn't exist?!)

The solution is to arrange for Perl to only use one major version of
libdb at once (and note that Perl tries to dlopen() libdb, so it can be
hard to do: I did it here by upgrading to libdb4 and rebuilding
everything that used libdb against that version).

(The Debian BTS contains comments that suggest that the libdb upstream
actually *refused* to use hidden, private, or versioned symbols to
ameliorate this problem. Thanks a million :( )

-- 
`Unless they've moved it since I last checked, travelling between
 England and America does not involve crossing the equator.'
   --- pir

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to