The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with Dovecot

Discussion in 'E-mail Discussions' started by Fbarajas, May 8, 2015.

  1. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    Hi! My server was up and running, no modifications, and suddently Dovecot stopped working. When I try to restart it, I get the following:

    root@nuevo [~]# service dovecot start
    Starting Dovecot Imap: Error: service(auth): Socket already exists: /var/run/dovecot/auth-login
    Error: service(auth): Socket already exists: /var/run/dovecot/auth-client
    Error: service(auth): Socket already exists: /var/run/dovecot/auth-userdb
    Error: service(auth): Socket already exists: /var/run/dovecot/auth-master
    Fatal: Failed to start listeners
    [FAILED]

    What can I do?

    Using Dovecot 2.2.16 under CLOUDLINUX 5.11 x86_64 standard – nuevo WHM 11.48.4 (build 2)
    Thanks!
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    We had a case on this (Case # 187313) which has been fixed as of 11.48.5. In the meantime you need to kill any hung Dovecot processes.

    Something like the following should do it:

    Code:
    # for i in `ps aux | grep dovecot | awk '{print $2}'` ; do kill -9 $i ; done
    
    Then you should be able to restart Dovecot with:

    Code:
    # /usr/local/cpanel/scripts/restartsrv_dovecot
    
     
  3. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    OK, thanks, that did the trick, and now I'm upgrading Cpanel.

     
  4. oempire

    oempire Registered

    Joined:
    Sep 6, 2014
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    had this issue aswell, can you advise when 11.48.5 will be released? the changelog.cpanel.net doesn't appear to show it.

    I'm currently running WHM 11.48.4 (build 2)
     
    Fbarajas likes this.
  5. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    Yes, I'd like to upgrade to, thanks!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    cPanel version 11.48.5 has not yet been released. There's currently no specific time frame available for it's publication. Please feel free to monitor our change log to determine when it's been released.

    Thank you.
     
  7. Fbarajas

    Fbarajas Active Member

    Joined:
    Jul 15, 2004
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Playa del Carmen, Mexico
    I had the dovecot problem again today. Any fix for it before the new Cpanel is released?

    Thanks!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  9. Kalil Costa

    Kalil Costa Registered

    Joined:
    Jun 4, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    News about this issue ? I have the same problem.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please see my earlier post on this thread:

     
  11. frogstarr78

    frogstarr78 Member

    Joined:
    Apr 11, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    I'd like to ask a, maybe, more obvious question about this. Why/How did dovecot crash in the first place? The thread seems focused the fix for a consequence of it crashing not on the actually detail of it crashing. It seems a less important detail to me. Am I crazy?
     
  12. HOTNET

    HOTNET Registered

    Joined:
    Jul 28, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Had the same issue today.
    I had to restart Exim before running the script.
    Now OK.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The issue stems from the inability to property stop dovecot, which prevents it from restarting properly. Often times you will see several processes like this one when it happens:

    Code:
    /usr/local/cpanel/bin/dovecot-wrap /usr/libexec/dovecot/checkpassword-reply
    Thank you.
     
Loading...

Share This Page