Results 1 to 3 of 3

Thread: Upgrade 4.5.3 -> 4.5.6 failed: ldap hangs

  1. #1
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    10

    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: http://www.zimbra.com/forums/install...pd-issues.html, 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.

  2. #2
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    10

    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.

  3. #3
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    10

    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

Similar Threads

  1. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 10:23 PM
  2. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  4. Replies: 4
    Last Post: 11-15-2006, 12:16 PM
  5. Zimbra Upgrade FAILED Badly
    By kelley.ch in forum Installation
    Replies: 1
    Last Post: 09-04-2006, 05:10 PM

Posting Permissions

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