Re: [389-users] Migration Issues With Admin Server LDIF Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am wondering if I need to migrate my NetscapeRoot at all?  Can I just convert userRoot to LDIF run the migration and then maybe run setup script afterwards to create the NetscapeRoot?  Since I am stuck on migration and the problem seems to be in NetscapeRoot (I'm guessing - I have no idea now to solve it), is this possible? 

Docs state that NetscapeRoot contains default configuration.  The docs are not very detailed on what NetscapeRoot actually is.  I don't remember changing any of this anyway just creating my user defined suffix.
If anyone has any clues to put me on the right track I'd appreciate it.  Thanks... 



On Fri, Mar 12, 2010 at 12:48 PM, Brian Provenzano <bproven@xxxxxxxxx> wrote:
I'm still on the road to trying to migrate from FDS 1.0.4 to 389 DS 1.2.5.  Thanks to Rich's help yesterday in a previous thread (Cross Migration Problem From FDS 1.0.x to 386 Directory Server) I was able to fix an import issue with an existing ldif schema (presense.ldif).

Anyway, I am now running to the following issue when the migration script tries to read/migrate my data from LDIF ( I have a userRoot.ldif and NetscapeRoot.ldif).  I assume it is the NetscapeRoot.ldif that is the issue:


# ./migrate-ds-admin.pl --oldsroot /tmp/fedora-ds --actualsroot /opt/fedora-ds General.ConfigDirectoryAdminPwd='mypassword'
Beginning migration of Directory and Administration servers from /tmp/fedora-ds . . .
Beginning migration of directory server instances in /tmp/fedora-ds . . .
Your new DS instance 'slapd-ldap' was successfully created.
Beginning migration of Administration server from /tmp/fedora-ds . . .
Creating Admin Server files and directories . . .
dn: cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Grou
 p, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
objectclass: top
objectclass: nsResourceRef
cn: Tasks
Error adding entry 'cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot'.  Error: No such object
Exiting . . .
Log file is '/tmp/migrate5naZZB.log'


Here is the
/tmp/migrate5naZZB.log' log file:
---------------------
[10/03/12:10:58:57] - [Migration] Info Beginning migration of Directory and Administration servers from /tmp/fedora-ds . . .
[10/03/12:10:58:57] - [Migration] Info Beginning migration of directory server instances in /tmp/fedora-ds . . .
[10/03/12:10:59:00] - [Migration] Info Your new DS instance 'slapd-ldap' was successfully created.
[10/03/12:10:59:13] - [Migration] Info Copying /tmp/fedora-ds/alias/slapd-ldap-cert8.db to /etc/dirsrv/slapd-ldap/cert8.db
[10/03/12:10:59:13] - [Migration] Info Copying /tmp/fedora-ds/alias/slapd-ldap-key3.db to /etc/dirsrv/slapd-ldap/key3.db
[10/03/12:10:59:13] - [Migration] Info Copying /tmp/fedora-ds/alias/secmod.db to /etc/dirsrv/slapd-ldap/secmod.db
[10/03/12:10:59:13] - [Migration] Info No /tmp/fedora-ds/alias/slapd-ldap-pin.txt to migrate
[10/03/12:10:59:13] - [Migration] Info Copying /tmp/fedora-ds/shared/config/certmap.conf to /etc/dirsrv/slapd-ldap/certmap.co
nf
[10/03/12:10:59:14] - [Migration] Info Beginning migration of Administration server from /tmp/fedora-ds . . .
[10/03/12:10:59:15] - [Migration] Info Creating Admin Server files and directories . . .
[10/03/12:10:59:15] - [Migration] Debug No file to migrate: /tmp/fedora-ds/alias/admin-serv-ldap-cert8.db
[10/03/12:10:59:15] - [Migration] Debug No file to migrate: /tmp/fedora-ds/alias/admin-serv-ldap-key3.db
[10/03/12:10:59:15] - [Migration] Info Copying /tmp/fedora-ds/alias/secmod.db to /etc/dirsrv/admin-serv/secmod.db
[10/03/12:10:59:15] - [Migration] Info No /tmp/fedora-ds/alias/admin-serv-ldap-pin.txt to migrate
[10/03/12:10:59:15] - [Migration] Info Copying /tmp/fedora-ds/shared/config/certmap.conf to /etc/dirsrv/admin-serv/certmap.co
nf
[10/03/12:10:59:15] - [Migration] Info Error adding entry 'cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Ser
ver Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot'.  Error: No such object
[10/03/12:10:59:15] - [Migration] Fatal Exiting . . .
Log file is '/tmp/migrate5naZZB.log'


Thanks,
Brian


--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux