[Freeipa-users] (no subject)

Rich Megginson rmeggins at redhat.com
Wed Mar 14 21:41:24 UTC 2012


On 03/14/2012 03:26 PM, Jimmy wrote:
> http://fpaste.org/nSWh/
Thanks.  Looks like you are going to have to export your database to 
ldif, re-import it, and then re-initialize all of your replicas.

http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Populating_Directory_Databases-Exporting_Data.html

For ipa, the scripts are in /var/lib/dirsrv/scripts-YOUR-DOMAIN

For ipa, your database is userRoot (so -n userRoot)

so first, do db2ldif, then ldif2db, then use ipa-replica-manage to 
reinitialize all of your replicas
>
> Here ya go
> Jimmy
>
> On Wed, Mar 14, 2012 at 5:11 PM, Rich Megginson<rmeggins at redhat.com>  wrote:
>> On 03/14/2012 03:13 PM, Jimmy wrote:
>>> bdb/4.8/libback-ldbm/newidl/rdn-format-2/dn-4514
>>> bdb/4.8/libback-ldbm/newidl/rdn-format-2/dn-4514
>> It appears that the entryrdn upgrade didn't work.  Can you sanitize your
>> /var/log/dirsrv/slapd-DOMAIN/errors file and post it to fpaste.org?
>>
>>> On Wed, Mar 14, 2012 at 5:06 PM, Rich Megginson<rmeggins at redhat.com>
>>>   wrote:
>>>> On 03/14/2012 03:05 PM, Jimmy wrote:
>>>>> This doesn't appear to be very good. If I drop the `grep` I see the
>>>>> data I would expect to see.
>>>>>
>>>>> dbscan -f
>>>>> /var/lib/dirsrv/slapd-YOUR-DOMAIN/db/userRoot/entryrdn.db4|grep
>>>>> cn=etc
>>>>> 22:cn=etc
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>> C22:cn=etc
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>> P22:cn=etc
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>>>    ID: 22; RDN: "cn=etc"; NRDN: "cn=etc"
>>>> find /var/lib/dirsrv/slapd-YOUR-DOMAIN/db -name DBVERSION -exec cat {} \;
>>




More information about the Freeipa-users mailing list