DirectAdmin Dovecot

DirectAdmin sent a warning message stating:

The service 'dovecot' on server insert.server.here is currently down

Using DirectAdmin’s Service Monitor to restart it resulted in this error:

/sbin/service dovecot restart 2>&1

So I SSH in and try to restart it manually from the command line:

/sbin/service dovecot start

I receive this error:

Fatal: listen(0.0.0.0, 993) failed: Address already in use

So we need to find you what is hogging port 993 by using the lsof command:

lsof -i:993

lsof tells me that PID 2083 is bound to port 993 so I kill it:

kill 2083

Dovecot starts successfully. Yay!

Read more lsof information at dmiessler.com

...Comment