Hi,
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 ?
Thanks, Pramod
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 ?
If slapd is stopped you can safely remove it. But you don't have to.
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.
Ciao, Michael.
Thanks for the response. What if I disable the alock file generation in the back-bdb initialization? will it affect other functionalities like replication etc.
On Thu, Oct 30, 2014 at 4:09 PM, Michael Ströder michael@stroeder.com wrote:
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 ?
If slapd is stopped you can safely remove it. But you don't have to.
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.
Ciao, Michael.
--On Thursday, October 30, 2014 6:04 PM +0100 pramod kulkarni pammu.kulkarni@gmail.com wrote:
Thanks for the response. What if I disable the alock file generation in the back-bdb initialization? will it affect other functionalities like replication etc.
You should understand what the alock file is for before you think about deleting it. It tracks the state of your database. If your slapcat is hanging, it sounds like you have DB corruption at the BDB level.
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org