Quote:
Originally Posted by quanah 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.