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 12-04-2009, 01:09 PM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 12:31 AM
New Member
 
Posts: 3
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?
Reply With Quote
  #3 (permalink)  
Old 12-10-2009, 08:19 AM
New Member
 
Posts: 3
Default

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

Can anyone tell me where I can find the debug information?
Reply With Quote
  #4 (permalink)  
Old 12-10-2009, 10:39 AM
Intermediate Member
 
Posts: 17
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
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.