Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a slight problem with the openldap server installed with Mac OS X 10.6.8 (regular, not server). When I launch slapd in a terminal, it stops itself after 1 or 2 seconds... I just have the time to see its process... It doesn't seem to crash, because when I specify a log file in the configuration, the log is created, but empty.

However, when I launch it with the debug option, for example -d 1,it doesn't fork and stays in the terminal (that's the documented behavior) and it runs normally. I can connect, and so on... Meaning, I presume, that's not a config problem.

Is there something stupid I've forgotten? (btw, I've repaired the authorizations, just in case, but that doesn't change the problem...)

Thanks in advance!

share|improve this question
What error messages are logged to /private/var/log/slapd.log when the failed launch is attempted? – bmike Mar 2 '12 at 4:27
The log is empty... – Zaphod Mar 2 '12 at 12:56
Wow - I'd be interested in whether fs_events running when you launched the built in slapd shows what is going on, but if you're happy with the BYO slapd, perhaps someone else can troubleshoot the built in one. Very odd but glad you have a workaround. – bmike Mar 2 '12 at 14:45

The only workaround I found is to use macports to build the latest version of slapd, that works just fine...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.