warn: bayes: cannot open bayes databases

Use this forum for discussions about SpamAssassin and anti-spam in general.
Post Reply
thomas10
Normal user
Normal user
Posts: 54
Joined: 2013-10-30 03:13

warn: bayes: cannot open bayes databases

Post by thomas10 » 2018-05-31 12:38

Hi All,

Recently, I found that sometimes in the spamd, it mentioned about Bayes: cannot open bayes database. Below is the sample:

Code: Select all

Thu May 31 17:40:49 2018 [-2928] info: spamd: connection from GCF [127.0.0.1]:58866 to 
port 783, fd 7
Thu May 31 17:40:49 2018 [-2928] info: spamd: processing message 
<1631725236.2618.1527759593372.JavaMail.pie_ek@hqibm303.hq.emirates.com> for (unknown):0
Thu May 31 17:41:00 2018 [-2928] warn: bayes: cannot open bayes databases 
C:\Windows\system32\config\systemprofile\.spamassassin/bayes_* R/W: lock failed: File 
exists
Thu May 31 17:41:00 2018 [-2928] info: spamd: clean message (-2.6/5.0) for (unknown):0 in 
10.8 seconds, 5979 bytes.
Thu May 31 17:41:00 2018 [-2928] info: spamd: result: . -2 - 
BAYES_00,HTML_MESSAGE,JAM_DO_STH_HERE,KHOP_RCVD_UNTRUST,MIME_HTML_ONLY,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,URIBL_BLOCKED
 
scantime=10.8,size=5979,user=(unknown),uid=0,required_score=5.0,rhost=GCF,raddr=127.0.0.1,rport=58866,mid=<1631725236.2618.1527759593372.JavaMail.pie_ek@hqibm303.hq.emirates.com>,bayes=0.000000,autolearn=unavailable
 autolearn_force=no
Thu May 31 17:41:00 2018 [-2928] info: spamd: child got SIGINT, exiting
Thu May 31 17:41:00 2018 [4012] info: prefork: adjust: 3 idle children more than 2 maximum
 idle children. Decreasing spamd children: -2928 killed.
Thu May 31 17:41:03 2018 [4012] info: spamd: handled cleanup of child pid [-2928]: exit 0
But it doesn't happen everyday. Can anyone explain on what it is and the impact when it appeared? Thanks so much. :D

Regards,
Thomas

User avatar
jimimaseye
Moderator
Moderator
Posts: 8132
Joined: 2011-09-08 17:48

Re: warn: bayes: cannot open bayes databases

Post by jimimaseye » 2018-05-31 13:54

I dont know myself. You might be better off asking Jam support. They are usually quite useful.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

Post Reply