On Thu, 12 Feb 2004, Jason Crowe wrote:

> I have cleaned out the bayes db's a long time ago. Right now the isn't
> anything in the bayes files. I did reinstall the DB_File after changing the
> include & lib location for the berkeley DB. It installed fine, but when I
> try sa-learn it hangs at:
>
>
> pop3:/home/mail# sa-learn --ham -D ok
> debug: Score set 0 chosen.
> debug: running in taint mode? yes
> debug: Running in taint mode, removing unsafe env vars, and resetting PATH
> debug: PATH included '/sbin', keeping.
> debug: PATH included '/bin', keeping.
> debug: PATH included '/usr/sbin', keeping.
> debug: PATH included '/usr/bin', keeping.
> debug: PATH included '/usr/bin/X11', keeping.
> debug: PATH included '/usr/local/sbin', keeping.
> debug: PATH included '/usr/local/bin', keeping.
> debug: Final PATH set to:
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
> debug: using "/usr/share/spamassassin" for default rules dir
> debug: using "/etc/spamassassin" for site rules dir
> debug: using "/root/.spamassassin/user_prefs" for user prefs file
> debug: Score set 0 chosen.
> debug: Initialising learner
> debug: Initialising learner
>
> I am running sa-learn as root using sitewide bayes.

try another user, not root or nobody. does this work ?

strange, how did you install the perl modules? using cpan? tests went
fine? if not cpan, did you issue a 'make test' right aftere 'make' ?

regards,
Matthias

Reply via email to