[Exim] Linux - fcntl locking problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: nbecker
Date:  
À: exim-users
Sujet: [Exim] Linux - fcntl locking problem
I have exim-3.03 installed on linux RH6.1 (with knfsd including
lockd).

Delivery through NFS fails. I have not changed default settings of
use_lockfile, etc.

Testing with exim_lock does this:

/usr/sbin/exim_lock -v ~nbecker/inbox
exim_lock: lockname =  /home/nbecker/inbox.lock
           hitchname = /home/nbecker/inbox.lock.rpppc5.hns.com.382b0d25.0000103d
exim_lock: creating lock file
exim_lock: lock file successfully created
exim_lock: fcntl() failed: No locks available
exim_lock: file closed
exim_lock: lock file removed
 ... waiting



[...]

I found the problem. lockd was not running on the NFS *client*.
lockd is started by the nfslock package on redhat. It is not enabled
by default. One more for the FAQ.