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

Bookmark and Share

No related posts.

AD Integration, Automation, Directory Services, Hardware, Imaging, LANDesk, Mac, Server Administration -->

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.

Comments

3 Responses to “slapd error in system.log every 10 seconds”

Leave Comment

(required)

(required)