Dovecot already running

  • Hi,


    My mail logs are full of the following messages:
    This can be found in:
    /var/log/imscp/mail.smtp.log
    /var/log/imscp/mail.po.log
    and /var/log/mail.log


    Code
    1. ...
    2. Dec 4 08:51:00 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    3. Dec 4 08:51:10 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    4. Dec 4 08:51:20 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    5. Dec 4 08:51:30 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    6. Dec 4 08:51:41 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    7. Dec 4 08:51:51 gem dovecot: master: Fatal: Dovecot is already running with PID 16658 (read from /var/run/dovecot/master.pid)
    8. ...


    My server is running:
    - Ubuntu 14.04.1 LTS
    - i-MSCP 1.1.18 Build: 20141122
    - dovecot 2.2.9



    I've already tried to kill all dovecot process, then delete the pid file. And restarting. after 5 minutes, i got the same problem again.


    Perhaps this is also important.
    Last week i have made an upgrade of ubuntu from 12.04 to 14.04.1. With no problems.



    What can i do to fix this problem?



    Daniel

  • Hello,


    First please ---> i-MSCP bugs - Reporting rules , else your thread will be deleted ;)


    You can fix your problem as follow:


    Code
    1. # rm /var/run/dovecot/master.pid
    2. # service restart dovecot

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    Output of dovecot -n ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I rebooted the server. And everything seems working perfectly now.


    Just for info, the output of "dovecot -n":



    Thanks.