slapd error in system.log every 10 seconds
I had 2 Leopard servers (one with 10.5.5, one with 10.5.6), both displaying the following messages in the system.log every 10 seconds.
com.apple.launchd[1] (org.openldap.slapd[283]): Exited with exit code: 1 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 10 seconds
These messages went on for days. As far back as all my rolled system.logs went so I couldn’t track it back to when it started. Neither of these servers were Open Directory servers so at first I suspected the AD binding so I unbound but the messages didn’t go away.
Turns out the file /etc/openldap/slapd.conf had gone missing.
$ /usr/libexec/slapd -Tt could not stat config file "/etc/openldap/slapd.conf": No such file or directory (2) slaptest: bad configuration file!
The fix was as simple as:
sudo cp /etc/openldap/slapd.conf.default /etc/openldap/slapd.conf
No related posts.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.



thanks!!! This was really bugging me, though I’m not sure if it was really causing any problems. This was the fix!
Patrick, you are awesome. This worked like a charm and is by far the easiest solution I have seen. Thanks a ton my brother!
This worked. Thanks for posting!