Yesterday, a power outage brought my computer at work crashing down. When I tried to get my development environment going again, I couldn't interact with my local OpenLDAP server.
The slapd.exe process would essentially hang. I killed the process, and started it from the command line:
$ slapd -d -1
This showed that the process was hanging after loading a file in the data directory.
So I zipped up (zip file) the data directory. and then deleted the contents. Now, it would start up.
But there are no entries in the directory now. So I import an ldif file and, Voila!, I'm back in business.
1 comment:
OK, same thing happened again. Stupid power outages.
I followed the process described in my post and... IT DIDN'T WORK.
But wait, I deleted the 'data' directory, not just the contents of the directory.
So I created a new 'data' directory.
I guess I should have followed my own instructions!
Post a Comment