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 06-13-2006, 12:52 AM
Junior Member
 
Posts: 8
Default LDAP won't start after reboot

Mac OSX running 3.11. After a reboot, LDAP will not start. I believe the only thing changed prior to reboot was installation of a commercial SSL cert a few days ago. I definitely restarted Tomcat in that process but possibly not the rest of zimbra services.

I followed http://wiki.zimbra.com/index.php?tit...tartup_failure

Results are:
Code:
ps auxww | grep zimbra | grep slapd
->returns nothing

Code:
"killall -TERM slapd"
->returns "no matching processes were found"

So, it seems like LDAP is not starting. So per the Wiki article, I try to start manually:
Code:
sh -x bin/ldap start
->Which returns:
Code:
zimbra:~ zimbra$ sh -x bin/ldap start
+ PID=
+ PIDFILE=/opt/zimbra/openldap/var/run/slapd.pid
+ mkdir -p /opt/zimbra/openldap/var/run/
+ start
+ checkrunning
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
+ '[' x = x ']'
+ RUNNING=0
+ '[' 0 = 0 ']'
+ '[' '!' -f /opt/zimbra/openldap-data/DB_CONFIG ']'
+ /opt/zimbra/libexec/zmconfigure /opt/zimbra/conf/slapd.conf.in /opt/zimbra/conf/slapd.conf
+ sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://:389/ -f /opt/zimbra/conf/slapd.conf
+ sleep 2
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
+ '[' x = x ']'
+ echo 'ERROR - failed to start slapd'
ERROR - failed to start slapd
+ echo ''

+ exit 1
zimbra:~ zimbra$
"ping zimbra.dyers.net" returns the correct (private) IP of the server
"host zimbra.dyers.net" returns the public IP of the zimbra server

I am resolving against public DNS servers, but added the LDAP hostname to the hosts file on the Mac when installing the system several weeks ago.

Logs and ps output are attached. Any help is appreciated.

Edit:
Problem solved - it was the commercial cert. The LDAP certs were broken, I'm not using LDAPS anyhow so Marc commented out the cert references in slapd.conf.
Attached Files
File Type: zip logs.zip (90.0 KB, 133 views)

Last edited by cdyer; 06-13-2006 at 07:58 AM.. Reason: Problem fixed
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.