Results 1 to 10 of 10

Thread: [SOLVED] 5.019 to 6.03 Upgrade Ldap Admin password not verified

  1. #1
    mattvogt is offline Member
    Join Date
    May 2008
    Location
    Los Angeles, CA
    Posts
    13
    Rep Power
    7

    Default [SOLVED] 5.019 to 6.03 Upgrade Ldap Admin password not verified

    I'm attempting an upgrade (thankfully on my test server) from 5.019 to 6.03 on RHEL 5.3 and running into an error during the upgrade.

    After everything gets upgraded (no issues) and it comes to the importing of the old configuration, I get prompted to complete some missing information (SMTP, Ldap root password, enable version update checks, etc.). All this is fine except for one item.

    This is what I see
    Code:
       1) Common Configuration:
             +Hostname:                                       server.my.co
             +Ldap master host:                               server.my.co
             +Ldap port:                                      389
    *******  +Ldap Admin password:                            Not Verified
             +Secure interprocess communications:             no
    When I choose (1) to edit the section, I see the same thing with line about the Ldap Admin password being #4, so I choose it to edit it. What it gives me as the default answer is the password it's supposed to be using. I've tried typing it in manually and just hitting enter, but it continues to be 'not verified'.

    If I hit 'r' to return to the config menu, I see this in the upgrade log:

    Code:
    Fri Dec 11 09:08:40 2009 Checking ldap on server.my.co:389
    Fri Dec 11 09:08:40 2009 failed: Unable to contact ldap at ldap://server.my.co:389: Connection refused
    Fri Dec 11 09:08:40 2009 Couldn't bind to server.my.co as uid=zimbra,cn=admins,cn=zimbra
    Fri Dec 11 09:08:40 2009 Checking ldap on server.my.co:389
    Fri Dec 11 09:08:40 2009 failed: Unable to contact ldap at ldap://server.my.co:389: Connection refused
    Fri Dec 11 09:08:40 2009 Couldn't bind to server.my.co as uid=zimbra,cn=admins,cn=zimbra
    Fri Dec 11 09:08:40 2009 checking isEnabled zimbra-snmp
    Fri Dec 11 09:08:40 2009 zimbra-snmp is enabled
    Fri Dec 11 09:08:40 2009 Checking ldap on server.my.co:389
    Fri Dec 11 09:08:40 2009 failed: Unable to contact ldap at ldap://server.my.co:389: Connection refused
    Fri Dec 11 09:08:40 2009 Couldn't bind to server.my.co as uid=zimbra,cn=admins,cn=zimbra
    Now of course it can't get to the ldap on server.my.co because the ldap is shut down for upgrading. I don't think it's a DNS issue because I can ping and dig the server and everything comes back fine.

    I do also see a bunch of Java errors in the install log, along the lines of:

    Code:
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' referenced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
    I cannot get beyond this without quitting the installer, but it's only half installed at this point (upgraded but not configured).

    Any thoughts? Any other info that would be useful?

    Thanks so much.

  2. #2
    mattvogt is offline Member
    Join Date
    May 2008
    Location
    Los Angeles, CA
    Posts
    13
    Rep Power
    7

    Default

    Tried to upgrade to 5.0.20 first then to 6.0.3. The upgrade to 5.0.20 went fine, system came up normal, no errors. But I had the same issue going to 6.0.3.

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

    Default

    Have you checked the SSL certs? They can cause problems if old/invalid...

  4. #4
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    I seem to recall many versions ago a manual procedure for older systems prior to an upgrade where you essentially had to set manually some passwords which in previous editions had not been set (or did not exist).

    I'm not finding specific posts here in the forums at the moment, but you should feel free to open a support ticket with Zimbra on something like this.

    Hope that helps,
    Mark

  5. #5
    mattvogt is offline Member
    Join Date
    May 2008
    Location
    Los Angeles, CA
    Posts
    13
    Rep Power
    7

    Default

    Quote Originally Posted by iway View Post
    Have you checked the SSL certs? They can cause problems if old/invalid...
    Thanks for the reply. I've checked the certs, and they're valid and current.

  6. #6
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Anything in this post that might be applicable to your system?

    6.0.3 Is Out & Recommended

    Hope that helps,
    Mark

  7. #7
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    LDAP should be running at the point you're at, so you need to figure out why LDAP isn't running. It's the first service that gets brought up as part of the upgrade process.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  8. #8
    mattvogt is offline Member
    Join Date
    May 2008
    Location
    Los Angeles, CA
    Posts
    13
    Rep Power
    7

    Default

    Quote Originally Posted by quanah View Post
    LDAP should be running at the point you're at, so you need to figure out why LDAP isn't running. It's the first service that gets brought up as part of the upgrade process.
    Thanks for the direction. I'm pouring through the logs, looking for any clues as to why the LDAP didn't start.

    What I see, as it goes through its progressions of upgrade

    5.0.20 --> 6.0.0_BETA1 - this goes without errors (updating schema, ldap [shutdowns, startups, checks, etc.])
    6.0.0_BETA1 --> 6.0.0_BETA2 this completes without errors
    6.0.0_BETA2 -->6.0.0_RC1 as soon as this starts, I get java errors with almost every command in the setup script:

    Code:
    Tue Dec 15 13:06:55 2009 Updating from 6.0.0_RC1
    Tue Dec 15 13:06:55 2009 *** Running as zimbra user: zmjava com.zimbra.common.localconfig.LocalConfigUpgrade --bug 37842 --bug
     37844 --bug 37802 --tag .pre.6.0.3_GA
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    these errors continue for a few pages then this:

    Code:
    Tue Dec 15 13:06:58 2009 *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -u soap_max_in_memory_buffer_size 2> /dev/n
    ull
    Tue Dec 15 13:06:58 2009 Updating from 6.0.0_RC2
    Tue Dec 15 13:06:58 2009 Updating from 6.0.0_GA
    Tue Dec 15 13:06:58 2009 Updating from 6.0.1_GA
    Tue Dec 15 13:06:58 2009 Updating from 6.0.2_GA
    Tue Dec 15 13:06:58 2009 *** Running as zimbra user: zmjava com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 41000 -v
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    Followed shortly by this:

    Code:
    Tue Dec 15 13:07:03 2009 Updating from 6.0.3_GA
    Tue Dec 15 13:07:03 2009 Updating global config and COS's with attributes introduced after 5.0.20_GA...
    Tue Dec 15 13:07:03 2009 *** Running as zimbra user: zmjava com.zimbra.cs.account.ldap.upgrade.LdapUpgrade -b 27075 -v 5.0.20_
    GA
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    which goes on for a bit and ends with this:

    Code:
    Tue Dec 15 13:07:06 2009 failed.
    Tue Dec 15 13:07:06 2009 Stopping ldap...
    Tue Dec 15 13:07:06 2009 *** Running as zimbra user: /opt/zimbra/bin/ldap stop
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    Caused by: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' referenced
            at com.zimbra.common.localconfig.LocalConfig.expandOnce(LocalConfig.java:105)
            at com.zimbra.common.localconfig.LocalConfig.expand(LocalConfig.java:118)
            at com.zimbra.common.localconfig.LocalConfig.expandAll(LocalConfig.java:333)
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:181)
            at com.zimbra.common.localconfig.LocalConfig.readConfig(LocalConfig.java:347)
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:352)
            ... 1 more
    Killing slapd with pid 7826 done.
    Tue Dec 15 13:07:11 2009 done.
    Tue Dec 15 13:07:16 2009 Upgrade complete.
    
    Tue Dec 15 13:07:16 2009 Getting installed packages
    Tue Dec 15 13:07:17 2009 zimbra_server_hostname contained in ldap_url checking ldap status
    Tue Dec 15 13:07:17 2009 Checking ldap status....
    Tue Dec 15 13:07:17 2009 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    Caused by: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' referenced
            at com.zimbra.common.localconfig.LocalConfig.expandOnce(LocalConfig.java:105)
            at com.zimbra.common.localconfig.LocalConfig.expand(LocalConfig.java:118)
            at com.zimbra.common.localconfig.LocalConfig.expandAll(LocalConfig.java:333)
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:181)
            at com.zimbra.common.localconfig.LocalConfig.readConfig(LocalConfig.java:347)
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:352)
            ... 1 more
    Tue Dec 15 13:07:17 2009 not running.
    Tue Dec 15 13:07:17 2009 Running bdb db_recover...
    Tue Dec 15 13:07:17 2009 *** Running as zimbra user: /opt/zimbra/bdb/bin/db_recover -h /opt/zimbra/data/ldap/hdb/db
    Tue Dec 15 13:07:17 2009 done.
    Tue Dec 15 13:07:17 2009 Running zmldapapplyldif...
    Tue Dec 15 13:07:17 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
    mkdir : No such file or directory at /opt/zimbra/libexec/zmldapapplyldif line 42
    Tue Dec 15 13:07:21 2009 failed.
    Tue Dec 15 13:07:21 2009 Checking ldap status....
    Tue Dec 15 13:07:21 2009 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at com.zimbra.common.localconfig.Main.main(Main.java:106)
    Caused by: java.lang.RuntimeException: com.zimbra.common.localconfig.ConfigException: null valued key 'postfix_version' refere
    nced
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:356)
            ... 1 more
    The part that caught my eye (which may be a red herring) was:

    Code:
    Tue Dec 15 13:07:17 2009 Running zmldapapplyldif...
    Tue Dec 15 13:07:17 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
    mkdir : No such file or directory at /opt/zimbra/libexec/zmldapapplyldif line 42
    Tue Dec 15 13:07:21 2009 failed.
    Tue Dec 15 13:07:21 2009 Checking ldap status....
    Line 42 of /opt/zimbra/libexec/zmldapapplyldif is:
    Code:
    if (!-d $zimbra_tmp_directory) {
      File::Path::mkpath("$zimbra_tmp_directory");
    }
    "FILE" refers to /opt/zimbra/zimbramon/lib/FILE, but there's no 'Path' file or folder, nor the 'mkpath' command.

    I think I'll probably open a support ticket at this point. Thankfully it's VM on a test machine so I can rollback to a snapshot.

  9. #9
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    You need to fix your localconfig.xml to remove any references to postfix_version
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  10. #10
    mattvogt is offline Member
    Join Date
    May 2008
    Location
    Los Angeles, CA
    Posts
    13
    Rep Power
    7

    Default

    Quote Originally Posted by quanah View Post
    You need to fix your localconfig.xml to remove any references to postfix_version
    I knew it was something simple. There were lots and lots of references to postfix_version. But they've been there for many an upgrade (we have postfix running on the backend Zimbra install), so why would this cause problems now? I noticed after the upgrade was completely done, all of those references were deleted. Is this a bug?

    In any case, THANK YOU!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] View Ldap Password
    By ayush1440 in forum Administrators
    Replies: 2
    Last Post: 04-13-2009, 12:56 PM
  2. [SOLVED] upgrade 4.5.6 > 5.0GA unable to bind to ldap
    By captainmish in forum Installation
    Replies: 5
    Last Post: 01-04-2008, 12:23 PM
  3. Replies: 0
    Last Post: 08-30-2007, 10:06 AM
  4. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  5. Force LDAP Upgrade?
    By jholder in forum Administrators
    Replies: 3
    Last Post: 09-07-2006, 08:15 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
  •