Dovecot 1.2.10 fails to start

Ryan Schmidt ryandesign at macports.org
Sat Feb 6 02:43:33 PST 2010


On Feb 5, 2010, at 12:01, Mark Hattam wrote:

> sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16
> 
> upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up
> 
> Feb  5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2
> Feb  5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable
> Feb  5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf
> 
> OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change
> 
> less dovecot-example.conf
> # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
> #ssl = yes
> 
> less dovecot.conf
> # Disable SSL/TLS support.
> ssl_disable = yes
> 
> So comment out the
> ssl_disable line and add the ssl line (with no)
> 
> 
> HOWEVER, that just led to this error
> 
> Feb  5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2
> Feb  5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server
> Feb  5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server
> 
> 
> But the error log just says the same thing
> Feb  5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled)
> Feb  5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server
> 
> 
> Googling the error, suggests that this is a known problem with a patch in Oct 2008
> 
> But how to apply the patch?
> 
> [Gone back to 1.1.16 so I can write this]

I'm sorry you're having difficulties. Unfortunately I don't know anything about dovecot; I just committed the update that was attached to a ticket. If there is a patch we should be applying, can you refer me to the appropriate URL? Have you already contacted the developers of dovecot for assistance? They should know better than I how to get their software working.

Off the top of my head, to the error "Socket already exists" -- does it? If so, why? Is dovecot running? If so, stop it, make sure the socket doesn't exist anymore (delete it if it doesn't go away on its own), then start dovecot again. Does it now start cleanly?




More information about the macports-users mailing list