Description of problem: # /etc/init.d/slapd start /var/lib/ldap/__db.003 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.006 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.004 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.001 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.005 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.002 is not owned by "ldap" [WARNING] /var/lib/ldap/alock is not owned by "ldap" [WARNING] ln: accessing `/var/run/openldap/slapd.pid': No such file or directory # /etc/init.d/slapd status slapd dead but subsys locked # chown ldap /var/lib/ldap/__db.* # chown ldap /var/lib/ldap/alock # /etc/init.d/slapd stop Stopping slapd: [FAILED] # /etc/init.d/slapd start Starting slapd: [ OK ] # /etc/init.d/slapd status slapd (pid 2174) is running... Version-Release number of selected component (if applicable): openldap-servers-2.4.21-4.fc13 How reproducible: Always Steps to Reproduce: 1. Install openldap-servers. 2. /etc/init.d/slapd start Actual results: There are warnings and the ldap doesn't start. Expected results: No warnings and clean start of ldap. Additional info: Tested on two computers with clean install of F13 + latest updates.
openldap-2.4.21-8.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/openldap-2.4.21-8.fc13
Please re-test with above update.
Sorry, but the problem still persists. Probably it is because the /var/lib/ldap ownership is changed in "pre servers", but the /var/lib/ldap directory is created during install, thus it doesn't exist in "pre" phase. For upgrade it works, but for clean install it is not.
Sorry, my bad. I mistook the fix with the fix for something else. Another build will be available in a few minutes.
openldap-2.4.21-9.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/openldap-2.4.21-9.fc13
Now it works for me, thanks.
Perfect - the update is in testing for F13 and it is also available in rawhide. I'm closing the bug.
openldap-2.4.21-8.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
openldap-2.4.21-9.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.