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

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 02-09-2011, 07:23 PM
Active Member
 
Posts: 46
Question Upgrade attempt from NE 6.0.10 to NE 7.0.0 hung

On a test system, attempted to upgrade it from 6.0.10 to 7.0.0, and it seems to have hung. It was all progressing fine....

Quote:
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Installing /opt/zimbra/conf/ZCSLicense.xml
Operations logged to /tmp/zmsetup.02092011-181519.log
Upgrading from 6.0.10_GA_2692 to 7.0.0_GA_3077
Stopping zimbra services...done.
Verifying /opt/zimbra/conf/my.cnf
Starting mysql...done.
This appears to be 6.0.10_GA
Checking ldap status...not running.
Running zmldapapplyldif...done.
Checking ldap status...already running.
Running mysql_upgrade...done.
Redolog version update required.
Wed Feb 9 18:16:14 2011: Verified redolog version 1.28.
Wed Feb 9 18:16:14 2011: Updating Redolog schema version from 1.28 to 1.30.
Redolog version update finished.
Schema upgrade required from version 64 to 65.
Running /opt/zimbra/libexec/scripts/migrate20100926-Dumpster.pl
Wed Feb 9 18:16:20 2011: Verified schema version 64.
Wed Feb 9 18:16:34 2011: Verified schema version 64.
Wed Feb 9 18:16:34 2011: Updating DB schema version from 64 to 65.
Stopping mysql...done.
Updating from 6.0.11_GA
Stopping ldap...done.
but then it hung at this point, and there has been no further apparent activity for hours. This is on SUSE 10, 64-bit. Upgrades have been fine in the past.

Quote:
> zmcontrol status
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host tzem1.x.org
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
zmclamdctl is not running
convertd Stopped
convertd is not running.
imapproxy Stopped
zmnginxctl is not running
ldap Stopped
logger Stopped
zmlogswatchctl is not running
mailbox Stopped
mysql.server is not running.
zmmailboxdctl is not running.
memcached Stopped
memcached is not running.
mta Stopped
postfix is not running
zmsaslauthdctl is not running
snmp Stopped
zmswatch is not running.
spell Stopped
zmapachectl is not running
stats Stopped
zmconfigd Stopped
zmconfigd is not running.
Fortunately this is only a test system, but would be nice to know how to recover from this. I haven't hit ^C yet, but figure I'll have to eventually.
Reply With Quote
  #2 (permalink)  
Old 02-09-2011, 10:23 PM
Active Member
 
Posts: 46
Default

I didn't see anything in the logs, at least not anything obvious. I checked to see what was running, and got:

Quote:
zimbra@tzem1:~/log> ps -ft pts/1
UID PID PPID C STIME TTY TIME CMD
root 6796 18187 0 18:15 pts/1 00:00:00 /usr/bin/perl /opt/zimbra/libexec/zmsetup.pl
root 11026 6796 0 18:17 pts/1 00:00:00 sh -c su - zimbra -c "/opt/zimbra/openldap/sbin/slapindex -b '' -q -F /opt/zimbra/data/ldap/co
zimbra 11027 11026 0 18:17 pts/1 00:00:00 su - zimbra -c /opt/zimbra/openldap/sbin/slapindex -b '' -q -F /opt/zimbra/data/ldap/config zim
zimbra 11028 11027 0 18:17 pts/1 00:00:00 /opt/zimbra/openldap/sbin/slapindex -b -q -F /opt/zimbra/data/ldap/config zimbraMailHost
root 18187 20874 0 18:06 pts/1 00:00:00 /bin/bash ./install.sh -x -l ../ZCSLicense.xml
amos 20822 20815 0 Feb08 pts/1 00:00:00 -bash
root 20866 20822 0 Feb08 pts/1 00:00:00 su -
root 20874 20866 0 Feb08 pts/1 00:00:00 -bash
so I did an strace to see what that process was doing:

Quote:
zimbra@tzem1:~> strace -p 11028
Process 11028 attached - interrupt to quit
futex(0x6a8e04, FUTEX_WAIT, 1, NULL <unfinished ...>
since it didn't appear that it would ever finish doing what it was waiting for, i killed it

Quote:
zimbra@tzem1:~> kill 11028
the install then proceeded....

Quote:
Checking ldap status...not running.
Running zmldapapplyldif...done.
Checking ldap status...already running.
Updating from 7.0.0_BETA1
Updating from 7.0.0_BETA2
Updating from 7.0.0_BETA3
Updating from 7.0.0_RC1
Updating from 7.0.0_GA
Updating global config and COS's with attributes introduced after 6.0.10_GA...done.
Stopping ldap...done.
Upgrade complete.

Running bdb db_recover...done.

.....
Upgrade appears to have finished, and I'm able to login to this test system. Will have to poke around more later to see that everything is working OK.
Reply With Quote
  #3 (permalink)  
Old 02-10-2011, 03:57 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

I did the upgrade last night and had the same thing happen to me (blogged here)

Mine also seemed fine after the upgrade.

After the upgrade was all finished, I did a restore to snapshot on the VM to try it again, but it didn't happen the second time around. Since I couldn't reproduce I didn't file a bug. Perhaps this needs a second look.
__________________
What a n00b!
Reply With Quote
  #4 (permalink)  
Old 02-10-2011, 03:59 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Should add - mine was Ubuntu 10.04 x64 from 6.0.9 -> 7.0.
__________________
What a n00b!
Reply With Quote
  #5 (permalink)  
Old 02-14-2011, 12:35 AM
Advanced Member
 
Posts: 222
Default

Hi,
similar problem here with 7.0.0GA_3077 on Ubuntu 8.04 64-bit. Mine box seems to run fine after manually running the ERROR-ed line from /opt/zimbra/log/zmconfigd.log (postfix config line with a lot of config settings), but despite of that, I get this repeated in /opt/zimbra/log/zmconfigd.log every 1 minute:
Code:
Starting zmconfigd...zmconfigd is already running.
2011-02-14 09:24:28,861 zmconfigd WARNING [8394-MainThread] Fetching All configs
2011-02-14 09:24:29,107 zmconfigd WARNING [8394-MainThread] All configs fetched in 0.24 seconds
2011-02-14 09:24:29,342 zmconfigd WARNING [8394-MainThread] All rewrite threads completed in 0.01 sec
2011-02-14 09:24:29,342 zmconfigd WARNING [8394-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running.
2011-02-14 09:25:29,354 zmconfigd WARNING [8394-MainThread] Fetching All configs
2011-02-14 09:25:29,585 zmconfigd WARNING [8394-MainThread] All configs fetched in 0.23 seconds
2011-02-14 09:25:29,786 zmconfigd WARNING [8394-MainThread] All rewrite threads completed in 0.00 sec
2011-02-14 09:25:29,786 zmconfigd WARNING [8394-MainThread] All restarts completed in 0.00 sec
Starting zmconfigd...zmconfigd is already running.
2011-02-14 09:26:29,798 zmconfigd WARNING [8394-MainThread] Fetching All configs
2011-02-14 09:26:30,132 zmconfigd WARNING [8394-MainThread] All configs fetched in 0.34 seconds
2011-02-14 09:26:30,338 zmconfigd WARNING [8394-MainThread] All rewrite threads completed in 0.00 sec
2011-02-14 09:26:30,339 zmconfigd WARNING [8394-MainThread] All restarts completed in 0.00 sec
Reply With Quote
  #6 (permalink)  
Old 02-14-2011, 07:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by Labsy View Post
Hi,
similar problem here with 7.0.0GA_3077 on Ubuntu 8.04 64-bit. Mine box seems to run fine after manually running the ERROR-ed line from /opt/zimbra/log/zmconfigd.log (postfix config line with a lot of config settings), but despite of that, I get this repeated in /opt/zimbra/log/zmconfigd.log every 1 minute:
Why have you posted this again when I've already answered your other post that these messages are normal and just warnings? What does it have to do with the content of this thread?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 02-14-2011, 01:15 PM
Elite Member
 
Posts: 469
Default

I had the same issue with an upgrade of my test box from 7.0 Beta to 7.0 Release on CentOS_64 FOSS.

It hung at the

Stopping ldap...done.

and when I eventually hit Ctrl-C the install proceeded and finished.

After it completed, I re-ran the upgrade install again in-place, and this time it went all the way through without stopping.

Definitely seems to be a pattern here for upgrades.
Reply With Quote
  #8 (permalink)  
Old 03-02-2011, 08:15 PM
Outstanding Member
 
Posts: 708
Default

The potentially long delay for upgrades to 7.0 and 6.0.11 seems to be caused by Bug 54901 - Add index for LDAP zimbraMailHost attribute.

Why that indexing takes forever, I'm not sure, but the index certainly isn't going to be very efficient at sites with only one zimbraMailHost.

Last edited by Rich Graves; 03-03-2011 at 11:17 AM..
Reply With Quote
  #9 (permalink)  
Old 03-03-2011, 11:16 AM
Outstanding Member
 
Posts: 708
Default

Bug 57491 - slapindex of zimbraMailHost might hang during install
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.