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 07-05-2007, 02:12 PM
Junior Member
 
Posts: 7
Default [SOLVED] Upgrade 4.5.3 -> 4.5.6 failed: ldap hangs

Hello,

I've attempted an upgrade of a Zimbra 4.5.3 to 4.5.6 on an Fedora Core 4 system. I started out well but doesn't seem to get past starting LDAP, i.e. the install process is hanging here (since about half an hour or so):

Code:
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.8971
Checking ldap status
Starting ldap
Checking the processes:

Code:
# ps -eaf | grep ldap
root      9221  8971  0 21:38 pts/1    00:00:00 sh -c su - zimbra -c "/opt/zimbra/libexec/zmldapapplyldif" >> /tmp/zmsetup.log.8971 2>&1
root      9222  9221  0 21:38 pts/1    00:00:00 su - zimbra -c /opt/zimbra/libexec/zmldapapplyldif
zimbra    9223  9222  0 21:38 pts/1    00:00:00 /bin/bash /opt/zimbra/libexec/zmldapapplyldif
zimbra    9297  9223  0 21:38 pts/1    00:00:00 /bin/bash /opt/zimbra/bin/ldap start
zimbra    9349  9297  0 21:38 pts/1    00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://mail.elit-caffelatte.com:389 -f /opt/zimbra/conf/slapd.conf -d 1
root     11282 32621  0 21:56 pts/0    00:00:00 grep ldap
So it looks to me like slapd is not detaching. Looking at what slapd is doing:

Code:
# strace -p 9349
Process 9349 attached - interrupt to quit
futex(0xb3a8fbf8, FUTEX_WAIT, 9351, NULL
which doesn't tell me a lot, not knowing anything about the internals of slapd, but it clearly is not doing much!

also found this thread: Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues, which may be related, but while it mentions that the issue was resolved, it doesn't say how!

Any help is wildly appreciated as I'm really not sure what to do next - stop the upgrade and try it again?

thanks
-stefan

Last edited by sm3.142; 07-05-2007 at 03:35 PM..
Reply With Quote
  #2 (permalink)  
Old 07-05-2007, 02:26 PM
Junior Member
 
Posts: 7
Default

Ok, I resolved one question, namely how to proceed, by hitting Ctrl-C in the wrong window. It's proceeding with the update now, but not before saying:

Code:
...
Starting ldap
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.elit-caffelatte.com:389)
Setting defaults...Done
Setting defaults from existing config...Upgrading from 4.5.3_GA_733 to 4.5.6_GA_1044
...
so I have to assume I'm missing some LDAP schema update now. After proceeding with a seemingly normal update, it has stopped now stopped again at the main menu:

Code:
Main menu

   1) Hostname:                                xxxx.xxxx.xxxx     
** 2) Ldap master host:                        UNSET                         
   3) Ldap port:                               389                           
** 4) Ldap password:                           UNSET                         
   5) zimbra-ldap:                             Disabled                      
   6) zimbra-store:                            Disabled                      
   7) zimbra-mta:                              Disabled                      
   8) zimbra-snmp:                             Disabled                      
   9) zimbra-logger:                           Disabled                      
  10) zimbra-spell:                            Disabled                      
   r) Start servers after configuration        yes                           
   s) Save config to file                                                    
   x) Expand menu                                                            
   q) Quit
Going into the sub menus here, e.g. for the store, it looks like all the old
settings are gone. Yikes, this is getting somewhat ugly.
Reply With Quote
  #3 (permalink)  
Old 07-05-2007, 03:43 PM
Junior Member
 
Posts: 7
Default

Ufff, got off lightly today. I forcefully terminated the previous installation session and started install.sh again. Much to my surprise and relief it ran like a champ and my server is up and running again. Everything still seems to here.

Thanks, Zimbra, for an apparently pretty bomb proof upgrade procedure!

Well, what else is there to say than Editorial: TAKE TIME TO BACKUP
(although thankfully I didn't need it today)

-stefan
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.