Mailing List Archive

problem with sa-learn/perl5.8.3
Hi,

I am pretty new to SpamAssassin and do have problems with sa-learn.
Iam using version 2.63 with sendmail/procmail and spamc/spamd combination
on a Solaris 8 (Sparc)platform. My perl version is 5.8.3, all needed
modules exist.

when invoking
sa-learn --ham --mbox -D /path/to/mbox
the following output is created (only the last part before sa stops):
debug: using "/opt/spamassassin/share" for default rules dir
debug: using "/opt/spamassassin/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: bayes: no dbs present, cannot scan: /home/sharespammer/.spamassassin/bayes_toks
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: lock: 6046 created /home/sharespammer/.spamassassin/bayes.lock.rzem0.6046
debug: lock: 6046 trying to get lock on /home/sharespammer/.spamassassin/bayes with 0 retries
debug: lock: 6046 link to /home/sharespammer/.spamassassin/bayes.lock: link ok
debug: bayes: 6046 tie-ing to DB file R/W /home/sharespammer/.spamassassin/bayes_toks
Use of uninitialized value in numeric gt (>) at /opt/perl5/lib/5.8.3/sun4-solaris/DB_File.pm line 270.
Deep recursion on subroutine "DB_File::AUTOLOAD" at /opt/perl5/lib/5.8.3/sun4-solaris/DB_File.pm line 234.


I don't understand the problem of the last two lines. I looked into the pm
file but like I said, I am new and I couldn't really figure out the
problem.

Help would be greatly appreciated.

Bye Sue
Re: problem with sa-learn/perl5.8.3 [ In reply to ]
Hi Susan, everyone,

Susan Roesner wrote:

> I am pretty new to SpamAssassin and do have problems with sa-learn.
> Iam using version 2.63 with sendmail/procmail and spamc/spamd combination
> on a Solaris 8 (Sparc)platform. My perl version is 5.8.3, all needed
> modules exist.
> Use of uninitialized value in numeric gt (>) at /opt/perl5/lib/5.8.3/sun4-solaris/DB_File.pm line 270.
> Deep recursion on subroutine "DB_File::AUTOLOAD" at /opt/perl5/lib/5.8.3/sun4-solaris/DB_File.pm line 234.
>
> I don't understand the problem of the last two lines. I looked into the pm
> file but like I said, I am new and I couldn't really figure out the
> problem.

I've had the same problem on a Solaris 9 system: it turned out that the
Berkeley DB that the perl DB::File module was linked again wasn't installed.

Regards, Paul Boven.