You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mun Johl <mu...@sierralogic.com> on 2005/05/04 01:25:31 UTC

Procmail reports "Uninitialized value in DBM.pm" and "bayes_* R/O: tie failed"

Hi,

I'm new to SpamAssassin and am using:

   SpamAssassin : 3.0.3
   Perl         : 5.8.2
   Berkeley DB  : 4.3.27
   Solaris      : 5.8

In my procmail logfile, I see a bunch of the messages printed below.  I
assumed this would be a common problem, but didn't find a resolution
during my searches.

I installed SpamAssassin for a single user.  I'm thinking there must be
compatibility issues or something between DB_File and DBM.pm?

------------------------------ Delimiter BEGIN --------------------------------

Use of uninitialized value in concatenation (.) or string at ~/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/BayesStore/DBM.pm line 261.
Use of uninitialized value in numeric ge (>=) at ~/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/BayesStore/DBM.pm line 1758.
Use of uninitialized value in numeric eq (==) at ~/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/BayesStore/DBM.pm line 1758.
Use of uninitialized value in numeric ge (>=) at ~/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/BayesStore/DBM.pm line 1772.
Use of uninitialized value in numeric eq (==) at ~/lib/perl5/site_perl/5.8.2/Mail/SpamAssassin/BayesStore/DBM.pm line 1772.
...

------------------------------- Delimiter END ---------------------------------


Procmail is also complaining as shown below--which may not be surprising
given the issue above?

------------------------------ Delimiter BEGIN --------------------------------

Cannot open bayes databases /home/mj/.spamassassin/bayes_* R/O: tie failed: No such file or directory
Cannot open bayes databases /home/mj/.spamassassin/bayes_* R/O: tie failed: No such file or directory
uname: not super user
Cannot open bayes databases /home/mj/.spamassassin/bayes_* R/W: tie failed: No such file or directory

------------------------------- Delimiter END ---------------------------------

I would appreciate any insight that can be offered.

Regards,

-- 
Mun