Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-2006, 05:01 PM
Junior Member
 
Posts: 5
Default Zimbra Upgrade FAILED Badly

LDAP did not upgrade properlya nd the service won't start. I have tried to run the upgrade again and still get LDAP service errors.

Install error:

Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.13637
Setting defaults...Setting defaults from existing config...Done
Checking for port conflicts
Starting ldap...Done
Setting defaults from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException XXX:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException XXX:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException XXX:389)



Log output:


Setting defaults...
Setting defaults from existing config...
Getting local config zimbra_server_hostname

Getting local config ldap_url

Getting local config ldap_port

Getting local config ldap_root_password

Getting local config mysql_root_password

Getting local config mysql_logger_root_password

Getting local config zimbra_mysql_password

Getting local config zimbra_logger_mysql_password

Done

Checking for port conflicts

Starting ldap...
*** Running as zimbra user: /opt/zimbra/openldap/sbin/slapindex -f /opt/zimbra/conf/slapd.conf

*** Running as zimbra user: /opt/zimbra/bin/ldap start

ERROR - failed to start slapd

*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif

ERROR - failed to start slapd

ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
ls: /opt/zimbra/lib/conf/*ldif: No such file or directory
Done

Setting defaults from ldap...
Done

Checking ldap on XXX:389...
FAILED ( ldap_bind: Can't contact LDAP server (-1) )

Checking ldap on XXX:389...
FAILED ( ldap_bind: Can't contact LDAP server (-1) )




Any help is appreciated as I am down until this is resolved...
Reply With Quote
  #2 (permalink)  
Old 09-04-2006, 05:10 PM
Junior Member
 
Posts: 5
Default

The initial upgrade log is as follows:

COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.saveconfig/config.save
COMMAND: zmcontrol shutdown
Host XXX
Stopping mta...Done
Stopping spell...Done
Stopping snmp...Done
Stopping antivirus...Done
Stopping antispam...Done
Stopping imapproxy...Done
Stopping mailbox...Done
Stopping logger...Done
Stopping ldap...Done
Preparing packages for installation...
zimbra-core-4.0.0_GA_303.RHEL4-20060829133702
mkdir: cannot create directory `/opt/zimbra/ssl': File exists
mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
Loading classes to share ... done.
Rewriting and unlinking classes ... done.
Calculating hash values for String objects .. done.
Calculating fingerprints ... done.
Removing unshareable information ... done.
Moving most read-only objects to shared space at 0x90a50000 ... done.
Moving common symbols to shared space at 0x90dcbf80 ... done.
Moving remaining symbols to shared space at 0x90ef7a60 ... done.
Moving string char arrays to shared space at 0x90ef84f0 ... done.
Moving additional symbols to shared space at 0x90f79e80 ... done.
Read-only space ends at 0x90fce070, 5759088 bytes.
Moving read-write objects to shared space at 0x91250000 ... done.
Moving String objects to shared space at 0x917d50b0 ... done.
Read-write space ends at 0x91815130, 6050096 bytes.
Updating references to shared objects ... done.

Preparing packages for installation...
zimbra-ldap-4.0.0_GA_303.RHEL4-20060829133702
Preparing packages for installation...
zimbra-logger-4.0.0_GA_303.RHEL4-20060829133702
Preparing packages for installation...
zimbra-mta-4.0.0_GA_303.RHEL4-20060829133702
umount2: Invalid argument
umount: /opt/zimbra/amavisd/tmp: not mounted
mv: cannot stat `/opt/zimbra/amavisd': No such file or directory
chown: changing ownership of `/opt/zimbra/httpd': No such file or directory
chown: changing ownership of `/opt/zimbra/mysql': No such file or directory
chown: changing ownership of `/opt/zimbra/snmp': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
Preparing packages for installation...
zimbra-snmp-4.0.0_GA_303.RHEL4-20060829133702
Preparing packages for installation...
zimbra-store-4.0.0_GA_303.RHEL4-20060829133702
Preparing packages for installation...
zimbra-apache-4.0.0_GA_303.RHEL4-20060829133702
Preparing packages for installation...
zimbra-spell-4.0.0_GA_303.RHEL4-20060829133702
COMMAND: zmlocalconfig -f -e av_notify_user='virus@XXX'
COMMAND: zmlocalconfig -f -e ldap_cache_account_maxage='15'
COMMAND: zmlocalconfig -f -e ldap_cache_account_maxsize='5000'
COMMAND: zmlocalconfig -f -e ldap_cache_cos_maxage='15'
COMMAND: zmlocalconfig -f -e ldap_cache_cos_maxsize='100'
COMMAND: zmlocalconfig -f -e ldap_cache_domain_maxage='15'
COMMAND: zmlocalconfig -f -e ldap_cache_domain_maxsize='100'
COMMAND: zmlocalconfig -f -e ldap_cache_server_maxage='15'
COMMAND: zmlocalconfig -f -e ldap_cache_server_maxsize='100'
COMMAND: zmlocalconfig -f -e ldap_cache_timezone_maxsize='100'
COMMAND: zmlocalconfig -f -e ldap_cache_zimlet_maxage='15'
COMMAND: zmlocalconfig -f -e ldap_cache_zimlet_maxsize='100'
COMMAND: zmlocalconfig -f -e ldap_connect_pool_debug='false'
COMMAND: zmlocalconfig -f -e ldap_connect_pool_initsize='1'
COMMAND: zmlocalconfig -f -e ldap_connect_pool_maxsize='25'
COMMAND: zmlocalconfig -f -e ldap_connect_pool_prefsize='0'
COMMAND: zmlocalconfig -f -e ldap_connect_pool_timeout='120000'
COMMAND: zmlocalconfig -f -e ldap_connect_timeout='10000'
COMMAND: zmlocalconfig -f -e ldap_host=''
COMMAND: zmlocalconfig -f -e ldap_is_master='true'
COMMAND: zmlocalconfig -f -e ldap_log_level='0'
COMMAND: zmlocalconfig -f -e ldap_master_url='ldap://XXX:389'
COMMAND: zmlocalconfig -f -e ldap_port=''
COMMAND: zmlocalconfig -f -e ldap_root_password='XXX'
COMMAND: zmlocalconfig -f -e ldap_url='ldap://XXX'
COMMAND: zmlocalconfig -f -e localized_msgs_directory='${zimbra_home}/conf/msgs'
COMMAND: zmlocalconfig -f -e logger_mysql_bind_address='localhost'
COMMAND: zmlocalconfig -f -e logger_mysql_data_directory='${zimbra_home}/logger/db/data'
COMMAND: zmlocalconfig -f -e logger_mysql_directory='${zimbra_home}/logger/mysql'
COMMAND: zmlocalconfig -f -e logger_mysql_mycnf='${zimbra_home}/conf/my.logger.cnf'
COMMAND: zmlocalconfig -f -e logger_mysql_pidfile='${zimbra_home}/logger/db/mysql.pid'
COMMAND: zmlocalconfig -f -e logger_mysql_port='7307'
COMMAND: zmlocalconfig -f -e logger_mysql_socket='${zimbra_home}/logger/db/mysql.sock'
COMMAND: zmlocalconfig -f -e mysql_bind_address='localhost'
COMMAND: zmlocalconfig -f -e mysql_data_directory='${zimbra_db_directory}/data'
COMMAND: zmlocalconfig -f -e mysql_directory='${zimbra_home}/mysql'
COMMAND: zmlocalconfig -f -e mysql_innodb_log_buffer_size='8388608'
COMMAND: zmlocalconfig -f -e mysql_innodb_log_file_size='104857600'
COMMAND: zmlocalconfig -f -e mysql_logger_root_password='XXX'
COMMAND: zmlocalconfig -f -e mysql_memory_percent='40'
COMMAND: zmlocalconfig -f -e mysql_mycnf='${zimbra_home}/conf/my.cnf'
COMMAND: zmlocalconfig -f -e mysql_pidfile='${zimbra_db_directory}/mysql.pid'
COMMAND: zmlocalconfig -f -e mysql_port='7306'
COMMAND: zmlocalconfig -f -e mysql_read_buffer_size='1048576'
COMMAND: zmlocalconfig -f -e mysql_root_password='XXX'
COMMAND: zmlocalconfig -f -e mysql_socket='${zimbra_db_directory}/mysql.sock'
COMMAND: zmlocalconfig -f -e mysql_sort_buffer_size='1048576'
COMMAND: zmlocalconfig -f -e mysql_table_cache='500'
COMMAND: zmlocalconfig -f -e nio_imap_enable='false'
COMMAND: zmlocalconfig -f -e nio_imap_log_buffers='false'
COMMAND: zmlocalconfig -f -e nio_imap_write_queue_max_size='10240000'
COMMAND: zmlocalconfig -f -e nio_imap_write_queue_max_size_unauth='20480'
COMMAND: zmlocalconfig -f -e nio_write_buffer_compaction_percent='50'
COMMAND: zmlocalconfig -f -e postfix_alias_maps='hash:/etc/aliases'
COMMAND: zmlocalconfig -f -e postfix_broken_sasl_auth_clients='yes'
COMMAND: zmlocalconfig -f -e postfix_command_directory='/opt/zimbra/postfix-${postfix_version}/sbin'
COMMAND: zmlocalconfig -f -e postfix_daemon_directory='/opt/zimbra/postfix-${postfix_version}/libexec'
COMMAND: zmlocalconfig -f -e postfix_header_checks='pcre:/opt/zimbra/conf/postfix_header_checks'
COMMAND: zmlocalconfig -f -e postfix_mailq_path='/opt/zimbra/postfix-${postfix_version}/sbin/mailq'
COMMAND: zmlocalconfig -f -e postfix_manpage_directory='/opt/zimbra/postfix-${postfix_version}/man'
COMMAND: zmlocalconfig -f -e postfix_newaliases_path='/opt/zimbra/postfix-${postfix_version}/sbin/newaliases'
COMMAND: zmlocalconfig -f -e postfix_queue_directory='/opt/zimbra/postfix-${postfix_version}/spool'
COMMAND: zmlocalconfig -f -e postfix_sender_canonical_maps='ldap:/opt/zimbra/conf/ldap-scm.cf'
COMMAND: zmlocalconfig -f -e postfix_sendmail_path='/opt/zimbra/postfix-${postfix_version}/sbin/sendmail'
COMMAND: zmlocalconfig -f -e postfix_smtpd_client_restrictions='reject_unauth_p ipelining'
COMMAND: zmlocalconfig -f -e postfix_smtpd_data_restrictions='reject_unauth_pip elining'
COMMAND: zmlocalconfig -f -e postfix_smtpd_helo_required='yes'
COMMAND: zmlocalconfig -f -e postfix_smtpd_tls_cert_file='${zimbra_home}/conf/smtpd.crt'
COMMAND: zmlocalconfig -f -e postfix_smtpd_tls_key_file='${zimbra_home}/conf/smtpd.key'
COMMAND: zmlocalconfig -f -e postfix_smtpd_tls_loglevel='3'
COMMAND: zmlocalconfig -f -e postfix_transport_maps='ldap:/opt/zimbra/conf/ldap-transport.cf'
COMMAND: zmlocalconfig -f -e postfix_version='2.2.9'
COMMAND: zmlocalconfig -f -e postfix_virtual_alias_domains='ldap://opt/zimbra/conf/ldap-vad.cf'
COMMAND: zmlocalconfig -f -e postfix_virtual_alias_maps='ldap:/opt/zimbra/conf/ldap-vam.cf'
COMMAND: zmlocalconfig -f -e postfix_virtual_mailbox_domains='ldap:/opt/zimbra/conf/ldap-vmd.cf'
COMMAND: zmlocalconfig -f -e postfix_virtual_mailbox_maps='ldap:/opt/zimbra/conf/ldap-vmm.cf'
COMMAND: zmlocalconfig -f -e postfix_virtual_transport='error'
COMMAND: zmlocalconfig -f -e smtp_destination='XXX'
COMMAND: zmlocalconfig -f -e smtp_notify='yes'
COMMAND: zmlocalconfig -f -e smtp_source='zimbra_mta@XXX'
COMMAND: zmlocalconfig -f -e snmp_notify='yes'
COMMAND: zmlocalconfig -f -e snmp_trap_host='XXX'
COMMAND: zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
COMMAND: zmlocalconfig -f -e stats_img_folder='${zimbra_home}/zimbramon/rrdtool/work'
COMMAND: zmlocalconfig -f -e tomcat_directory='${zimbra_home}/tomcat'
COMMAND: zmlocalconfig -f -e tomcat_java_heap_memory_percent='30'
COMMAND: zmlocalconfig -f -e tomcat_java_home='${zimbra_java_home}'
COMMAND: zmlocalconfig -f -e tomcat_java_options='-client -XX:NewRatio=2'
COMMAND: zmlocalconfig -f -e tomcat_keystore='${tomcat_directory}/conf/keystore'
COMMAND: zmlocalconfig -f -e tomcat_pidfile='${zimbra_log_directory}/tomcat.pid'
COMMAND: zmlocalconfig -f -e wiki_enabled='false'
COMMAND: zmlocalconfig -f -e wiki_user='wiki'
COMMAND: zmlocalconfig -f -e zimbra_admin_service_port='7071'
COMMAND: zmlocalconfig -f -e zimbra_attrs_directory='${zimbra_home}/conf/attrs'
COMMAND: zmlocalconfig -f -e zimbra_auth_always_send_refer='false'
COMMAND: zmlocalconfig -f -e zimbra_db_directory='${zimbra_home}/db'
COMMAND: zmlocalconfig -f -e zimbra_extension_common_directory='${zimbra_home}/lib/ext-common'
COMMAND: zmlocalconfig -f -e zimbra_extension_directory='${zimbra_home}/lib/ext'
COMMAND: zmlocalconfig -f -e zimbra_gid='501'
COMMAND: zmlocalconfig -f -e zimbra_home='/opt/zimbra'
COMMAND: zmlocalconfig -f -e zimbra_index_directory='${zimbra_home}/index'
COMMAND: zmlocalconfig -f -e zimbra_index_idle_flush_time='600'
COMMAND: zmlocalconfig -f -e zimbra_index_lru_size='100'
COMMAND: zmlocalconfig -f -e zimbra_index_max_uncommitted_operations='200'
COMMAND: zmlocalconfig -f -e zimbra_java_home='${zimbra_home}/java'
COMMAND: zmlocalconfig -f -e zimbra_ldap_password='XXX'
COMMAND: zmlocalconfig -f -e zimbra_ldap_user='zimbra'
COMMAND: zmlocalconfig -f -e zimbra_ldap_userdn='uid=zimbra,cn=admins,cn=zimbra '
COMMAND: zmlocalconfig -f -e zimbra_log4j_properties='${zimbra_home}/conf/log4j.properties'
COMMAND: zmlocalconfig -f -e zimbra_log_directory='${zimbra_home}/log'
COMMAND: zmlocalconfig -f -e zimbra_logger_mysql_password='XXX'
COMMAND: zmlocalconfig -f -e zimbra_mtareport_max_recipients='50'
COMMAND: zmlocalconfig -f -e zimbra_mtareport_max_senders='50'
COMMAND: zmlocalconfig -f -e zimbra_mysql_connector_maxActive='10'
COMMAND: zmlocalconfig -f -e zimbra_mysql_password='XXX'
COMMAND: zmlocalconfig -f -e zimbra_mysql_user='zimbra'
COMMAND: zmlocalconfig -f -e zimbra_server_hostname='XXX'
COMMAND: zmlocalconfig -f -e zimbra_spam_report_queue_size='100'
COMMAND: zmlocalconfig -f -e zimbra_store_directory='${zimbra_home}/store'
COMMAND: zmlocalconfig -f -e zimbra_store_sweeper_max_age='480'
COMMAND: zmlocalconfig -f -e zimbra_throttle_op_concurrency='1000,1000,1000,100 0,1000'
COMMAND: zmlocalconfig -f -e zimbra_tmp_directory='/tmp/zimbra'
COMMAND: zmlocalconfig -f -e zimbra_uid='501'
COMMAND: zmlocalconfig -f -e zimbra_user='zimbra'
COMMAND: zmlocalconfig -f -e zimbra_zmprov_default_soap_server='localhost'
COMMAND: zmlocalconfig -f -e zimbra_zmprov_default_to_ldap='false'
COMMAND: zmlocalconfig -f -e zimlet_directory='${tomcat_directory}/webapps/service/zimlet'





Logprocess Log File:



DBI connect('database=zimbra_logger;mysql_read_default _file=/opt/zimbra/conf/my.logger.cnf;mysql_socket=/opt/zimbra/logger/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2) at /opt/zimbra/libexec/zmlogprocess line 63
DB: Can't connect to dbi:mysql:database=zimbra_logger;mysql_read_defaul t_file=/opt/zimbra/conf/my.logger.cnf;mysql_socket=/opt/zimbra/logger/db/mysql.sock: Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.