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

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 09-13-2009, 12:23 PM
Active Member
 
Posts: 35
Default [SOLVED] Unable to upgrade from 5.0.16 to 6.0 - Server broken, a nightmare!

I tried an upgrade from 5.0.16_GA to 6.0_GA, after the upgrade mailboxd did nont start. I ran in this Error:
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.BindException: cannot assign requested address
which ist described http://www.zimbra.com/forums/install...-solution.html

The Solution did not work, I ran into this Error:
Code:
root@zimbra:/usr/src/zcs-6.0.0_GA_1802.UBUNTU6.20090830162655# /opt/zimbra/bin/zmcertmgr deploycrt self
** Saving server config key zimbraSSLCertificate...failed.
** Saving server config key zimbraSSLPrivateKey...failed.
** Installing mta certificate and key...done.
** Installing slapd certificate and key...done.
** Installing proxy certificate and key...done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...failed.

XXXXX ERROR: failed to create jetty.pkcs12
unable to load private key
which seems to be described here: Failed to create jetty.pkcs12 - Zimbra :: Wiki

I tried to solve this problem, no sucess. LDAP does not start at all. Trying to reinstall I finaly recieve this:

Code:
Starting ldap...failed with exit code: 256.
main: TLS init def ctx failed: -1
Now the server seems to be broken, pleas help! PANIC!

Last edited by mtanzer; 09-13-2009 at 03:40 PM..
Reply With Quote
  #2 (permalink)  
Old 09-13-2009, 03:32 PM
Partner (VAR/HSP)
 
Posts: 421
Default

Looks like a cert issue. Try reinstalling the server certs.
Reply With Quote
  #3 (permalink)  
Old 09-13-2009, 03:39 PM
Active Member
 
Posts: 35
Default

I solved it. After the upgrade the file /opt/zimbra/jetty/etc/keystore was missing. Moving from one error to the other the problem got worse and worse. Finally I followed this instructions.

Recreating a Self-Signed SSL Certificate - Zimbra :: Wiki

This solved my problem.
Reply With Quote
  #4 (permalink)  
Old 10-25-2009, 01:53 PM
Project Contributor
 
Posts: 55
Default

I upgraded from 5.0.16 to 6.0.2 and I had the same problem.

Only the manual certificate operation solved the problem.

Thanks guys!!

-- Timo

PS. 6.0.2 is great
Reply With Quote
  #5 (permalink)  
Old 11-08-2009, 07:12 AM
Active Member
 
Posts: 35
Default

I upgraded the Commercial Distribution from 5.0.18 to 6.0.2 - still the same Problem! Since 3 releases not solved... I have a lot of Servers to upgrade, so I wait for 6.0.3. Hope you guys will have fixed it then.
Reply With Quote
  #6 (permalink)  
Old 11-08-2009, 11:50 AM
Des Des is offline
Member
 
Posts: 12
Default

Quote:
Originally Posted by mtanzer View Post
I solved it. After the upgrade the file /opt/zimbra/jetty/etc/keystore was missing. Moving from one error to the other the problem got worse and worse. Finally I followed this instructions.

Recreating a Self-Signed SSL Certificate - Zimbra :: Wiki

This solved my problem.
So the instructions for 5.0+ are valid for 6.0+?
Reply With Quote
  #7 (permalink)  
Old 11-10-2009, 12:35 AM
Active Member
 
Posts: 35
Default

Yes, it worked for me.
Reply With Quote
  #8 (permalink)  
Old 11-10-2009, 09:20 PM
Special Member
 
Posts: 139
Thumbs up

Quote:
Originally Posted by mtanzer View Post
I solved it. After the upgrade the file /opt/zimbra/jetty/etc/keystore was missing. Moving from one error to the other the problem got worse and worse. Finally I followed this instructions.

Recreating a Self-Signed SSL Certificate - Zimbra :: Wiki

This solved my problem.
This Solved my Problem too for 5.02 t 6.02
Reply With Quote
  #9 (permalink)  
Old 01-04-2010, 12:19 PM
Intermediate Member
 
Posts: 18
Default

Upgraded from 5.0.18 to 5.0.21 and now i cant stard my server my server:

Code:
        Starting ldap...Done.
FAILED
Failed to start slapd.  Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:356
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:358
main: TLS init def ctx failed: -1
What we tryed:

AS Root:
Code:
[root@email /]# rm -rf /opt/zimbra/ssl
[root@email /]# mkdir /opt/zimbra/ssl
[root@email /]# chown zimbra:zimbra /opt/zimbra/ssl
[root@email /]# chown zimbra:zimbra /opt/zimbra/java/jre/lib/security/cacerts
[root@email /]# chmod 644 /opt/zimbra/java/jre/lib/security/cacerts
[root@email /]# /opt/zimbra/bin/zmcertmgr createca -new
** Creating directory /opt/zimbra/ssl/zimbra
** Creating directory /opt/zimbra/ssl/zimbra/ca
** Creating directory /opt/zimbra/ssl/zimbra/server
** Creating directory /opt/zimbra/ssl/zimbra/commercial
** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done
** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done.
** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done.
[root@email /]# /opt/zimbra/bin/zmcertmgr deployca -localonly
** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done.
** Copying CA to /opt/zimbra/conf/ca...done.
[root@email /]# /opt/zimbra/bin/zmcertmgr createcrt self -new
** Creating /opt/zimbra/conf/zmssl.cnf...done
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20100104191121
** Retrieving server config key zimbraSSLCertificate...failed.
** Retrieving server config key zimbraSSLPrivateKey...failed.
** Generating a server csr for download self
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20100104191123
** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Saving server config key zimbraSSLPrivateKey...failed.
** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
[root@email /]# /opt/zimbra/bin/zmcertmgr deploycrt self
** Saving server config key zimbraSSLCertificate...failed.
** Saving server config key zimbraSSLPrivateKey...failed.
** Installing mta certificate and key...done.
** Installing slapd certificate and key...done.
** Installing proxy certificate and key...done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
** Installing CA to /opt/zimbra/conf/ca...done.
As Zimbra:

Code:
[zimbra@email ~]$ keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
[zimbra@email ~]$ keytool -delete -alias jetty -keystore /opt/zimbra/mailboxd/etc/keystore -storepass zimbra
[zimbra@email ~]$ zmlocalconfig -s -m nokey mailboxd_keystore_password
zimbra
[zimbra@email ~]$ zmcontrol start
Host email.system.com
        Starting ldap...Done.
FAILED
Failed to start slapd.  Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:356
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:358
main: TLS init def ctx failed: -1
Please any help would be great we cant bring the server back up
Reply With Quote
  #10 (permalink)  
Old 01-04-2010, 12:28 PM
Partner (VAR/HSP)
 
Posts: 421
Default

HAve you checked the hosts file?
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.