Results 1 to 4 of 4

Thread: LDAP failing to start on OS X Leopard

  1. #1
    Join Date
    Dec 2009
    Posts
    3
    Rep Power
    5

    Default LDAP failing to start on OS X Leopard

    Hi Folks,

    We have a Zimbra server which has been running for months without any glitches. Recently the server had to be shut-down (cleanly) and physically moved to a different part of the building.

    The IP and hostname have not changed. No changes to the server or to the DNS entries. The server resolves correctly to it's FQDN oth locally and from the internet.

    When the server was restarted Zimbra refuses to start with this message in the terminal;
    Code:
    	Starting ldap...Done.
    Failed.
    /opt/zimbra/bin/ldap: line 56: kill: (21866) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25640) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25646) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25650) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25655) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25659) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (25664) - No such process
    Failed to start slapd.  Attempting debug start to determine error.
    I get the same message if I try and start LDAP manually.

    I have tried upgrading to latest version (Release 6.0.3_GA_1915.MACOSXx86_10.5) but that hasn't worked.

    Please help! We rely on Zimbra for our CalDAV

  2. #2
    Join Date
    Dec 2009
    Posts
    3
    Rep Power
    5

    Default

    Hi, Sorry to bump this messages but I'm still very stuck.

    Can anyone suggest any checklists or test I can run to help get to the bottom of this?

  3. #3
    Join Date
    Dec 2009
    Posts
    3
    Rep Power
    5

    Default

    The last line states "Attempting debug start to determine error."

    Can anyone tell me where I can find the debug information?

  4. #4
    Join Date
    Jul 2008
    Posts
    17
    Rep Power
    7

    Default

    I had a similar experience when a restart after a clean shutdown failed because of corruption of the ldap database. I restored my ldap database from the lastet backup and everything worked.

    Here is my recovery script:
    Code:
    #!/bin/bash
    #
    # Recover Zimbra LDAP data
    #
    # root has to run the script
    #
    if [ `whoami` != "root" ]
        then
        echo "You need to be root to do this!"
        exit 1
    fi
    su - zimbra
    zmcontrol stop
    rm -r /opt/zimbra/data/ldap/hdb.old
    mv opt/zimbra/data/ldap/hdb /opt/zimbra/data/ldap/hdb.old
    mkdir -p /opt/zimbra/data/ldap/hdb/db /opt/zimbra/data/ldap/hdb/logs
    cp /opt/zimbra/data/ldap/hdb.old/db/DB_CONFIG /opt/zimbra/data/ldap/hdb/db
    cp ~/backup/sessions/`ls -t ~/backup/sessions | head -n 1`/ldap/ldap.bak /tmp/ldap.bak
    /opt/zimbra/openldap/sbin/slapadd -q -b "" -F /opt/zimbra/data/ldap/config -cv -l /tmp/ldap.bak 
    ldap start
    zmcontrol start

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  2. Replies: 3
    Last Post: 04-08-2010, 05:29 AM
  3. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 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
  •