Results 1 to 2 of 2

Thread: Java error on Mac OS X 10.5 upgrading zcs 5.0.18 to 5.0.22

  1. #1
    Join Date
    Oct 2008
    Posts
    38
    Rep Power
    7

    Default Java error on Mac OS X 10.5 upgrading zcs 5.0.18 to 5.0.22

    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:
    http://www.zimbra.com/forums/adminis...-mailboxd.html
    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
    Attached Files Attached Files
    Last edited by fab; 03-07-2010 at 01:43 PM.

  2. #2
    Join Date
    Oct 2008
    Posts
    38
    Rep Power
    7

    Default

    I forgot to mention that in /opt/zimbra there is the proper link to the Java home directory, indeed zcs 5.0.18 works fine:

    zimbra@mta:~$ ls -l /opt/zimbra/java
    lrwxrwxrwx 1 root wheel 18B Mar 7 09:59 /opt/zimbra/java -> /Library/Java/Home
    zimbra@mta:~$ ls -l /Library/Java/Home
    lrwxr-xr-x 1 root admin 48B Feb 22 16:20 /Library/Java/Home -> /System/Library/Frameworks/JavaVM.framework/Home
    zimbra@mta:~$ ls -l /System/Library/Frameworks/JavaVM.framework/Home
    lrwxr-xr-x 1 root wheel 24B Feb 22 16:20 /System/Library/Frameworks/JavaVM.framework/Home -> Versions/CurrentJDK/Home
    zimbra@mta:~$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
    total 146624
    -rw-r--r-- 1 root wheel 95K Jun 27 2008 appledocs.jar
    drwxr-xr-x 35 root wheel 1.2K Feb 22 16:20 bin
    lrwxr-xr-x 1 root wheel 3B Feb 22 16:20 bundle -> ../
    -rw-r--r-- 1 root wheel 32M Jun 27 2008 docs.jar
    lrwxr-xr-x 1 root wheel 10B Feb 22 16:20 include -> ../Headers
    drwxr-xr-x 37 _update_sharing wheel 1.2K Feb 22 16:22 lib
    drwxr-xr-x 35 root wheel 1.2K Feb 22 16:20 man
    lrwxr-xr-x 1 root wheel 9B Feb 22 16:20 shared_bundle -> ../../../
    -rw-r--r-- 1 root wheel 40M Jun 27 2008 src.jar
    Last edited by fab; 03-07-2010 at 12:45 PM.

Similar Threads

  1. Replies: 2
    Last Post: 09-21-2009, 01:01 AM
  2. Replies: 2
    Last Post: 05-06-2009, 10:27 AM
  3. ZCS 5.0.10 and iSync with Mac OS X 10.4.x (Tiger)
    By eMHa in forum CalDAV / CardDAV / iSync
    Replies: 0
    Last Post: 11-06-2008, 05:07 AM

Posting Permissions

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