You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Emanuel Gonzalez <em...@gmail.com> on 2018/10/24 10:27:03 UTC

spamd: error: failed to obtain port and ip from socket

Hello.!!

I have a problem with the `/.spamassassin/bayes.lock`

This is the error I'm seeing :

    Oct 23 15:12:14 server spamd[18073]: bayes: cannot open bayes databases
/.spamassassin/bayes_* R/W: lock failed: File exists
    Oct 23 15:12:14 server spamd[18157]: bayes: cannot open bayes databases
/.spamassassin/bayes_* R/W: lock failed: File exists
    Oct 23 15:12:14 server spamd[18107]: bayes: cannot open bayes databases
/.spamassassin/bayes_* R/W: lock failed: File exists


The command `spamassassin -V` is showing :

    SpamAssassin version 3.4.1
    running on Perl version 5.10.1

    bayes_expiry_max_db_size 150000
    bayes_learn_to_journal 1
    bayes_auto_learn 0


128K    bayes_journal
547M    bayes_seen
4,0M    bayes_toks


    # spamassassin

    SPAMDOPTIONS="-u nobody -H --round-robin --min-children=30
--max-children=190 --min-spare=5 --max-spare=80 --timeout-child=120
--max-conn-per-child=100 -i -A IP"

    # directory perms

Also the command `ll -d /.spamassassin` is showing :

    drwxrwxrwx 3 nobody nobody 4096 oct 23 15:16 /.spamassassin

I restart the service and it works, but the problem reappears again

Do you have any idea how to solve it?

Regards,