If slapd is stopped you can safely remove it. But you don't have to.pramod kulkarni wrote:
> I have taken the OpenLDAP 2.4.39 and able to work properly but when I do
> slapcat then it hangs and always complains on alock.
> But if I delete alock it works fine.
> I have 4.6.21 version of bdb
> I don't know much about alock file in bdb .
> Can you please suggest is it ok to delete alock file for running slapd and
> slapcat ?
You're using 2.4.39. So do yourself a favour and consider migrating to
back-mdb to get rid of all the BDB mess.