Red Hat Bugzilla – Bug 56141
Timeout exceeded while attempting fcntl lock! - NFS-mounted mailboxes won't work.
Last modified: 2014-03-16 22:24:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13 i686; Nav)
Description of problem:
Whenever I open a mailbox, I get the message: Timeout exceeded while
attempting fcntl lock!.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start balsa with some nfs-mounted mailboxes
2. Open one of those mailboxes
Actual Results: I get the message "Timeout exceeded while attempting fcntl
Expected Results: I should be able to open mailboxes without this problem,
and I should be able to send mail.
If I try to send a mail I get the message:
"Timeout exceeded while attempting fcntl lock!
Couldn't lock /home/jonry/mail/outbox
Timeout exceeded while attempting fcntl lock!
Couldn't lock /home/jonry/mail/sentbox
Timeout exceeded while attempting fcntl lock!"
Also I get an error message which in English would be something like:
"Problem with SMTP-server: Nothing to do"
Previously I ran balsa from the machine that physically holds my mailboxes
- no problem. From a remote machine, however, it will not work.
(My problem is with the latest balsa 1.2.3, but it may apply to previous
compilations as well.)
Do you have lockd running on both the server and the client?
Unfortunately not. The server (debian) runs a userspace nfs demon - lockd is run
when/if the server needs it. The client (RedHat) runs lockd... I fear that this
implies that the problem is mine and not yours, but thanks anyway. Btw. I tried
to recompile balsa 1.2.3 - the executable resulted in a segmentation fault.
Unfortunately, for NFS locking to work, lockd must be running on both the client
& server, or the filesystem must be mounted with '-o nolock'.