Having problems re-installing SA. Blew away my previous installation cat'ing the .packlist to xargs rm. As root, start perl -MCPAN -e shell and 'install SpamAssassin' All of the errors in t/logs/* relate to either one of three things:
# cannot run 1. error: spamd: cannot run as nonexistent user or root with -u option 2. warn: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody # permission issues 3. warn: spamd: bayes: locker: safe_lock: cannot create tmp lockfile ./log/user_state/bayes.lock.sabik.scarceskills.com.2725 for ./log/user_state/bayes.lock: Permission denied Below I've included some output of where it all goes pear shaped. Any ideas to get me back on track? I've done this type of install many times and have never had this issue... -Peter Farrell t/spamc_headers.............ok t/spamc_l...................ok t/spamc_optC................ Not found: reported spam = Message successfully reported/revoked # Failed test 2 in t/SATest.pm at line 635 Output can be examined in: log/d.spamc_optC/out.1 t/spamc_optC................NOK 2/9 Not found: revoked ham = Message successfully reported/revoked # Failed test 4 in t/SATest.pm at line 635 fail #2 Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 t/spamc_optC................NOK 4/9 Not found: failed to report spam = Unable to report/revoke message # Failed test 6 in t/SATest.pm at line 635 fail #3 Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 t/spamc_optC................ok 7/9 Not found: failed to revoke ham = Unable to report/revoke message t/spamc_optC................NOK 8/9# Failed test 8 in t/SATest.pm at line 635 fail #4 Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 log/d.spamc_optC/out.7 t/spamc_optC................FAILED tests 2, 4, 6, 8 Failed 4/9 tests, 55.56% okay t/spamc_optL................# Failed test 1 in t/spamc_optL.t at line 20 Not found: learned spam = Message successfully un/learned # Failed test 2 in t/SATest.pm at line 635 Output can be examined in: t/spamc_optL................NOK 2/16# Failed test 3 in t/spamc_optL.t at line 24 Not found: already learned spam = Message was already un/learned # Failed test 4 in t/SATest.pm at line 635 fail #2 Output can be examined in: t/spamc_optL................NOK 4/16ERROR: Bayes dump returned an error, please re-run with -D for more information # Failed test 5 in t/spamc_optL.t at line 28 Not found: spam in database = 1 0 non-token data: nspam # Failed test 6 in t/SATest.pm at line 635 fail #3 Output can be examined in: t/spamc_optL................NOK 6/16# Failed test 7 in t/spamc_optL.t at line 32 Not found: forget spam = Message successfully un/learned t/spamc_optL................NOK 7/16# Failed test 8 in t/SATest.pm at line 635 fail #4 Output can be examined in: t/spamc_optL................NOK 8/16# Failed test 9 in t/spamc_optL.t at line 36 Not found: learned ham = Message successfully un/learned # Failed test 10 in t/SATest.pm at line 635 fail #5 Output can be examined in: t/spamc_optL................NOK 10/16# Failed test 11 in t/spamc_optL.t at line 40 Not found: already learned ham = Message was already un/learned # Failed test 12 in t/SATest.pm at line 635 fail #6 t/spamc_optL................NOK 11/16Output can be examined in: t/spamc_optL................NOK 12/16ERROR: Bayes dump returned an error, please re-run with -D for more information # Failed test 13 in t/spamc_optL.t at line 44 Not found: ham in database = 1 0 non-token data: nham # Failed test 14 in t/SATest.pm at line 635 fail #7 Output can be examined in: t/spamc_optL................NOK 14/16# Failed test 15 in t/spamc_optL.t at line 48 Not found: learned ham = Message successfully un/learned # Failed test 16 in t/SATest.pm at line 635 fail #8 t/spamc_optL................NOK 15/16Output can be examined in: t/spamc_optL................FAILED tests 1-16 Failed 16/16 tests, 0.00% okay t/spamc_y...................ok t/spamc_z...................ok t/spamd.....................ok t/spamd_allow_user_rules....ok 3/5 Not found: myfoo = 1.0 MYFOO # Failed test 4 in t/SATest.pm at line 635 Output can be examined in: log/d.spamd_allow_user_rules/out.2 log/d.spamd_allow_user_rules/spamd.err.1 t/spamd_allow_user_rules....FAILED test 4 Failed 1/5 tests, 80.00% okay t/spamd_hup.................ok t/spamd_kill_restart........ok t/spamd_kill_restart_rr.....ok t/spamd_ldap................skipped all skipped: no reason given t/spamd_maxchildren.........ok t/spamd_maxsize.............ok t/spamd_parallel............ok t/spamd_plugin..............ok 1/6 Not found: called1 = test: called myTestPlugin, round 1 # Failed test 2 in t/SATest.pm at line 635 Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1 t/spamd_plugin..............ok 3/6 Not found: called2 = called myTestPlugin, round 2 # Failed test 4 in t/SATest.pm at line 635 fail #2 Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 log/d.spamd_plugin/spamd.err.1 t/spamd_plugin..............ok 5/6 Not found: called3 = called myTestPlugin, round 3 # Failed test 6 in t/SATest.pm at line 635 fail #3 Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.5 log/d.spamd_plugin/spamd.err.1 t/spamd_plugin..............FAILED tests 2, 4, 6 Failed 3/6 tests, 50.00% okay