While I'm the knuckle-head that had the kernel panic yesterday. I kept my original Home directory, including the config files, however when doing sa-learn with Spamassassin, I'm given an error -- works fine when run via root though. The error is couldn't access the Bayes db, anyway it's the last line in the followig debug session, which I hope that somebody can advise how to proceed to eliminate;
~/.spamassassin$ sa-learn -D --spam --mbox
/home/steve123/Mail/spam
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 '/usr/local/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/bin/X11', keeping.
debug: PATH included '/usr/games', keeping.
debug: Final PATH set to:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/spamassassin" for site rules dir
debug: using "/home/steve123/.spamassassin/user_prefs" for user
prefs file
debug: bayes: 14986 tie-ing to DB file R/O
/home/steve123/.spamassassin/bayes_toks
Cannot open bayes databases /home/steve123/.spamassassin/bayes_*
R/O: tie failed:
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: lock: 14986 created
/home/steve123/.spamassassin/bayes.lock.barnyard.sweetpig.dyndns.org.14986
debug: lock: 14986 trying to get lock on
/home/steve123/.spamassassin/bayes with 0 retries
debug: lock: 14986 link to
/home/steve123/.spamassassin/bayes.lock: link ok
debug: bayes: 14986 tie-ing to DB file R/W
/home/steve123/.spamassassin/bayes_toks
debug: unlock: 14986 unlink
/home/steve123/.spamassassin/bayes.lock
Cannot open bayes databases /home/steve123/.spamassassin/bayes_*
R/W: tie failed: File exists
debug: Syncing complete.
debug: Removing Markup
debug: Learning Spam
debug: decoded MIME header: "����������� ��
��������,�������,�������������"
debug: uri tests: Done uriRE
debug: lock: 14986 created
/home/steve123/.spamassassin/bayes.lock.barnyard.sweetpig.dyndns.org.14986
debug: lock: 14986 trying to get lock on
/home/steve123/.spamassassin/bayes with 0 retries
debug: lock: 14986 link to
/home/steve123/.spamassassin/bayes.lock: link ok
debug: bayes: 14986 tie-ing to DB file R/W
/home/steve123/.spamassassin/bayes_toks
debug: unlock: 14986 unlink
/home/steve123/.spamassassin/bayes.lock
Cannot open bayes databases /home/steve123/.spamassassin/bayes_*
R/W: tie failed: File exists
Learned from 0 message(s) (1 message(s) examined).
debug: bayes: 14986 untie-ing
debug: bayes: 14986 untie-ing db_toks
ERROR: the Bayes learn function returned an error, please re-run
with -D for more information
Is it because of the lock, that it can't process the learn function?
pgp00000.pgp
Description: PGP signature

