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 12-20-2007, 11:55 AM
Active Member
 
Posts: 46
Default Still having upgrade trouble- 4.5.6 to 4.5.10

Running 4.5.6_GA_1044 (open source) I am having a problem getting the upgrade to work.

Here's what happens:
Code:
Operations logged to /tmp/install.log.15313
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-4.5.10_GA_1575.UBUNTU6
    zimbra-logger...FOUND zimbra-logger-4.5.10_GA_1575.UBUNTU6
    zimbra-mta...FOUND zimbra-mta-4.5.10_GA_1575.UBUNTU6
    zimbra-snmp...FOUND zimbra-snmp-4.5.10_GA_1575.UBUNTU6
    zimbra-store...FOUND zimbra-store-4.5.10_GA_1575.UBUNTU6
    zimbra-apache...FOUND zimbra-apache-4.5.10_GA_1575.UBUNTU6
    zimbra-spell...FOUND zimbra-spell-4.5.10_GA_1575.UBUNTU6
    zimbra-core...FOUND zimbra-core-4.5.10_GA_1575.UBUNTU6

Saving existing configuration file to /opt/zimbra/.saveconfig


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra_public_eula_2.1.html


Press Return to continue

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-1ubuntu6
    libidn11...FOUND libidn11-0.5.18-1
    curl...FOUND curl-7.15.1-1ubuntu3
    fetchmail...FOUND fetchmail-6.3.2-2ubuntu2.2
    libpcre3...FOUND libpcre3-7.4-0ubuntu0.6.06.1
    libgmp3c2...FOUND libgmp3c2-4.1.4-11ubuntu2
    libexpat1...FOUND libexpat1-1.95.8-3
    libxml2...FOUND libxml2-2.6.24.dfsg-1ubuntu1
    libstdc++6...FOUND libstdc++6-4.0.3-1ubuntu5
    libstdc++5...FOUND libstdc++5-1:3.3.6-10
    openssl...FOUND openssl-0.9.8a-7ubuntu0.5
Checking current number of databases...

Do you want to verify message store database integrity? [Y] n

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] 

Select the packages to install
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell

The system will be modified.  Continue? [N] y

Shutting down zimbra mail

Backing up ldap


Removing existing packages

   zimbra-ldap...done
   zimbra-logger...done
   zimbra-mta...done
   zimbra-snmp...done
   zimbra-store...done
   zimbra-spell...done
   zimbra-apache...done
   zimbra-core...done

Removing deployed webapp directories
Installing packages

    zimbra-core......zimbra-core_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-ldap......zimbra-ldap_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-logger......zimbra-logger_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-mta......zimbra-mta_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-snmp......zimbra-snmp_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-store......zimbra-store_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-apache......zimbra-apache_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-spell......zimbra-spell_4.5.10_GA_1575.UBUNTU6_i386.deb...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=phosphor.leddynamics.com
   LDAPHOST=phosphor.LEDdynamics.com
   LDAPPORT=389
   SNMPTRAPHOST=phosphor.LEDdynamics.com
   SMTPSOURCE=admin@phosphor.LEDdynamics.com
   SMTPDEST=admin@phosphor.LEDdynamics.com
   SNMPNOTIFY=yes
   SMTPNOTIFY=yes
   LDAPROOTPW=censored
   LDAPZIMBRAPW=censored
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.20323
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException phosphor.LEDdynamics.com:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException phosphor.LEDdynamics.com:389)
Setting defaults...Done
Setting defaults from existing config...Upgrading from 4.5.6_GA_1044 to 4.5.10_GA_1575
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
ERROR 1033 (HY000) at line 1: Incorrect information in file: './zimbra/config.frm'
Wed Dec 12 17:25:35 2007: Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=6sQApL_ZC3aMH8q1L9iBW.3hvXrmIk --database=zimbra --batch --skip-column-names'.
root@phosphor:~/zcs#
I tried looking at /opt/zimbra/config.frm but the file is not there...

The machine (192.168.2.235) is able to resolve the logical hostname correctly via DNS (local DNS server):

root@phosphor:/tmp# /opt/zimbra/bin/zmhostname
phosphor.leddynamics.com

root@phosphor:/tmp# nslookup phosphor.leddynamics.com
Server: 192.168.2.235
Address: 192.168.2.235#53

Name: phosphor.leddynamics.com
Address: 192.168.2.235

I have attached my install and zmsetup logs.

Any ideas? Thanks!
Attached Files
File Type: txt install.log.15313.txt (20.6 KB, 55 views)
File Type: txt zmsetup.log.20323.txt (2.1 KB, 59 views)
Reply With Quote
  #2 (permalink)  
Old 12-20-2007, 11:56 AM
Former Zimbran
 
Posts: 5,606
Default

Can we see your hosts file?
Reply With Quote
  #3 (permalink)  
Old 12-20-2007, 12:12 PM
Active Member
 
Posts: 46
Default

root@phosphor:/tmp# cat /etc/hosts

127.0.0.1 localhost
192.168.2.235 phosphor.leddynamics.com phosphor

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Reply With Quote
  #4 (permalink)  
Old 12-20-2007, 12:28 PM
Former Zimbran
 
Posts: 5,606
Default

So, we think your hitting :
Bug 22961 - zmldapenablereplica can fail on master if ldap_master_url is not lower case

Where some hosts in your config file have upper case, and some have lower case.

Try to restore to your backup, and change all hosts that are in zmlocalconfig to lowercase using
zmlocalconfig -e (attribute)=(lowercase host)
Reply With Quote
  #5 (permalink)  
Old 12-20-2007, 12:45 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your hosts file is also incorrect it should contain the following:

Code:
127.0.0.1 localhost.localdomain localhost
You should also disable ipv6 on that server as well.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 12-20-2007, 01:02 PM
Active Member
 
Posts: 46
Default

Ok, thanks, I'll give those a try and let you know how it goes
Reply With Quote
  #7 (permalink)  
Old 12-27-2007, 12:20 PM
Active Member
 
Posts: 46
Default

I changed the hostname to lowercase in LDAP as specified, fixed hosts file, and disabled IPv6. I reran the setup program to perform the upgrade and I got this:

Code:
root@phosphor:~/zcs# ./install.sh 

Operations logged to /tmp/install.log.4222
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-4.5.10_GA_1575.UBUNTU6
    zimbra-logger...FOUND zimbra-logger-4.5.10_GA_1575.UBUNTU6
    zimbra-mta...FOUND zimbra-mta-4.5.10_GA_1575.UBUNTU6
    zimbra-snmp...FOUND zimbra-snmp-4.5.10_GA_1575.UBUNTU6
    zimbra-store...FOUND zimbra-store-4.5.10_GA_1575.UBUNTU6
    zimbra-apache...FOUND zimbra-apache-4.5.10_GA_1575.UBUNTU6
    zimbra-spell...FOUND zimbra-spell-4.5.10_GA_1575.UBUNTU6
    zimbra-core...FOUND zimbra-core-4.5.10_GA_1575.UBUNTU6

Saving existing configuration file to /opt/zimbra/.saveconfig


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra_public_eula_2.1.html


Press Return to continue

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-1ubuntu6
    libidn11...FOUND libidn11-0.5.18-1
    curl...FOUND curl-7.15.1-1ubuntu3
    fetchmail...FOUND fetchmail-6.3.2-2ubuntu2.2
    libpcre3...FOUND libpcre3-7.4-0ubuntu0.6.06.1
    libgmp3c2...FOUND libgmp3c2-4.1.4-11ubuntu2
    libexpat1...FOUND libexpat1-1.95.8-3
    libxml2...FOUND libxml2-2.6.24.dfsg-1ubuntu1
    libstdc++6...FOUND libstdc++6-4.0.3-1ubuntu5
    libstdc++5...FOUND libstdc++5-1:3.3.6-10
    openssl...FOUND openssl-0.9.8a-7ubuntu0.5
Checking current number of databases...

Do you want to verify message store database integrity? [Y] n

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] 

Select the packages to install
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell

The system will be modified.  Continue? [N] y

Shutting down zimbra mail


Backing up ldap


Removing existing packages

   zimbra-ldap...done
   zimbra-logger...done
   zimbra-mta...done
   zimbra-snmp...done
   zimbra-store...done
   zimbra-spell...done
   zimbra-apache...done
   zimbra-core...done

Removing deployed webapp directories
Installing packages

    zimbra-core......zimbra-core_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-ldap......zimbra-ldap_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-logger......zimbra-logger_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-mta......zimbra-mta_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-snmp......zimbra-snmp_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-store......zimbra-store_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-apache......zimbra-apache_4.5.10_GA_1575.UBUNTU6_i386.deb...done
    zimbra-spell......zimbra-spell_4.5.10_GA_1575.UBUNTU6_i386.deb...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=phosphor.leddynamics.com
   LDAPHOST=phosphor.leddynamics.com
   LDAPPORT=389
   SNMPTRAPHOST=phosphor.leddynamics.com
   SMTPSOURCE=admin@phosphor.leddynamics.com
   SMTPDEST=admin@phosphor.leddynamics.com
   SNMPNOTIFY=yes
   SMTPNOTIFY=yes
   LDAPROOTPW=(censored)
   LDAPZIMBRAPW=(censored)
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.9537
Checking ldap status
Starting ldap
ERROR: account.NO_SUCH_SERVER (no such server: phosphor.leddynamics.com)
Checking ldap status
ERROR: account.NO_SUCH_SERVER (no such server: phosphor.leddynamics.com)
Setting defaults...Done
Setting defaults from existing config...Upgrading from 4.5.6_GA_1044 to 4.5.10_GA_1575
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
ERROR 1033 (HY000) at line 1: Incorrect information in file: './zimbra/config.frm'
Thu Dec 27 14:57:06 2007: Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=6sQApL_ZC3aMH8q1L9iBW.3hvXrmIk --database=zimbra --batch --skip-column-names'.
root@phosphor:~/zcs#
Progress, I guess... Any ideas?
Attached Files
File Type: txt install.log.4222.txt (20.6 KB, 49 views)
File Type: txt zmsetup.log.9537.txt (3.8 KB, 60 views)
Reply With Quote
  #8 (permalink)  
Old 12-27-2007, 12:33 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

How about running the following commands on the zimbra server (just for confirmation):

Code:
host `hostname`  <-- type the command as-is with backticks not single quotes
dig leddynamics.com mx
dig leddynamics.com any
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 12-27-2007, 12:40 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I notice that you skipped the DB checks, any reason for that? It's possible they may be corrupt.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 12-27-2007, 01:44 PM
Active Member
 
Posts: 46
Default

Here's what I got:

Code:
root@phosphor:/opt# host `hostname`
phosphor.leddynamics.com has address 192.168.2.235
phosphor.leddynamics.com mail is handled by 10 phosphor.leddynamics.com.
root@phosphor:/opt# dig leddynamics.com mx

; <<>> DiG 9.3.2 <<>> leddynamics.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6522
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;leddynamics.com.               IN      MX

;; AUTHORITY SECTION:
leddynamics.com.        38400   IN      SOA     phosphor. smcgrath.leddynamics.com. 1196970402 10800 3600 604800 38400

;; Query time: 2 msec
;; SERVER: 192.168.2.235#53(192.168.2.235)
;; WHEN: Thu Dec 27 15:54:04 2007
;; MSG SIZE  rcvd: 86

root@phosphor:/opt# dig leddynamics.com any

; <<>> DiG 9.3.2 <<>> leddynamics.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9336
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;leddynamics.com.               IN      ANY

;; ANSWER SECTION:
leddynamics.com.        38400   IN      SOA     phosphor. smcgrath.leddynamics.com. 1196970402 10800 3600 604800 38400
leddynamics.com.        38400   IN      NS      phosphor.

;; Query time: 2 msec
;; SERVER: 192.168.2.235#53(192.168.2.235)
;; WHEN: Thu Dec 27 15:54:06 2007
;; MSG SIZE  rcvd: 100
Phoenix, re: skipping the DB check:
Very observant When I perform the database check, I get a ton of errors of this nature. At some point I decided that this problem was caused from a partial upgrade, and that my best chance would be to just try and get it to complete.

Code:
 mboxgroup5.mail_item
 error    : Incorrect information in file: './mboxgroup5/mail_item.frm'
 mboxgroup5.open_conversation
 error    : Incorrect information in file: './mboxgroup5/open_conversation.frm'
 mboxgroup5.pop3_message
 error    : Incorrect information in file: './mboxgroup5/pop3_message.frm'
 mboxgroup5.tombstone
 error    : Incorrect information in file: './mboxgroup5/tombstone.frm'
 mboxgroup6.appointment
 error    : Incorrect information in file: './mboxgroup6/appointment.frm'
 mboxgroup6.mail_item
 error    : Incorrect information in file: './mboxgroup6/mail_item.frm'
 mboxgroup6.open_conversation
 error    : Incorrect information in file: './mboxgroup6/open_conversation.frm'
 mboxgroup6.pop3_message
 error    : Incorrect information in file: './mboxgroup6/pop3_message.frm'
 mboxgroup6.tombstone
 error    : Incorrect information in file: './mboxgroup6/tombstone.frm'
 mboxgroup7.appointment
 error    : Incorrect information in file: './mboxgroup7/appointment.frm'
 mboxgroup7.mail_item
 error    : Incorrect information in file: './mboxgroup7/mail_item.frm'
 mboxgroup7.open_conversation
 error    : Incorrect information in file: './mboxgroup7/open_conversation.frm'
 mboxgroup7.pop3_message
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.