fcntl() failed – No locks available

Recently, I’ve been trying to setup dovecot with postfix on a server. While attempting to get kerberos/ldap authentication working, I’ve ran into the following error:

dovecot: Feb 22 22:43:02 Error: IMAP(leo): fcntl() failed with file /home/leo/Maildir/dovecot.index.log: No locks available
dovecot: Feb 22 22:43:02 Error: IMAP(leo): mail_index_wait_lock_fd() failed with file /home/leo/Maildir/dovecot.index.log: No locks available

The /home directory is a automounted NFS share from a remote server. To resolve this issue, ensure that nfslock is running on both the server and client machine.

Leave a Reply

Your email address will not be published.