courier-imapd or Dovecot services cannot be started

Created:

2016-11-16 13:11:41 UTC

Modified:

2017-06-22 06:06:51 UTC

2

Was this article helpful?


Have more questions?

Submit a request

courier-imapd or Dovecot services cannot be started

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Cannot start courier-imapd service:

# service courier-imapd start
courier-imapd: bind: Address already in use

OR

Cannot start Dovecot service:

# service dovecot start
Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use
Error: service(pop3-login): listen(*, 995) failed: Address already in use
Error: service(imap-login): listen(*, 143) failed: Address already in use
Error: service(imap-login): listen(*, 993) failed: Address already in use
Fatal: Failed to start listeners
[FAILED]

Cause

Something else is using the port already

# netstat -tulpn | grep 143
udp 0 0 0.0.0.0:143 0.0.0.0:* 1564/portreserve

Resolution

  1. Stop portreserve:

    # service portreserve stop
    Stopping portreserve: [ OK ]
  2. Start courier-imapd/dovecot service:

    # service courier-imapd restart

    OR

    # /etc/init.d/dovecot restart
  3. Turn off portreserve start at boot:

    # chkconfig --list portreserve
    portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    # chkconfig portreserve off
    # chkconfig --list portreserve
    portreserve 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Have more questions? Submit a request
Please sign in to leave a comment.