Hello,
I've been on this yesterday and one more time today but I can't find the cause of the problem.
Upgrading our servers from zcs 5.0.18 to 5.0.22 I always get this Java error when the zmsetup.pl script is doing its final stuff and even if I try to run zmprov after the upgrade is complete:
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
I have already encountered this each time a new Java update is available from Apple and I install it, but I know that this depends on the great minds at Apple that believe that 'changeme' is a better passord than 'changeit', as reported and solved here:
Java for Mac OS X Update breaks Mailboxd
The keytool storepasswd and the zimbra mailboxd_truststore_password actually match, so that should not be cause of my problem.
I have a daily backup of the /opt/zimbra directory so I have managed to go back to 5.0.18, but this doesn't look as a viable solution for me also because we are planning to upgrade to zcs 6.
FYI, we have two zimbra servers, one mta/ldap master and one mailbox/ldap replica, both running Mac OS X Server 10.5.8 with all system, security and Java updates installed.
Below you can find the output I get from zmsetup.pl and zmcontrol status. If needed, I have also attached to this post the whole content of zmsetup.log (see below).
Code:
# /opt/zimbra/libexec/zmsetup.pl
Starting ldap...done.
Setting defaults...done.
Upgrading from 5.0.18_GA_3011 to 5.0.22_GA_3210
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
Starting logger mysql
This appears to be 5.0.18_GA
Redolog Version: 1.24 New Redolog Version: 1.24
Stopping mysql
Stopping logger mysql
Checking ldap status
Starting ldap
Checking 3.0.M1
Checking 3.0.0_M2
Checking 3.0.0_M3
Checking 3.0.0_M4
Checking 3.0.0_GA
Checking 3.0.1_GA
Checking 3.1.0_GA
Checking 3.1.1_GA
Checking 3.1.2_GA
Checking 3.1.3_GA
Checking 3.1.4_GA
Checking 3.2.0_M1
Checking 3.2.0_M2
Checking 4.0.0_RC1
Checking 4.0.0_GA
Checking 4.0.1_GA
Checking 4.0.2_GA
Checking 4.0.3_GA
Checking 4.0.4_GA
Checking 4.0.5_GA
Checking 4.1.0_BETA1
Checking 4.5.0_BETA1
Checking 4.5.0_BETA2
Checking 4.5.0_RC1
Checking 4.5.0_RC2
Checking 4.5.0_GA
Checking 4.5.1_GA
Checking 4.5.2_GA
Checking 4.5.3_GA
Checking 4.5.4_GA
Checking 4.5.5_GA
Checking 4.5.6_GA
Checking 4.5.7_GA
Checking 4.5.8_GA
Checking 4.5.9_GA
Checking 4.6.1_RC1
Checking 4.5.10_GA
Checking 4.5.11_GA
Checking 5.0.0_BETA1
Checking 5.0.0_BETA2
Checking 5.0.0_BETA3
Checking 5.0.0_BETA4
Checking 5.0.0_RC1
Checking 5.0.0_RC2
Checking 5.0.0_RC3
Checking 5.0.0_GA
Checking 5.0.1_GA
Checking 5.0.2_GA
Checking 5.0.3_GA
Checking 5.0.4_GA
Checking 5.0.5_GA
Checking 5.0.6_GA
Checking 5.0.7_GA
Checking 5.0.8_GA
Checking 5.0.9_GA
Checking 5.0.10_GA
Checking 5.0.11_GA
Checking 5.0.12_GA
Checking 5.0.13_GA
Checking 5.0.14_GA
Checking 5.0.15_GA
Checking 5.0.16_GA
Checking 5.0.17_GA
Checking 5.0.18_GA
Checking 5.0.19_GA
Updating from 5.0.19_GA
Checking 5.0.20_GA
Updating from 5.0.20_GA
Checking 5.0.21_GA
Updating from 5.0.21_GA
Checking 5.0.22_GA
Updating from 5.0.22_GA
Stopping ldap
Upgrade complete
Setting defaults from existing config...done.
Disabling postfix in launchd
Checking for port conflicts
Starting ldap...done.
Setting defaults from ldap...done.
Saving config in /opt/zimbra/config.37326...done.
Operations logged to /tmp/zmsetup.03072010-094512.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Installing mailboxd SSL certificates...done.
Updating ldap_root_password and zimbra_ldap_password...done.
Enabling ldap replication...done.
Stopping ldap...done.
Starting ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Saving CA in ldap ...done.
Creating server entry for mta.mydomain.com...done.
Saving SSL Certificate in ldap ...done.
Setting service ports on mta.mydomain.com...done.
Adding mta.mydomain.com to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
done.
Installing skins...
bare
beach
bones
hotrod
lavender
lemongrass
sand
sky
steel
waves
yahoo
zmail
done.
Setting Keyboard Shortcut Preferences...done.
Setting zimbraFeatureIMEnabled=TRUE...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting zimbraFeatureNotebookEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
prov> Creating user spam@mydomain.com...done.
Creating user ham@mydomain.com...done.
Setting spam training accounts...done.
Initializing mta config...done.
Configuring SNMP...done.
Setting services on mta.mydomain.com...done.
Setting up syslog.conf...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: java.net.SocketException Broken pipe)
done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (5.0.22_GA_3210_MACOSXx86_10.5)
The ADMIN EMAIL ADDRESS created (admin@mydomain.com)
Notify Zimbra of your installation? [Yes]
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=5.0.22_GA_3210_MACOSXx86_10.5&MAIL=admin@mydomain.com
ERROR: Notification failed
Starting servers...Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
done.
Checking for deprecated zimlets...done.
Checking for network zimlets in LDAP...done.
Removing network zimlets...
Finished removing network zimlets.
Installing common zimlets...
com_zimbra_bulkprovision...failed. This may impact system functionality.
com_zimbra_cert_manager...failed. This may impact system functionality.
com_zimbra_date...failed. This may impact system functionality.
com_zimbra_email...failed. This may impact system functionality.
com_zimbra_local...failed. This may impact system functionality.
com_zimbra_phone...failed. This may impact system functionality.
com_zimbra_url...failed. This may impact system functionality.
com_zimbra_ymemoticons...failed. This may impact system functionality.
Finished installing common zimlets.
Upgrading Document templates...failed.
Restarting mailboxd...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.03072010-094512.log to /opt/zimbra/log
Configuration complete - press return to exit
root@mta:/opt#
Code:
zimbra@mta:~$ zmcontrol status
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host mta.mydomain.com
antispam Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
stats Running