Bug 2736 - Cannot open auto_whitelist_path - spamd/spamc
Summary: Cannot open auto_whitelist_path - spamd/spamc
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 2.60
Hardware: PC Linux
: P5 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 03:19 UTC by Alexander V. Afanasenkov
Modified: 2003-11-09 20:01 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander V. Afanasenkov 2003-11-06 03:19:35 UTC
Spamassassin 2.60
Some problems with spamd he cannot open auto-whitelist.

[root@gtw tmp]# ps axw|grep spamd
17458 ?        S      0:03 /usr/bin/perl -T -w /usr/bin/spamd -a -d -i 0.0.0.0 
-u mail -D -L

[root@gtw tmp]# ls -ld /var/spool/mqueue/
drwxr-x---    6 mail     mail         1024 Nov  4 09:45 /var/spool/mqueue/
[root@gtw tmp]# ls -ld /var/spool/mqueue/.spamassassin/
drwxr-x---    2 mail     mail         1024 Nov  6 13:44 /var/spool/mqueue/.
spamassassin/
[root@gtw tmp]# ls -l /var/spool/mqueue/.spamassassin/
total 30
-rw-------    1 mail     mail        29349 Nov  6 11:35 auto-whitelist

Nov  6 14:07:37 gtw spamd[17458]: logmsg: connection from localhost.localdomain 
[127.0.0.1] at port 55033
Nov  6 14:07:37 gtw spamd[17458]: connection from localhost.localdomain [127.0.
0.1] at port 55033
Nov  6 14:07:37 gtw spamd[16551]: debug: read_scoreonly_config: cannot open 
"/var/spool/mqueue/.spamassassin/user_prefs": No such file or directory
Nov  6 14:07:37 gtw spamd[16551]: debug: user has changed
Nov  6 14:07:37 gtw spamd[16551]: debug: bayes: 16551 untie-ing
Nov  6 14:07:37 gtw spamd[16551]: debug: bayes: no dbs present, cannot scan: 
/var/spool/mqueue/.spamassassin/bayes_toks
Nov  6 14:07:37 gtw spamd[16551]: debug: Score set 0 chosen.
Nov  6 14:07:37 gtw spamd[16551]: logmsg: processing message <1410076167.
20031106140735@example.ru> for mail:8.
Nov  6 14:07:37 gtw spamd[16551]: processing message <1410076167.
20031106140735@example.ru> for mail:8.
Nov  6 14:07:37 gtw spamd[16551]: debug: bayes: Not available for scanning, only 
0 spam(s) in Bayes DB < 200
Nov  6 14:07:37 gtw spamd[16551]: debug: bayes: 16551 untie-ing
Nov  6 14:07:37 gtw spamd[16551]: debug: bayes: 16551 untie-ing db_toks
Nov  6 14:07:37 gtw spamd[16551]: debug: received-header: parsed as [ ip=10.0.2.
98 rdns=vlan.internal helo= by=smtp.example.ru ident= ]
Nov  6 14:07:37 gtw spamd[16551]: debug: is DNS available? 0
Nov  6 14:07:37 gtw spamd[16551]: debug: received-header: 'from' 10.0.2.98 has 
reserved IP
Nov  6 14:07:38 gtw spamd[16551]: debug: received-header: cannot use DNS, do not 
trust any hosts from here on
Nov  6 14:07:38 gtw spamd[16551]: debug: received-header: relay 10.0.2.98 
trusted? yes
Nov  6 14:07:38 gtw spamd[16551]: debug: running header regexp tests; score so 
far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: running body-text per-line regexp 
tests; score so far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: running raw-body-text per-line regexp 
tests; score so far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: running uri tests; score so far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: uri tests: Done uriRE
Nov  6 14:07:38 gtw spamd[16551]: debug: running full-text regexp tests; score 
so far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: all '*From' addrs: noc@example.ru
Nov  6 14:07:38 gtw spamd[16551]: debug: all '*To' addrs: sysop@example.ru
Nov  6 14:07:38 gtw spamd[16551]: debug: running meta tests; score so far=0
Nov  6 14:07:38 gtw spamd[16551]: debug: auto-learn? ham=0.1, spam=12, 
body-hits=0, head-hits=0
Nov  6 14:07:38 gtw spamd[16551]: debug: auto-learn: currently using scoreset 0. 
 no need to recompute.
Nov  6 14:07:38 gtw spamd[16551]: debug: auto-learn? no: inside auto-learn 
thresholds
Nov  6 14:07:38 gtw spamd[16551]: debug: lock: 16551 created /var/spool/mqueue/.
spamassassin/auto-whitelist.lock.smtp.example.ru.16551
Nov  6 14:07:38 gtw spamd[16551]: debug: lock: 16551 trying to get lock on 
/var/spool/mqueue/.spamassassin/auto-whitelist with 0 retries
Nov  6 14:07:38 gtw spamd[16551]: debug: lock: 16551 link to /var/spool/mqueue/.
spamassassin/auto-whitelist.lock: link ok
Nov  6 14:07:38 gtw spamd[16551]: debug: Tie-ing to DB file R/W in 
/var/spool/mqueue/.spamassassin/auto-whitelist
Nov  6 14:07:38 gtw spamd[16551]: debug: unlock: 16551 unlink 
/var/spool/mqueue/.spamassassin/auto-whitelist.lock
Nov  6 14:07:38 gtw spamd[16551]: debug: open of AWL file failed: Cannot open 
auto_whitelist_path /var/spool/mqueue/.spamassassin/auto-whitelist:
Nov  6 14:07:38 gtw spamd[16551]: debug: is spam? score=0.704 required=5 
tests=PRIORITY_NO_NAME
Nov  6 14:07:38 gtw spamd[16551]: logmsg: clean message (0.7/5.0) for mail:8 in 
1.0 seconds, 882 bytes.
Nov  6 14:07:38 gtw spamd[16551]: clean message (0.7/5.0) for mail:8 in 1.0 
seconds, 882 bytes.
Comment 1 Justin Mason 2003-11-06 11:24:15 UTC
Subject: Re: [SAdev]  New: Cannot open auto_whitelist_path - spamd/spamc 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


bugzilla-daemon@bugzilla.spamassassin.org writes:
>Some problems with spamd he cannot open auto-whitelist.

Nov  6 14:07:38 gtw spamd[16551]: debug: open of AWL file failed: Cannot open 
auto_whitelist_path /var/spool/mqueue/.spamassassin/auto-whitelist:

If that file *does* exist, it generally means that the DB file format is
no longer working -- did you upgrade "libdb", "DB_File" or any similar
package recently?

If so, your best bet is to remove and recreate it; or else use "db_dump"
and "db_restore" to migrate to the new format.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/qpJ8QTcbUG5Y7woRArM0AJ0dsttSvEE0cwPsgzhL97c8kPnDVgCfcEfu
x5vPghvC93on34Sh3aBxrw0=
=+AWY
-----END PGP SIGNATURE-----

Comment 2 Alexander V. Afanasenkov 2003-11-10 05:01:27 UTC
Thank you.