Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My Linux computer was working great, then it flipped out and I could do nothing but reset. When it rebooted, LDAP refused to start. The error in the log says, "unable to join the environment" and "bdb_db_open: dbenv_open failed: Resource temporarily unavailable (11)".
Can anyone tell me what is wrong and how I can fix it and get my LDAP server back up?
Thanks for the reply. I did db_recover -c -h /var/lib/ldap but I am still getting the same error. Actually after I do db_recover, it screws up the permissions and when I try to start ldap the log says permission denied to __db.001, I fix the permissions and try starting ldap again, then I am back to the unable to join environment error.
Ok, so I did not feel like rebuilding my directory and was quite unmotivated about it, as starting from scratch can do to you. Then tonight I got motivated enough that I decided to backup the db files, uninstall the openldap-server RPM, reinstall it, and start the server. Everything worked fine at that point, but obviously bare directory. So I copied my configs back in and restarted the server, still working, ok, what would happen if I copied the db files back to the directory. I restarted it, uh ok it is running, so if I do an LDAP search will it find the entries, in fact it did. I was so excited to find I was back in business with no data loss :-). But I think from now on, I will keep a backup ;-).