Weblog entry #211 for ajt

Strange Dovecot behaviour solved
Posted by ajt on Wed 7 May 2014 at 22:08
Tags: none.

I recently had an incident where Dovecot didn't start properly and then the following day it did. Yesterday I had the same scenario and it was really annoying. The core process starts but none of the actual worker children do.

The problem turns out to be a NFS mount to a box that went away, which meant when Dovecot started went looking for email mbox files on the home directory of the users (not NFS mounted) it got stuck. I eventually spotted this by starting Dovecot under strace and it was instantly obvious what the problem was, and a quick force umount of the now-absent filesystem allowed Dovecot to carry on.

 

Comments on this Entry

Posted by simonw (84.45.xx.xx) on Mon 12 May 2014 at 21:39
[ Send Message | View Weblogs ]

I assume you can configure the default mailbox location in Dovecot to not try the home directory too, which sounds like a sensible change to consider as well.

[ Parent | Reply to this comment ]