Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-2010, 08:53 AM
Active Member
 
Posts: 29
Default [SOLVED] mailboxd won't start - SSL error

Server was running along pretty good and then BOOM.

Since it's been in service a while, my hosts file is fine, MX records, DNS, etc...

Here is one error from mailboxd.out

Code:
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Fatal error: exception while binding to ports
java.net.SocketException: Unbound server sockets not implemented
Then if I changed the configuration of my system from "zimbra_ssl_enabled = true" to "zimbra_ssl_enabled = false"

I got this error in mailboxd.out

Code:
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
        at java.security.KeyStore.load(KeyStore.java:1150)
        at com.zimbra.common.util.DefaultTrustManager.<init>(DefaultTrustManager.java:49)
        ... 39 more
Unable to initialize SSL:
Looks like a problem with SSL huh?

The problem is either with the java cacerts file or the keystore file for mailboxd. And after a long day re-generating and reloading self-assigned certs, and still never figuring out how to repair/regenerate either of these files, here is my solution.

I set up an Ubuntu box, installed the same version of Zimbra, ran zmlocalconfig -s | grep "mailboxd", wrote down the keystore password for the working system, backed up the cacerts and the mailboxd keystore files, then I copied my bad files to the new working Ubuntu box and saw that it now had the same error.

So then I copied the good files to my dead server, changed the permissions and ownership to what it should be, set my mailboxd keystore password to match my new keystore file, and when I ran zmmailboxdctl start, it came right up and worked like a champ. Rebooted the server, still good, and it's still up now some 14 hours later.

My server is currently running Mac OS 10.5 and the fixer files came from Ubuntu 8.04 (Zcs version 6.05 on each).

One note, you do not have to set up the fixer box any further than a basic install.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.