Article ID: 2261, created on Oct 15, 2007, last review on Jul 4, 2014

  • Applies to:
  • Operations Automation

Symptoms

Clustered Qmail runs over NFS, mail related background tasks are stuck running, email services are affected too.
 

Cause

Sometimes NFS mounted storages can fail (usually due to network issues) and it could block all IO operations on them, so Clustered Qmail stops working.
 

Resolution

Usually, the only solution is to restart all NFS bound services:

On affected mail servers:

1) stop all mail-related services:
# /etc/init.d/courier-imap stop
# /etc/init.d/qmail stop
# /etc/init.d/xinetd stop


2) kill all processes, which were using files from NFS

3) unmount NFS share
umount -f /usr/local/qmail/shared

4) stop NFS services
# /etc/init.d/nfs stop
# /etc/init.d/nfslock stop


5) kill pem agent
# killall -9 pem pleskd

On the NFS server:

1) restart NFS services (can be server-specific):
# /etc/init.d/nfs restart

On affected mail servers:

1) start NFS services
# /etc/init.d/nfs start
# /etc/init.d/nfslock start


2) mount NFS share
# mount -a

3) start mail services
# /etc/init.d/courier-imap start
# /etc/init.d/qmail start
# /etc/init.d/xinetd start


4) start PEM agent
# /etc/init.d/pem start

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF