Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: [SOLVED] Unable to upgrade from 5.0.16 to 6.0 - Server broken, a nightmare!

  1. #1
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    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 02:40 PM.

  2. #2
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Looks like a cert issue. Try reinstalling the server certs.

  3. #3
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    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.

  4. #4
    meikka is offline Project Contributor
    Join Date
    Nov 2005
    Posts
    55
    Rep Power
    9

    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

  5. #5
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    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.

  6. #6
    Des
    Des is offline Member
    Join Date
    Sep 2009
    Posts
    12
    Rep Power
    5

    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+?

  7. #7
    mtanzer is offline Active Member
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    40
    Rep Power
    8

    Default

    Yes, it worked for me.

  8. #8
    Himanshu is offline Advanced Member
    Join Date
    Jan 2008
    Posts
    223
    Rep Power
    7

    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

  9. #9
    rnuno is offline Intermediate Member
    Join Date
    May 2007
    Posts
    18
    Rep Power
    8

    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

  10. #10
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    HAve you checked the hosts file?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Problems receiving mail with Zimbra
    By jsr in forum Administrators
    Replies: 12
    Last Post: 08-08-2009, 08:15 AM
  2. Erorr..initializing ldap failed(5362)
    By Logan_filter in forum Installation
    Replies: 10
    Last Post: 12-19-2008, 01:10 PM
  3. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  4. 3.0.1 GA upgrade problem
    By kollross in forum Administrators
    Replies: 5
    Last Post: 04-04-2006, 10:42 AM
  5. Replies: 18
    Last Post: 03-20-2006, 02:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •