[CentOS] openldap migration script fails...

Thu Jul 19 20:26:07 UTC 2007
Steve Strong <strong at crwash.org>

OK, now this is getting better.  the openldap server seems to function OK,
but running the migration scripts results in a duplicate entry error while
"migrate_all_offline.sh" is processing /etc/services.  the duplicate entry
is "echo" and when i looked at the file their are two entries, one for tcp
and one for udp.

shouldn't these migration scripts be able to hangke this?

anyhow, when the script terminates in tells me where there is an .ldif
file.  does any one know how to use that file as an input to another app
after i edit out all of the duplicate entries???

or is there a better way to get around this?

thanks!
steve


> nice!  thanks, BUT now migrating the file stuff (passwd, shadow, etc)
> proceeds wonderfully, but when it finishes and tries to restart slapd,
> it says it can't find the server.
> steve
>
> joseph tacuyan wrote:
>>
>>
>> On 7/19/07, *Steve Strong* <strong at crwash.org
>> <mailto:strong at crwash.org>> wrote:
>>
>>     ... with this error message:
>>
>>     Preparing LDAP database...
>>     => bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data
>>     pair
>>     already exists (-30996)
>>     => bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair
>> already
>>     exists (-30996)
>>     slapadd: could not add entry dn="dc=washcslab,dc=org" (line=5):
>>     txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
>>     Migration failed: saving failed LDIF to /tmp/nis.ldif.Gi3667
>>
>>     ok, so this is the second (or fourth) time i've done this, but is
>>     there
>>     a way to delete the existing key???
>>
>>     any help would be greatly appreciated!
>>     steve
>>
>>     --
>>     Steve Strong
>>     Math and Computer Science
>>     Washington High School
>>     2205 Forest Dr. SE
>>     Cedar Rapids, IA   52403
>>     http://crwash.org
>>     mailto: strong at crwash.org <mailto:strong at crwash.org>
>>
>>     _______________________________________________
>>     CentOS mailing list
>>     CentOS at centos.org <mailto:CentOS at centos.org>
>>     http://lists.centos.org/mailman/listinfo/centos
>>
>>
>> Yes, via ldapdelete.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
> --
> Steve Strong
> Math and Computer Science
> Washington High School
> 2205 Forest Dr. SE
> Cedar Rapids, IA   52403
> http://crwash.org
> mailto:strong at crwash.org
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Steve Strong
Math an Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52402