David Newman
2015-09-15 18:29:08 UTC
(cross-posting from the pho-postfix list, as I haven't gotten an answer
there)
Maia 1.0.4 on FreeBSD running as user vscan. User vscan's crontab
includes this line:
0 * * * * /usr/local/share/maia/scripts/process-quarantine.pl --learn
--report > /dev/null
Around once a day or so, and not at any particular time I can discern,
the cron job fails with errors like this:
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
How to address the locking issue?
Thanks!
dn
there)
Maia 1.0.4 on FreeBSD running as user vscan. User vscan's crontab
includes this line:
0 * * * * /usr/local/share/maia/scripts/process-quarantine.pl --learn
--report > /dev/null
Around once a day or so, and not at any particular time I can discern,
the cron job fails with errors like this:
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
How to address the locking issue?
Thanks!
dn