slapd error in system.log every 10 seconds

by on January 6, 2009 » Add more comments.

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

Find more like this: AD Integration, Automation, Directory Services, Hardware, Imaging, LANDesk, Mac, Server Administration , , ,


4 Responses to slapd error in system.log every 10 seconds

Leave a Reply

Your email address will not be published. Required fields are marked *