[389-users] Problems with Database Import.

Rich Megginson rmeggins at redhat.com
Mon Jan 23 21:07:25 UTC 2012


On 01/23/2012 02:05 PM, Dan H. Eicher wrote:
> I’m attempting to port my ldap database from one machine to another, 
> the machine I am attempting to port to is running a newer version of 
> 389. The target machine is build 2011.308.2312.
>
> On the source machine I do an db2ldif - all looks good.
>
> I go to the target machine and start fedora-console, open the 
> directory server and choose import database.
Have you tried Initialize database?
>
> The first couple of thousand entries/users seem to go well, but then 
> by looking at both my ldif source file and the contents of my reject 
> file after one particular user I get:
>
> Error adding object 'dn: uid=ctuser,ou=Users,dc=localdomain'. The 
> error sent by the server was 'Cannot connect to the LDAP server'.
Did the server then crash?  Do you have a core file? What platform?
What version is the target machine?  rpm -qi 389-ds-base
>
> Every new user after that fails to be added.
>
> The import appears to complete and slapd doesn’t stop.
>
> Any tips here on how I can resolve this?
You could try to use ldif2db from the command line on the target machine.
>
> Thanks,
> Dan
> -- 
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users




More information about the 389-users mailing list