[Date Prev][Date Next]
Re: master ldap database is not getting populated
- To: openldap-software@OpenLDAP.org
- Subject: Re: master ldap database is not getting populated
- From: Moe <email@example.com>
- Date: Sun, 11 Dec 2005 20:01:48 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HN2UwZVz3NfyJV+9Jh7ZD4tUArlmKxPTZa3d33RwoD5EmLR9OdFe+mLlQ6iGK58cz1EM9bPCaC+4IxVOgO3lU+lMnvfFBXZYkKfqJng/XQ3YF2Hj6XdmfY9mmGWByDS0viQHBZBqoV/zI53VlfBGkWiQRlWGVB1srAg3LOCeUDc= ;
- In-reply-to: <CF47EBB41AED8DDC8BAD0917@cadabra-sw.stanford.edu>
Thanks for this clarification. I believe that i didn't recover my database properly.
slapd was not starting. When this happened, i delete all the log files and db__ and i did db_recover -v. slapd started after i did that and when i did the search i was getting less entries as expected.
Is there a suggested way of recovery that i can try ?
Quanah Gibson-Mount <firstname.lastname@example.org> wrote:
--On Friday, December 09, 2005 4:41 PM -0800 Moe wrote:
> I created ldif file using slapcat. The ldif file has entries like
> entryUUID etc.. I removed those so that i can use ldapadd to add the
> missing entries. example: When i do
> ldapsearch -x -b 'uid=AHEALY,dc=local,dc=gov' '(objectclass=*)'
> i get back object no object found.
> when i try to add the entry i get
> adding new entry "uid=AHEALY,dc=local,dc=gov"
> request 2 done
> ldap_add: Already exists (68)
> This is happening with all the entries that are looks missing. I have
> no clue why this is happening. slurpd deamon is running and i know those
> supposedly missing entries are in the slave database.
> Any ideas why this might be happening?
This would generally indicate that the entries are on your master, but the
database is corrupted and needs recovering (or to be fully reloaded),
assumin gof course that you allow anonymous access to your entries on the
master (otherwise the serach result you got doesn't mean anything).
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Find Great Deals on Holiday Gifts at Yahoo! Shopping