[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Checking the database.....

--On Monday, March 31, 2008 5:44 PM +0200 Buchan Milne <bgmilne@staff.telkomsa.net> wrote:

On Monday 31 March 2008 10:20:05 Padmavathi Dt wrote:
Dear List,

Can anyone please tell me how to check which database is being used by our openLDAP?

The "directory ..." line(s) in slapd.conf tell slapd which database(s) are to be used.

As you noted previously (in the thread "Slapd Not getting started after changing the "directory" value in slapd.conf!!!!!!!"), you had installed OL 2.4, and created a database in /usr/local/var/openldap-data. You then downgraded to 2.2, and *changed* your slapd.conf for 2.2 to point to /usr/local/var/openldap-data instead of its old path /var/lib/ldap, which means that now OL 2.2 is looking at the database that 2.4 left behind. Fix your "directory ..." line(s), or remove the old database in that location and start fresh.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration