[Mimedefang] bayes database lock error [SEC=OFFICIAL]
Richard Laager
rlaager at wiktel.com
Mon Feb 3 23:36:34 EST 2025
On 2025-02-03 19:27, Ryan Lindsay via MIMEDefang wrote:
>
> OFFICIAL
>
> Hi
>
> We run 4 mail servers with the same version of sendmail and mimedefang
> on them.
>
> Running on RHEL 8.10
>
> sendmail-milter-8.15.2-34.el8.x86_64
>
> mimedefang-3.4.1-1.el8.x86_64
>
> We basically use the servers to add the boilerplate water mark to our
> email.
>
> On one of the servers, I’ve noticed this error re-occurs fairly regularly
>
> Feb 4 12:14:37 prod-vmail02.aipo.gov.au
> mimedefang-multiplexor[1978037]: 5141ER2q1989140: Worker 0 stderr:
> bayes: cannot open bayes databases /var/spool/MD-Quarantine/.sp
>
> Feb 4 12:14:37 prod-vmail02.aipo.gov.au
> mimedefang-multiplexor[1978037]: 5141ER2q1989140: Worker 0 stderr:
> amassassin/bayes_* R/W: lock failed: File exists
>
It's saying it can't lock it because the lock already exists.
> I’m a little stumped by this as I’m not sure what it’s telling me.
>
> I’ve looked at the folder and it exists
>
> [root at prod-vmail02 .spamassassin]# ls -lah
>
> total 4.2G
>
> drwx------. 2 defang defang 57 Feb 4 12:25 .
>
> drwxr-x---. 3 defang defang 26 May 16 2023 ..
>
> -rw-------. 1 defang defang 33 Feb 4 12:25 bayes.lock
>
Is this lock stuck?
> -rw-------. 1 defang defang 320M Feb 4 10:39 bayes_seen
>
> -rw-rw-rw-. 1 defang defang 5.0G Feb 4 12:25 bayes_toks
>
> [root at prod-vmail02 .spamassassin]# pwd
>
> /var/spool/MD-Quarantine/.spamassassin
>
> It doesn’t appear to have a problem writing to the folder
>
> Can someone explain this error and how to fix it?
>
> Thanks
>
>
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID. You may ignore it.
>
> MIMEDefang mailing listMIMEDefang at lists.mimedefang.org
> https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org
--
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20250203/98e2a3cf/attachment.htm>
More information about the MIMEDefang
mailing list