FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 03-15-2010, 06:21 PM
Rich Megginson
 
Default Migration Issues With Admin Server LDIF Import

Brian Provenzano wrote:
> To answer your other questions:
>
> > Does the entry o=NetscapeRoot exist?
> > Does ou=mcs.local, o=NetscapeRoot exist?
> > Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?
> Yes. All of those exist in the original (source) server's database
> (o=NetscapeRoot, etc). I can see these easily using the admin console
> on the source server.
Ok. Then I'm not really sure what's going on. Try starting over, and
then run migrate-ds-admin.pl with the -ddd flag to enable full debugging.
>
> I guess I'll have to familiarize myself with dbscan or ldapsearch to
> see if they exist on the new server. However, I thought the purpose
> of the migration was that it would create these objects (and in the
> required order?) if they did not exist on the destination - especially
> since the destination should be empty at the time of the
> migration/import. Anyway, I'll try to look around - might take
> awhile since I'm not totally familiar with these CLI tools.
>
>
>
> On Mon, Mar 15, 2010 at 12:59 PM, Brian Provenzano <bproven@gmail.com
> <mailto:bproven@gmail.com>> wrote:
>
> The FQDN look the fine to me. I tried to be very careful about
> this pitfall.
>
> NEW server:
> # hostname --fqdn
> ldap.mcs.local
>
> OLD server:
> #hostname --fqdn
> ldap.mcs.local
>
>
> On Mon, Mar 15, 2010 at 12:38 PM, Rich Megginson
> <rmeggins@redhat.com <mailto:rmeggins@redhat.com>> wrote:
>
> Brian Provenzano wrote:
> > Exist in the destination you mean?
> If it was migrated at all, yes.
> > or in the source on the original FDS 1.0.4 server?
> Yes, if the migration did not get to that point yet.
> >
> > This is a fresh install of 389 for the migration and I have
> not run
> > setup (per migration docs), so I assume it does not exist
> yet? Should it?
> It depends on how far migration got before it failed.
> > Should I run setup first to create and then run migrate?
> I did not
> > do this since the docs state not to.
> Right.
> >
> > This is what I did to get to this point (not sure if this
> helps in
> > case I missed a step):
> >
> > Old CentOS 4.3 server with FDS 1.0.4 :
> > ------------------------------------
> > -Stop ldap server (admin and server processes) using the
> init scripts
> >
> > -Create the LDIF files to dump the databases to LDIF: cd
> > /opt/fedora-ds/slapd-ldap
> > ./db2ldif -n userRoot -a
> /opt/fedora-ds/slapd-ldap/db/userRoot.ldif
> > ./db2ldif -n NetscapeRoot -a
> > /opt/fedora-ds/slapd-ldap/db/NetscapeRoot.ldif
> >
> > -tar up the directory: tar -cpvf fedora-ds.tar fedora-ds
> >
> > -move the tar file to the /tmp dir of the new destination server
> > CentOS 5.4 (389 server already installed via 'yum install
> 389-ds' per
> > the docs using EPEL. This installed fine.). Per the docs
> here (
> >
> http://www.redhat.com/docs/manuals/dir-server/8.1/install/Installation_Guide-Migration_Procedure.html
> > ) I did not run the setup-ds-admin.pl
> <http://setup-ds-admin.pl> <http://setup-ds-admin.pl> due
> > to the warning note in the migration docs.
> >
> > -extract the tar to /tmp on the new server (tar -xpvf
> fedora.tar)
> >
> > -remove the 10presense.ldif file (per our other conversation
> regarding
> > my other issue - conflict with source ldif).
> >
> > -run the migration script as follows: ./migrate-ds-admin.pl
> <http://migrate-ds-admin.pl>
> > <http://migrate-ds-admin.pl> --oldsroot /tmp/fedora-ds
> --actualsroot
> > /opt/fedora-ds General.ConfigDirectoryAdminPwd='mypassword'
> What is the FQDN of the old machine you are migrating from? Is it
> exactly the same as the new FQDN?
> >
> >
> >
> >
> > On Mon, Mar 15, 2010 at 11:26 AM, Rich Megginson
> <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>
> wrote:
> >
> > Brian Provenzano wrote:
> > > Thanks for the tip. I have the following in my
> > > /var/log/dirsrv/slapd-ldap/access log:
> > >
> > > [15/Mar/2010:10:42:44 -0600] conn=1 fd=64 slot=64
> connection from
> > > 192.168.1.20 to 192.168.1.20
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 BIND dn=""
> method=128
> > version=3
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 RESULT err=0
> tag=97
> > > nentries=0 etime=0 dn=""
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 SRCH
> base="o=NetscapeRoot"
> > > scope=2 filter="(uid=admin)" attrs="dn"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 RESULT err=0
> tag=101
> > > nentries=1 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 BIND
> dn="uid=admin,
> > > ou=Administrators, ou=TopologyManagement,
> o=NetscapeRoot" method
> > > =128 version=3
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 RESULT err=0
> tag=97
> > > nentries=0 etime=0
> dn="uid=admin,ou=administrators,ou=topologyma
> > > nagement,o=netscaperoot"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 SRCH base="cn=389
> > > Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.
> > > local, o=NetscapeRoot" scope=0
> filter="(objectClass=*)" attrs="*
> > aci aci"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 RESULT err=32
> tag=101
> > > nentries=0 etime=0
> > Does the entry o=NetscapeRoot exist?
> > Does ou=mcs.local, o=NetscapeRoot exist?
> > Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 SRCH
> > > base="cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server
> > > Group, cn=lda
> > > p.mcs.local, ou=mcs.local, o=NetscapeRoot" scope=0
> > > filter="(objectClass=*)" attrs="* aci aci"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 RESULT err=32
> tag=101
> > > nentries=0 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 SRCH
> > base="cn=configuration,
> > > cn=admin-serv-ldap, cn=389 Administration Server, cn=Se
> > > rver Group, cn=ldap.mcs.local, ou=mcs.local,
> o=NetscapeRoot" scope=0
> > > filter="(objectClass=*)" attrs="* aci aci"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 RESULT err=32
> tag=101
> > > nentries=0 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 SRCH
> base="cn=encryption,
> > > cn=configuration, cn=admin-serv-ldap, cn=389 Administratio
> > > n Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local,
> > > o=NetscapeRoot" scope=0 filter="(objectClass=*)"
> attrs="* aci aci
> > > "
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 RESULT err=32
> tag=101
> > > nentries=0 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 SRCH
> base="cn=Tasks,
> > > cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Gro
> > > up, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"
> scope=0
> > > filter="(objectClass=*)" attrs="* aci aci"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 RESULT err=32
> tag=101
> > > nentries=0 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 ADD dn="cn=Tasks,
> > > cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group,
> > > cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 RESULT err=32
> tag=105
> > > nentries=0 etime=0
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 UNBIND
> > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 fd=64 closed - U1
> > >
> > >
> > > The "ADD" specified in the migration log is the same
> one here that
> > > appears to fail (I guess). Sorry for my ignorance,
> but I have
> > no idea
> > > how to resolve this.
> > >
> > >
> > >
> > > On Mon, Mar 15, 2010 at 9:30 AM, Rich Megginson
> > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>>> wrote:
> > >
> > > Brian Provenzano 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
> <http://migrate-ds-admin.pl> <http://migrate-ds-admin.pl>
> > <http://migrate-ds-admin.pl>
> > > <http://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
> <http://certmap.co> <http://certmap.co>
> > <http://certmap.co>
> > > <http://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
> <http://certmap.co> <http://certmap.co>
> > <http://certmap.co>
> > > <http://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
> > > Look in the access log of your configuration
> directory server -
> > > look for
> > > err=32 along with a DN that looks like the above.
> For an ADD
> > > operation,
> > > you get err=32 (No such object) when the parent of
> the entry
> > you are
> > > attempting to add cannot be found.
> > > > [10/03/12:10:59:15] - [Migration] Fatal Exiting
> . . .
> > > > Log file is '/tmp/migrate5naZZB.log'
> > > >
> > > >
> > > > Thanks,
> > > > Brian
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > >
> > > > --
> > > > 389 users mailing list
> > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 06:45 PM
Brian Provenzano
 
Default Migration Issues With Admin Server LDIF Import

I ran the migrate with the debug flag as requested.* It spits out about 2000+ lines of debug.* Is this list OK with me posting/emailing that many lines?* I can gladly post it.

On Mon, Mar 15, 2010 at 1:21 PM, Rich Megginson <rmeggins@redhat.com> wrote:

Brian Provenzano wrote:

> To answer your other questions:

>

> > * * Does the entry o=NetscapeRoot exist?

> > * * Does ou=mcs.local, o=NetscapeRoot exist?

> > * * Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?

> Yes. *All of those exist in the original (source) server's database

> (o=NetscapeRoot, etc). *I can see these easily using the admin console

> on the source server.

Ok. *Then I'm not really sure what's going on. *Try starting over, and

then run migrate-ds-admin.pl with the -ddd flag to enable full debugging.

>

> I guess I'll have to familiarize myself with dbscan or ldapsearch to

> see if they exist on the new server. *However, I thought the purpose

> of the migration was that it would create these objects (and in the

> required order?) if they did not exist on the destination - especially

> since the destination should be empty at the time of the

> migration/import. *Anyway, *I'll try to look around - might take

> awhile since I'm not totally familiar with these CLI tools.

>

>

>

> On Mon, Mar 15, 2010 at 12:59 PM, Brian Provenzano <bproven@gmail.com

> <mailto:bproven@gmail.com>> wrote:

>

> * * The FQDN look the fine to me. *I tried to be very careful about

> * * this pitfall.

>

> * * NEW server:

> * * # hostname --fqdn

> * * ldap.mcs.local

>

> * * OLD server:

> * * #hostname --fqdn

> * * ldap.mcs.local

>

>

> * * On Mon, Mar 15, 2010 at 12:38 PM, Rich Megginson

> * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>> wrote:

>

> * * * * Brian Provenzano wrote:

> * * * * > Exist in the destination you mean?

> * * * * If it was migrated at all, yes.

> * * * * > or in the source on the original FDS 1.0.4 server?

> * * * * Yes, if the migration did not get to that point yet.

> * * * * >

> * * * * > This is a fresh install of 389 for the migration and I have

> * * * * not run

> * * * * > setup (per migration docs), so I assume it does not exist

> * * * * yet? *Should it?

> * * * * It depends on how far migration got before it failed.

> * * * * > * Should I run setup first to create and then run migrate?

> * * * * *I did not

> * * * * > do this since the docs state not to.

> * * * * Right.

> * * * * >

> * * * * > This is what I did to get to this point (not sure if this

> * * * * helps in

> * * * * > case I missed a step):

> * * * * >

> * * * * > Old CentOS 4.3 server with FDS 1.0.4 :

> * * * * > ------------------------------------

> * * * * > -Stop ldap server (admin and server processes) using the

> * * * * init scripts

> * * * * >

> * * * * > -Create the LDIF files to dump the databases to LDIF: *cd

> * * * * > /opt/fedora-ds/slapd-ldap

> * * * * > *./db2ldif -n userRoot -a

> * * * * /opt/fedora-ds/slapd-ldap/db/userRoot.ldif

> * * * * > *./db2ldif -n NetscapeRoot -a

> * * * * > /opt/fedora-ds/slapd-ldap/db/NetscapeRoot.ldif

> * * * * >

> * * * * > -tar up the directory: *tar -cpvf fedora-ds.tar fedora-ds

> * * * * >

> * * * * > -move the tar file to the /tmp dir of the new destination server

> * * * * > CentOS 5.4 (389 server already installed via 'yum install

> * * * * 389-ds' per

> * * * * > the docs using EPEL. *This installed fine.). *Per the docs

> * * * * here (

> * * * * >

> * * * * http://www.redhat.com/docs/manuals/dir-server/8.1/install/Installation_Guide-Migration_Procedure.html


> * * * * > ) I did not run the setup-ds-admin.pl

> * * * * <http://setup-ds-admin.pl> <http://setup-ds-admin.pl> due

> * * * * > to the warning note in the migration docs.

> * * * * >

> * * * * > -extract the tar to /tmp on the new server (tar -xpvf

> * * * * fedora.tar)

> * * * * >

> * * * * > -remove the 10presense.ldif file (per our other conversation

> * * * * regarding

> * * * * > my other issue - conflict with source ldif).

> * * * * >

> * * * * > -run the migration script as follows: *./migrate-ds-admin.pl

> * * * * <http://migrate-ds-admin.pl>

> * * * * > <http://migrate-ds-admin.pl> --oldsroot /tmp/fedora-ds

> * * * * --actualsroot

> * * * * > /opt/fedora-ds General.ConfigDirectoryAdminPwd='mypassword'

> * * * * What is the FQDN of the old machine you are migrating from? *Is it

> * * * * exactly the same as the new FQDN?

> * * * * >

> * * * * >

> * * * * >

> * * * * >

> * * * * > On Mon, Mar 15, 2010 at 11:26 AM, Rich Megginson

> * * * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * * * > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>

> * * * * wrote:

> * * * * >

> * * * * > * * Brian Provenzano wrote:

> * * * * > * * > Thanks for the tip. *I have the following in my

> * * * * > * * > /var/log/dirsrv/slapd-ldap/access log:

> * * * * > * * >

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 fd=64 slot=64

> * * * * connection from

> * * * * > * * > 192.168.1.20 to 192.168.1.20

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 BIND dn=""

> * * * * method=128

> * * * * > * * version=3

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 RESULT err=0

> * * * * tag=97

> * * * * > * * > nentries=0 etime=0 dn=""

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 SRCH

> * * * * base="o=NetscapeRoot"

> * * * * > * * > scope=2 filter="(uid=admin)" attrs="dn"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 RESULT err=0

> * * * * tag=101

> * * * * > * * > nentries=1 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 BIND

> * * * * dn="uid=admin,

> * * * * > * * > ou=Administrators, ou=TopologyManagement,

> * * * * o=NetscapeRoot" method

> * * * * > * * > =128 version=3

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 RESULT err=0

> * * * * tag=97

> * * * * > * * > nentries=0 etime=0

> * * * * dn="uid=admin,ou=administrators,ou=topologyma

> * * * * > * * > nagement,o=netscaperoot"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 SRCH base="cn=389

> * * * * > * * > Administration Server, cn=Server Group,

> * * * * cn=ldap.mcs.local, ou=mcs.

> * * * * > * * > local, o=NetscapeRoot" scope=0

> * * * * filter="(objectClass=*)" attrs="*

> * * * * > * * aci aci"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 RESULT err=32

> * * * * tag=101

> * * * * > * * > nentries=0 etime=0

> * * * * > * * Does the entry o=NetscapeRoot exist?

> * * * * > * * Does ou=mcs.local, o=NetscapeRoot exist?

> * * * * > * * Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 SRCH

> * * * * > * * > base="cn=admin-serv-ldap, cn=389 Administration

> * * * * Server, cn=Server

> * * * * > * * > Group, cn=lda

> * * * * > * * > p.mcs.local, ou=mcs.local, o=NetscapeRoot" scope=0

> * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 RESULT err=32

> * * * * tag=101

> * * * * > * * > nentries=0 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 SRCH

> * * * * > * * base="cn=configuration,

> * * * * > * * > cn=admin-serv-ldap, cn=389 Administration Server, cn=Se

> * * * * > * * > rver Group, cn=ldap.mcs.local, ou=mcs.local,

> * * * * o=NetscapeRoot" scope=0

> * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 RESULT err=32

> * * * * tag=101

> * * * * > * * > nentries=0 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 SRCH

> * * * * base="cn=encryption,

> * * * * > * * > cn=configuration, cn=admin-serv-ldap, cn=389 Administratio

> * * * * > * * > n Server, cn=Server Group, cn=ldap.mcs.local,

> * * * * ou=mcs.local,

> * * * * > * * > o=NetscapeRoot" scope=0 filter="(objectClass=*)"

> * * * * attrs="* aci aci

> * * * * > * * > "

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 RESULT err=32

> * * * * tag=101

> * * * * > * * > nentries=0 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 SRCH

> * * * * base="cn=Tasks,

> * * * * > * * > cn=admin-serv-ldap, cn=389 Administration Server,

> * * * * cn=Server Gro

> * * * * > * * > up, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"

> * * * * scope=0

> * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 RESULT err=32

> * * * * tag=101

> * * * * > * * > nentries=0 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 ADD dn="cn=Tasks,

> * * * * > * * > cn=admin-serv-ldap, cn=389 Administration Server,

> * * * * cn=Server Group,

> * * * * > * * > *cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 RESULT err=32

> * * * * tag=105

> * * * * > * * > nentries=0 etime=0

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 UNBIND

> * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 fd=64 closed - U1

> * * * * > * * >

> * * * * > * * >

> * * * * > * * > The "ADD" specified in the migration log is the same

> * * * * one here that

> * * * * > * * > appears to fail (I guess). *Sorry for my ignorance,

> * * * * but I have

> * * * * > * * no idea

> * * * * > * * > how to resolve this.

> * * * * > * * >

> * * * * > * * >

> * * * * > * * >

> * * * * > * * > On Mon, Mar 15, 2010 at 9:30 AM, Rich Megginson

> * * * * > * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>

> * * * * > * * > <mailto:rmeggins@redhat.com

> * * * * <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com

> * * * * <mailto:rmeggins@redhat.com>>>> wrote:

> * * * * > * * >

> * * * * > * * > * * Brian Provenzano 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

> * * * * <http://migrate-ds-admin.pl> <http://migrate-ds-admin.pl>

> * * * * > * * <http://migrate-ds-admin.pl>

> * * * * > * * > * * <http://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

> * * * * <http://certmap.co> <http://certmap.co>

> * * * * > * * <http://certmap.co>

> * * * * > * * > * * <http://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

> * * * * <http://certmap.co> <http://certmap.co>

> * * * * > * * <http://certmap.co>

> * * * * > * * > * * <http://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

> * * * * > * * > * * Look in the access log of your configuration

> * * * * directory server -

> * * * * > * * > * * look for

> * * * * > * * > * * err=32 along with a DN that looks like the above.

> * * * * *For an ADD

> * * * * > * * > * * operation,

> * * * * > * * > * * you get err=32 (No such object) when the parent of

> * * * * the entry

> * * * * > * * you are

> * * * * > * * > * * attempting to add cannot be found.

> * * * * > * * > * * > [10/03/12:10:59:15] - [Migration] Fatal Exiting

> * * * * . . .

> * * * * > * * > * * > Log file is '/tmp/migrate5naZZB.log'

> * * * * > * * > * * >

> * * * * > * * > * * >

> * * * * > * * > * * > Thanks,

> * * * * > * * > * * > Brian

> * * * * > * * > * * >

> * * * * > * * > * * >

> * * * * > * * >

> * * * * >

> * * * * ------------------------------------------------------------------------

> * * * * > * * > * * >

> * * * * > * * > * * > --

> * * * * > * * > * * > 389 users mailing list

> * * * * > * * > * * > 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>

> * * * * > * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>>

> * * * * > * * > * * >

> * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * * * > * * >

> * * * * > * * > * * --

> * * * * > * * > * * 389 users mailing list

> * * * * > * * > * * 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>

> * * * * > * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>>

> * * * * > * * >

> * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * * * > * * >

> * * * * > * * >

> * * * * > * * >

> * * * * >

> * * * * ------------------------------------------------------------------------

> * * * * > * * >

> * * * * > * * > --

> * * * * > * * > 389 users mailing list

> * * * * > * * > 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>

> * * * * > * * > https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * * * >

> * * * * > * * --

> * * * * > * * 389 users mailing list

> * * * * > * * 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>>

> * * * * > * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * * * >

> * * * * >

> * * * * >

> * * * * ------------------------------------------------------------------------

> * * * * >

> * * * * > --

> * * * * > 389 users mailing list

> * * * * > 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * > https://admin.fedoraproject.org/mailman/listinfo/389-users

>

> * * * * --

> * * * * 389 users mailing list

> * * * * 389-users@lists.fedoraproject.org

> * * * * <mailto:389-users@lists.fedoraproject.org>

> * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

>

>

>

> ------------------------------------------------------------------------

>

> --

> 389 users mailing list

> 389-users@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/389-users



--

389 users mailing list

389-users@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/389-users



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 06:47 PM
Rich Megginson
 
Default Migration Issues With Admin Server LDIF Import

Brian Provenzano wrote:
> I ran the migrate with the debug flag as requested. It spits out
> about 2000+ lines of debug. Is this list OK with me posting/emailing
> that many lines? I can gladly post it.
Just send it to me directly.
>
> On Mon, Mar 15, 2010 at 1:21 PM, Rich Megginson <rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>> wrote:
>
> Brian Provenzano wrote:
> > To answer your other questions:
> >
> > > Does the entry o=NetscapeRoot exist?
> > > Does ou=mcs.local, o=NetscapeRoot exist?
> > > Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?
> > Yes. All of those exist in the original (source) server's database
> > (o=NetscapeRoot, etc). I can see these easily using the admin
> console
> > on the source server.
> Ok. Then I'm not really sure what's going on. Try starting over, and
> then run migrate-ds-admin.pl <http://migrate-ds-admin.pl> with the
> -ddd flag to enable full debugging.
> >
> > I guess I'll have to familiarize myself with dbscan or ldapsearch to
> > see if they exist on the new server. However, I thought the purpose
> > of the migration was that it would create these objects (and in the
> > required order?) if they did not exist on the destination -
> especially
> > since the destination should be empty at the time of the
> > migration/import. Anyway, I'll try to look around - might take
> > awhile since I'm not totally familiar with these CLI tools.
> >
> >
> >
> > On Mon, Mar 15, 2010 at 12:59 PM, Brian Provenzano
> <bproven@gmail.com <mailto:bproven@gmail.com>
> > <mailto:bproven@gmail.com <mailto:bproven@gmail.com>>> wrote:
> >
> > The FQDN look the fine to me. I tried to be very careful about
> > this pitfall.
> >
> > NEW server:
> > # hostname --fqdn
> > ldap.mcs.local
> >
> > OLD server:
> > #hostname --fqdn
> > ldap.mcs.local
> >
> >
> > On Mon, Mar 15, 2010 at 12:38 PM, Rich Megginson
> > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>> wrote:
> >
> > Brian Provenzano wrote:
> > > Exist in the destination you mean?
> > If it was migrated at all, yes.
> > > or in the source on the original FDS 1.0.4 server?
> > Yes, if the migration did not get to that point yet.
> > >
> > > This is a fresh install of 389 for the migration and I
> have
> > not run
> > > setup (per migration docs), so I assume it does not exist
> > yet? Should it?
> > It depends on how far migration got before it failed.
> > > Should I run setup first to create and then run migrate?
> > I did not
> > > do this since the docs state not to.
> > Right.
> > >
> > > This is what I did to get to this point (not sure if this
> > helps in
> > > case I missed a step):
> > >
> > > Old CentOS 4.3 server with FDS 1.0.4 :
> > > ------------------------------------
> > > -Stop ldap server (admin and server processes) using the
> > init scripts
> > >
> > > -Create the LDIF files to dump the databases to LDIF: cd
> > > /opt/fedora-ds/slapd-ldap
> > > ./db2ldif -n userRoot -a
> > /opt/fedora-ds/slapd-ldap/db/userRoot.ldif
> > > ./db2ldif -n NetscapeRoot -a
> > > /opt/fedora-ds/slapd-ldap/db/NetscapeRoot.ldif
> > >
> > > -tar up the directory: tar -cpvf fedora-ds.tar fedora-ds
> > >
> > > -move the tar file to the /tmp dir of the new
> destination server
> > > CentOS 5.4 (389 server already installed via 'yum install
> > 389-ds' per
> > > the docs using EPEL. This installed fine.). Per the docs
> > here (
> > >
> >
> http://www.redhat.com/docs/manuals/dir-server/8.1/install/Installation_Guide-Migration_Procedure.html
> > > ) I did not run the setup-ds-admin.pl
> <http://setup-ds-admin.pl>
> > <http://setup-ds-admin.pl> <http://setup-ds-admin.pl> due
> > > to the warning note in the migration docs.
> > >
> > > -extract the tar to /tmp on the new server (tar -xpvf
> > fedora.tar)
> > >
> > > -remove the 10presense.ldif file (per our other
> conversation
> > regarding
> > > my other issue - conflict with source ldif).
> > >
> > > -run the migration script as follows:
> ./migrate-ds-admin.pl <http://migrate-ds-admin.pl>
> > <http://migrate-ds-admin.pl>
> > > <http://migrate-ds-admin.pl> --oldsroot /tmp/fedora-ds
> > --actualsroot
> > > /opt/fedora-ds
> General.ConfigDirectoryAdminPwd='mypassword'
> > What is the FQDN of the old machine you are migrating
> from? Is it
> > exactly the same as the new FQDN?
> > >
> > >
> > >
> > >
> > > On Mon, Mar 15, 2010 at 11:26 AM, Rich Megginson
> > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>>>
> > wrote:
> > >
> > > Brian Provenzano wrote:
> > > > Thanks for the tip. I have the following in my
> > > > /var/log/dirsrv/slapd-ldap/access log:
> > > >
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 fd=64 slot=64
> > connection from
> > > > 192.168.1.20 to 192.168.1.20
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 BIND dn=""
> > method=128
> > > version=3
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 RESULT
> err=0
> > tag=97
> > > > nentries=0 etime=0 dn=""
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 SRCH
> > base="o=NetscapeRoot"
> > > > scope=2 filter="(uid=admin)" attrs="dn"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 RESULT
> err=0
> > tag=101
> > > > nentries=1 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 BIND
> > dn="uid=admin,
> > > > ou=Administrators, ou=TopologyManagement,
> > o=NetscapeRoot" method
> > > > =128 version=3
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 RESULT
> err=0
> > tag=97
> > > > nentries=0 etime=0
> > dn="uid=admin,ou=administrators,ou=topologyma
> > > > nagement,o=netscaperoot"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 SRCH
> base="cn=389
> > > > Administration Server, cn=Server Group,
> > cn=ldap.mcs.local, ou=mcs.
> > > > local, o=NetscapeRoot" scope=0
> > filter="(objectClass=*)" attrs="*
> > > aci aci"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 RESULT
> err=32
> > tag=101
> > > > nentries=0 etime=0
> > > Does the entry o=NetscapeRoot exist?
> > > Does ou=mcs.local, o=NetscapeRoot exist?
> > > Does cn=ldap.mcs.local, ou=mcs.local,
> o=NetscapeRoot exist?
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 SRCH
> > > > base="cn=admin-serv-ldap, cn=389 Administration
> > Server, cn=Server
> > > > Group, cn=lda
> > > > p.mcs.local, ou=mcs.local, o=NetscapeRoot" scope=0
> > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 RESULT
> err=32
> > tag=101
> > > > nentries=0 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 SRCH
> > > base="cn=configuration,
> > > > cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Se
> > > > rver Group, cn=ldap.mcs.local, ou=mcs.local,
> > o=NetscapeRoot" scope=0
> > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 RESULT
> err=32
> > tag=101
> > > > nentries=0 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 SRCH
> > base="cn=encryption,
> > > > cn=configuration, cn=admin-serv-ldap, cn=389
> Administratio
> > > > n Server, cn=Server Group, cn=ldap.mcs.local,
> > ou=mcs.local,
> > > > o=NetscapeRoot" scope=0 filter="(objectClass=*)"
> > attrs="* aci aci
> > > > "
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 RESULT
> err=32
> > tag=101
> > > > nentries=0 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 SRCH
> > base="cn=Tasks,
> > > > cn=admin-serv-ldap, cn=389 Administration Server,
> > cn=Server Gro
> > > > up, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"
> > scope=0
> > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 RESULT
> err=32
> > tag=101
> > > > nentries=0 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 ADD
> dn="cn=Tasks,
> > > > cn=admin-serv-ldap, cn=389 Administration Server,
> > cn=Server Group,
> > > > cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 RESULT
> err=32
> > tag=105
> > > > nentries=0 etime=0
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 UNBIND
> > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 fd=64
> closed - U1
> > > >
> > > >
> > > > The "ADD" specified in the migration log is the same
> > one here that
> > > > appears to fail (I guess). Sorry for my ignorance,
> > but I have
> > > no idea
> > > > how to resolve this.
> > > >
> > > >
> > > >
> > > > On Mon, Mar 15, 2010 at 9:30 AM, Rich Megginson
> > > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>
> > > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>> <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>>>> wrote:
> > > >
> > > > Brian Provenzano 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
> <http://migrate-ds-admin.pl>
> > <http://migrate-ds-admin.pl> <http://migrate-ds-admin.pl>
> > > <http://migrate-ds-admin.pl>
> > > > <http://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
> <http://certmap.co>
> > <http://certmap.co> <http://certmap.co>
> > > <http://certmap.co>
> > > > <http://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
> <http://certmap.co>
> > <http://certmap.co> <http://certmap.co>
> > > <http://certmap.co>
> > > > <http://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
> > > > Look in the access log of your configuration
> > directory server -
> > > > look for
> > > > err=32 along with a DN that looks like the
> above.
> > For an ADD
> > > > operation,
> > > > you get err=32 (No such object) when the
> parent of
> > the entry
> > > you are
> > > > attempting to add cannot be found.
> > > > > [10/03/12:10:59:15] - [Migration] Fatal
> Exiting
> > . . .
> > > > > Log file is '/tmp/migrate5naZZB.log'
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Brian
> > > > >
> > > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > >
> > > > > --
> > > > > 389 users mailing list
> > > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > > >
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > >
> > > > --
> > > > 389 users mailing list
> > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > >
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > >
> > > > --
> > > > 389 users mailing list
> > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 06:55 PM
Brian Provenzano
 
Default Migration Issues With Admin Server LDIF Import

Done.* Should be on its way.

On Mon, Mar 15, 2010 at 1:47 PM, Rich Megginson <rmeggins@redhat.com> wrote:

Brian Provenzano wrote:

> I ran the migrate with the debug flag as requested. *It spits out

> about 2000+ lines of debug. *Is this list OK with me posting/emailing

> that many lines? *I can gladly post it.

Just send it to me directly.

>

> On Mon, Mar 15, 2010 at 1:21 PM, Rich Megginson <rmeggins@redhat.com

> <mailto:rmeggins@redhat.com>> wrote:

>

> * * Brian Provenzano wrote:

> * * > To answer your other questions:

> * * >

> * * > > * * Does the entry o=NetscapeRoot exist?

> * * > > * * Does ou=mcs.local, o=NetscapeRoot exist?

> * * > > * * Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot exist?

> * * > Yes. *All of those exist in the original (source) server's database

> * * > (o=NetscapeRoot, etc). *I can see these easily using the admin

> * * console

> * * > on the source server.

> * * Ok. *Then I'm not really sure what's going on. *Try starting over, and

> * * then run migrate-ds-admin.pl <http://migrate-ds-admin.pl> with the

> * * -ddd flag to enable full debugging.

> * * >

> * * > I guess I'll have to familiarize myself with dbscan or ldapsearch to

> * * > see if they exist on the new server. *However, I thought the purpose

> * * > of the migration was that it would create these objects (and in the

> * * > required order?) if they did not exist on the destination -

> * * especially

> * * > since the destination should be empty at the time of the

> * * > migration/import. *Anyway, *I'll try to look around - might take

> * * > awhile since I'm not totally familiar with these CLI tools.

> * * >

> * * >

> * * >

> * * > On Mon, Mar 15, 2010 at 12:59 PM, Brian Provenzano

> * * <bproven@gmail.com <mailto:bproven@gmail.com>

> * * > <mailto:bproven@gmail.com <mailto:bproven@gmail.com>>> wrote:

> * * >

> * * > * * The FQDN look the fine to me. *I tried to be very careful about

> * * > * * this pitfall.

> * * >

> * * > * * NEW server:

> * * > * * # hostname --fqdn

> * * > * * ldap.mcs.local

> * * >

> * * > * * OLD server:

> * * > * * #hostname --fqdn

> * * > * * ldap.mcs.local

> * * >

> * * >

> * * > * * On Mon, Mar 15, 2010 at 12:38 PM, Rich Megginson

> * * > * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>> wrote:

> * * >

> * * > * * * * Brian Provenzano wrote:

> * * > * * * * > Exist in the destination you mean?

> * * > * * * * If it was migrated at all, yes.

> * * > * * * * > or in the source on the original FDS 1.0.4 server?

> * * > * * * * Yes, if the migration did not get to that point yet.

> * * > * * * * >

> * * > * * * * > This is a fresh install of 389 for the migration and I

> * * have

> * * > * * * * not run

> * * > * * * * > setup (per migration docs), so I assume it does not exist

> * * > * * * * yet? *Should it?

> * * > * * * * It depends on how far migration got before it failed.

> * * > * * * * > * Should I run setup first to create and then run migrate?

> * * > * * * * *I did not

> * * > * * * * > do this since the docs state not to.

> * * > * * * * Right.

> * * > * * * * >

> * * > * * * * > This is what I did to get to this point (not sure if this

> * * > * * * * helps in

> * * > * * * * > case I missed a step):

> * * > * * * * >

> * * > * * * * > Old CentOS 4.3 server with FDS 1.0.4 :

> * * > * * * * > ------------------------------------

> * * > * * * * > -Stop ldap server (admin and server processes) using the

> * * > * * * * init scripts

> * * > * * * * >

> * * > * * * * > -Create the LDIF files to dump the databases to LDIF: *cd

> * * > * * * * > /opt/fedora-ds/slapd-ldap

> * * > * * * * > *./db2ldif -n userRoot -a

> * * > * * * * /opt/fedora-ds/slapd-ldap/db/userRoot.ldif

> * * > * * * * > *./db2ldif -n NetscapeRoot -a

> * * > * * * * > /opt/fedora-ds/slapd-ldap/db/NetscapeRoot.ldif

> * * > * * * * >

> * * > * * * * > -tar up the directory: *tar -cpvf fedora-ds.tar fedora-ds

> * * > * * * * >

> * * > * * * * > -move the tar file to the /tmp dir of the new

> * * destination server

> * * > * * * * > CentOS 5.4 (389 server already installed via 'yum install

> * * > * * * * 389-ds' per

> * * > * * * * > the docs using EPEL. *This installed fine.). *Per the docs

> * * > * * * * here (

> * * > * * * * >

> * * >

> * * http://www.redhat.com/docs/manuals/dir-server/8.1/install/Installation_Guide-Migration_Procedure.html


> * * > * * * * > ) I did not run the setup-ds-admin.pl

> * * <http://setup-ds-admin.pl>

> * * > * * * * <http://setup-ds-admin.pl> <http://setup-ds-admin.pl> due

> * * > * * * * > to the warning note in the migration docs.

> * * > * * * * >

> * * > * * * * > -extract the tar to /tmp on the new server (tar -xpvf

> * * > * * * * fedora.tar)

> * * > * * * * >

> * * > * * * * > -remove the 10presense.ldif file (per our other

> * * conversation

> * * > * * * * regarding

> * * > * * * * > my other issue - conflict with source ldif).

> * * > * * * * >

> * * > * * * * > -run the migration script as follows:

> * * *./migrate-ds-admin.pl <http://migrate-ds-admin.pl>

> * * > * * * * <http://migrate-ds-admin.pl>

> * * > * * * * > <http://migrate-ds-admin.pl> --oldsroot /tmp/fedora-ds

> * * > * * * * --actualsroot

> * * > * * * * > /opt/fedora-ds

> * * General.ConfigDirectoryAdminPwd='mypassword'

> * * > * * * * What is the FQDN of the old machine you are migrating

> * * from? *Is it

> * * > * * * * exactly the same as the new FQDN?

> * * > * * * * >

> * * > * * * * >

> * * > * * * * >

> * * > * * * * >

> * * > * * * * > On Mon, Mar 15, 2010 at 11:26 AM, Rich Megginson

> * * > * * * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>

> * * > * * * * > <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com>>>>

> * * > * * * * wrote:

> * * > * * * * >

> * * > * * * * > * * Brian Provenzano wrote:

> * * > * * * * > * * > Thanks for the tip. *I have the following in my

> * * > * * * * > * * > /var/log/dirsrv/slapd-ldap/access log:

> * * > * * * * > * * >

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 fd=64 slot=64

> * * > * * * * connection from

> * * > * * * * > * * > 192.168.1.20 to 192.168.1.20

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 BIND dn=""

> * * > * * * * method=128

> * * > * * * * > * * version=3

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=0 RESULT

> * * err=0

> * * > * * * * tag=97

> * * > * * * * > * * > nentries=0 etime=0 dn=""

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 SRCH

> * * > * * * * base="o=NetscapeRoot"

> * * > * * * * > * * > scope=2 filter="(uid=admin)" attrs="dn"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 RESULT

> * * err=0

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=1 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 BIND

> * * > * * * * dn="uid=admin,

> * * > * * * * > * * > ou=Administrators, ou=TopologyManagement,

> * * > * * * * o=NetscapeRoot" method

> * * > * * * * > * * > =128 version=3

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 RESULT

> * * err=0

> * * > * * * * tag=97

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * dn="uid=admin,ou=administrators,ou=topologyma

> * * > * * * * > * * > nagement,o=netscaperoot"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 SRCH

> * * base="cn=389

> * * > * * * * > * * > Administration Server, cn=Server Group,

> * * > * * * * cn=ldap.mcs.local, ou=mcs.

> * * > * * * * > * * > local, o=NetscapeRoot" scope=0

> * * > * * * * filter="(objectClass=*)" attrs="*

> * * > * * * * > * * aci aci"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 RESULT

> * * err=32

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * Does the entry o=NetscapeRoot exist?

> * * > * * * * > * * Does ou=mcs.local, o=NetscapeRoot exist?

> * * > * * * * > * * Does cn=ldap.mcs.local, ou=mcs.local,

> * * o=NetscapeRoot exist?

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 SRCH

> * * > * * * * > * * > base="cn=admin-serv-ldap, cn=389 Administration

> * * > * * * * Server, cn=Server

> * * > * * * * > * * > Group, cn=lda

> * * > * * * * > * * > p.mcs.local, ou=mcs.local, o=NetscapeRoot" scope=0

> * * > * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 RESULT

> * * err=32

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 SRCH

> * * > * * * * > * * base="cn=configuration,

> * * > * * * * > * * > cn=admin-serv-ldap, cn=389 Administration

> * * Server, cn=Se

> * * > * * * * > * * > rver Group, cn=ldap.mcs.local, ou=mcs.local,

> * * > * * * * o=NetscapeRoot" scope=0

> * * > * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 RESULT

> * * err=32

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 SRCH

> * * > * * * * base="cn=encryption,

> * * > * * * * > * * > cn=configuration, cn=admin-serv-ldap, cn=389

> * * Administratio

> * * > * * * * > * * > n Server, cn=Server Group, cn=ldap.mcs.local,

> * * > * * * * ou=mcs.local,

> * * > * * * * > * * > o=NetscapeRoot" scope=0 filter="(objectClass=*)"

> * * > * * * * attrs="* aci aci

> * * > * * * * > * * > "

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 RESULT

> * * err=32

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 SRCH

> * * > * * * * base="cn=Tasks,

> * * > * * * * > * * > cn=admin-serv-ldap, cn=389 Administration Server,

> * * > * * * * cn=Server Gro

> * * > * * * * > * * > up, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"

> * * > * * * * scope=0

> * * > * * * * > * * > filter="(objectClass=*)" attrs="* aci aci"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 RESULT

> * * err=32

> * * > * * * * tag=101

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 ADD

> * * dn="cn=Tasks,

> * * > * * * * > * * > cn=admin-serv-ldap, cn=389 Administration Server,

> * * > * * * * cn=Server Group,

> * * > * * * * > * * > *cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot"

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 RESULT

> * * err=32

> * * > * * * * tag=105

> * * > * * * * > * * > nentries=0 etime=0

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 UNBIND

> * * > * * * * > * * > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 fd=64

> * * closed - U1

> * * > * * * * > * * >

> * * > * * * * > * * >

> * * > * * * * > * * > The "ADD" specified in the migration log is the same

> * * > * * * * one here that

> * * > * * * * > * * > appears to fail (I guess). *Sorry for my ignorance,

> * * > * * * * but I have

> * * > * * * * > * * no idea

> * * > * * * * > * * > how to resolve this.

> * * > * * * * > * * >

> * * > * * * * > * * >

> * * > * * * * > * * >

> * * > * * * * > * * > On Mon, Mar 15, 2010 at 9:30 AM, Rich Megginson

> * * > * * * * > * * <rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>

> * * > * * * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>

> * * <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>

> * * > * * * * > * * > <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com>

> * * > * * * * <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com>> <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com>

> * * > * * * * <mailto:rmeggins@redhat.com

> * * <mailto:rmeggins@redhat.com>>>>> wrote:

> * * > * * * * > * * >

> * * > * * * * > * * > * * Brian Provenzano 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

> * * <http://migrate-ds-admin.pl>

> * * > * * * * <http://migrate-ds-admin.pl> <http://migrate-ds-admin.pl>

> * * > * * * * > * * <http://migrate-ds-admin.pl>

> * * > * * * * > * * > * * <http://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

> * * <http://certmap.co>

> * * > * * * * <http://certmap.co> <http://certmap.co>

> * * > * * * * > * * <http://certmap.co>

> * * > * * * * > * * > * * <http://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

> * * <http://certmap.co>

> * * > * * * * <http://certmap.co> <http://certmap.co>

> * * > * * * * > * * <http://certmap.co>

> * * > * * * * > * * > * * <http://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

> * * > * * * * > * * > * * Look in the access log of your configuration

> * * > * * * * directory server -

> * * > * * * * > * * > * * look for

> * * > * * * * > * * > * * err=32 along with a DN that looks like the

> * * above.

> * * > * * * * *For an ADD

> * * > * * * * > * * > * * operation,

> * * > * * * * > * * > * * you get err=32 (No such object) when the

> * * parent of

> * * > * * * * the entry

> * * > * * * * > * * you are

> * * > * * * * > * * > * * attempting to add cannot be found.

> * * > * * * * > * * > * * > [10/03/12:10:59:15] - [Migration] Fatal

> * * Exiting

> * * > * * * * . . .

> * * > * * * * > * * > * * > Log file is '/tmp/migrate5naZZB.log'

> * * > * * * * > * * > * * >

> * * > * * * * > * * > * * >

> * * > * * * * > * * > * * > Thanks,

> * * > * * * * > * * > * * > Brian

> * * > * * * * > * * > * * >

> * * > * * * * > * * > * * >

> * * > * * * * > * * >

> * * > * * * * >

> * * >

> * * ------------------------------------------------------------------------

> * * > * * * * > * * > * * >

> * * > * * * * > * * > * * > --

> * * > * * * * > * * > * * > 389 users mailing list

> * * > * * * * > * * > * * > 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>

> * * > * * * * > * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>>

> * * > * * * * > * * > * * >

> * * > * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * > * * * * > * * >

> * * > * * * * > * * > * * --

> * * > * * * * > * * > * * 389 users mailing list

> * * > * * * * > * * > * * 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>

> * * > * * * * > * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>>

> * * > * * * * > * * >

> * * > * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * > * * * * > * * >

> * * > * * * * > * * >

> * * > * * * * > * * >

> * * > * * * * >

> * * >

> * * ------------------------------------------------------------------------

> * * > * * * * > * * >

> * * > * * * * > * * > --

> * * > * * * * > * * > 389 users mailing list

> * * > * * * * > * * > 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>

> * * > * * * * > * * >

> * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * > * * * * >

> * * > * * * * > * * --

> * * > * * * * > * * 389 users mailing list

> * * > * * * * > * * 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>>

> * * > * * * * >

> * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * > * * * * >

> * * > * * * * >

> * * > * * * * >

> * * >

> * * ------------------------------------------------------------------------

> * * > * * * * >

> * * > * * * * > --

> * * > * * * * > 389 users mailing list

> * * > * * * * > 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * > https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * >

> * * > * * * * --

> * * > * * * * 389 users mailing list

> * * > * * * * 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > * * * * <mailto:389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>>

> * * > * * * * https://admin.fedoraproject.org/mailman/listinfo/389-users

> * * >

> * * >

> * * >

> * * >

> * * ------------------------------------------------------------------------

> * * >

> * * > --

> * * > 389 users mailing list

> * * > 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * > https://admin.fedoraproject.org/mailman/listinfo/389-users

>

> * * --

> * * 389 users mailing list

> * * 389-users@lists.fedoraproject.org

> * * <mailto:389-users@lists.fedoraproject.org>

> * * https://admin.fedoraproject.org/mailman/listinfo/389-users

>

>

> ------------------------------------------------------------------------

>

> --

> 389 users mailing list

> 389-users@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/389-users



--

389 users mailing list

389-users@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/389-users



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 07:07 PM
Rich Megginson
 
Default Migration Issues With Admin Server LDIF Import

Brian Provenzano wrote:
> Done. Should be on its way.
Ok. Looks like the major problem is that migration does not convert the
cn=Fedora Administration Server and cn=Fedora Directory Server stuff to
389. When you dump your old data to NetscapeRoot.ldif, you could try
editing it to change Fedora Administration to 389 Administration and
Fedora Directory to 389 Directory
>
> On Mon, Mar 15, 2010 at 1:47 PM, Rich Megginson <rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>> wrote:
>
> Brian Provenzano wrote:
> > I ran the migrate with the debug flag as requested. It spits out
> > about 2000+ lines of debug. Is this list OK with me
> posting/emailing
> > that many lines? I can gladly post it.
> Just send it to me directly.
> >
> > On Mon, Mar 15, 2010 at 1:21 PM, Rich Megginson
> <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>> wrote:
> >
> > Brian Provenzano wrote:
> > > To answer your other questions:
> > >
> > > > Does the entry o=NetscapeRoot exist?
> > > > Does ou=mcs.local, o=NetscapeRoot exist?
> > > > Does cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> exist?
> > > Yes. All of those exist in the original (source) server's
> database
> > > (o=NetscapeRoot, etc). I can see these easily using the admin
> > console
> > > on the source server.
> > Ok. Then I'm not really sure what's going on. Try starting
> over, and
> > then run migrate-ds-admin.pl <http://migrate-ds-admin.pl>
> <http://migrate-ds-admin.pl> with the
> > -ddd flag to enable full debugging.
> > >
> > > I guess I'll have to familiarize myself with dbscan or
> ldapsearch to
> > > see if they exist on the new server. However, I thought
> the purpose
> > > of the migration was that it would create these objects
> (and in the
> > > required order?) if they did not exist on the destination -
> > especially
> > > since the destination should be empty at the time of the
> > > migration/import. Anyway, I'll try to look around -
> might take
> > > awhile since I'm not totally familiar with these CLI tools.
> > >
> > >
> > >
> > > On Mon, Mar 15, 2010 at 12:59 PM, Brian Provenzano
> > <bproven@gmail.com <mailto:bproven@gmail.com>
> <mailto:bproven@gmail.com <mailto:bproven@gmail.com>>
> > > <mailto:bproven@gmail.com <mailto:bproven@gmail.com>
> <mailto:bproven@gmail.com <mailto:bproven@gmail.com>>>> wrote:
> > >
> > > The FQDN look the fine to me. I tried to be very
> careful about
> > > this pitfall.
> > >
> > > NEW server:
> > > # hostname --fqdn
> > > ldap.mcs.local
> > >
> > > OLD server:
> > > #hostname --fqdn
> > > ldap.mcs.local
> > >
> > >
> > > On Mon, Mar 15, 2010 at 12:38 PM, Rich Megginson
> > > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>> wrote:
> > >
> > > Brian Provenzano wrote:
> > > > Exist in the destination you mean?
> > > If it was migrated at all, yes.
> > > > or in the source on the original FDS 1.0.4 server?
> > > Yes, if the migration did not get to that point yet.
> > > >
> > > > This is a fresh install of 389 for the migration
> and I
> > have
> > > not run
> > > > setup (per migration docs), so I assume it does
> not exist
> > > yet? Should it?
> > > It depends on how far migration got before it failed.
> > > > Should I run setup first to create and then
> run migrate?
> > > I did not
> > > > do this since the docs state not to.
> > > Right.
> > > >
> > > > This is what I did to get to this point (not
> sure if this
> > > helps in
> > > > case I missed a step):
> > > >
> > > > Old CentOS 4.3 server with FDS 1.0.4 :
> > > > ------------------------------------
> > > > -Stop ldap server (admin and server processes)
> using the
> > > init scripts
> > > >
> > > > -Create the LDIF files to dump the databases to
> LDIF: cd
> > > > /opt/fedora-ds/slapd-ldap
> > > > ./db2ldif -n userRoot -a
> > > /opt/fedora-ds/slapd-ldap/db/userRoot.ldif
> > > > ./db2ldif -n NetscapeRoot -a
> > > > /opt/fedora-ds/slapd-ldap/db/NetscapeRoot.ldif
> > > >
> > > > -tar up the directory: tar -cpvf fedora-ds.tar
> fedora-ds
> > > >
> > > > -move the tar file to the /tmp dir of the new
> > destination server
> > > > CentOS 5.4 (389 server already installed via
> 'yum install
> > > 389-ds' per
> > > > the docs using EPEL. This installed fine.).
> Per the docs
> > > here (
> > > >
> > >
> >
> http://www.redhat.com/docs/manuals/dir-server/8.1/install/Installation_Guide-Migration_Procedure.html
> > > > ) I did not run the setup-ds-admin.pl
> <http://setup-ds-admin.pl>
> > <http://setup-ds-admin.pl>
> > > <http://setup-ds-admin.pl>
> <http://setup-ds-admin.pl> due
> > > > to the warning note in the migration docs.
> > > >
> > > > -extract the tar to /tmp on the new server (tar
> -xpvf
> > > fedora.tar)
> > > >
> > > > -remove the 10presense.ldif file (per our other
> > conversation
> > > regarding
> > > > my other issue - conflict with source ldif).
> > > >
> > > > -run the migration script as follows:
> > ./migrate-ds-admin.pl <http://migrate-ds-admin.pl>
> <http://migrate-ds-admin.pl>
> > > <http://migrate-ds-admin.pl>
> > > > <http://migrate-ds-admin.pl> --oldsroot
> /tmp/fedora-ds
> > > --actualsroot
> > > > /opt/fedora-ds
> > General.ConfigDirectoryAdminPwd='mypassword'
> > > What is the FQDN of the old machine you are migrating
> > from? Is it
> > > exactly the same as the new FQDN?
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, Mar 15, 2010 at 11:26 AM, Rich Megginson
> > > <rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>
> > > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>>>
> > > wrote:
> > > >
> > > > Brian Provenzano wrote:
> > > > > Thanks for the tip. I have the following
> in my
> > > > > /var/log/dirsrv/slapd-ldap/access log:
> > > > >
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 fd=64
> slot=64
> > > connection from
> > > > > 192.168.1.20 to 192.168.1.20
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0
> BIND dn=""
> > > method=128
> > > > version=3
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=0
> RESULT
> > err=0
> > > tag=97
> > > > > nentries=0 etime=0 dn=""
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1 SRCH
> > > base="o=NetscapeRoot"
> > > > > scope=2 filter="(uid=admin)" attrs="dn"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=1
> RESULT
> > err=0
> > > tag=101
> > > > > nentries=1 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2 BIND
> > > dn="uid=admin,
> > > > > ou=Administrators, ou=TopologyManagement,
> > > o=NetscapeRoot" method
> > > > > =128 version=3
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=2
> RESULT
> > err=0
> > > tag=97
> > > > > nentries=0 etime=0
> > > dn="uid=admin,ou=administrators,ou=topologyma
> > > > > nagement,o=netscaperoot"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3 SRCH
> > base="cn=389
> > > > > Administration Server, cn=Server Group,
> > > cn=ldap.mcs.local, ou=mcs.
> > > > > local, o=NetscapeRoot" scope=0
> > > filter="(objectClass=*)" attrs="*
> > > > aci aci"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=3
> RESULT
> > err=32
> > > tag=101
> > > > > nentries=0 etime=0
> > > > Does the entry o=NetscapeRoot exist?
> > > > Does ou=mcs.local, o=NetscapeRoot exist?
> > > > Does cn=ldap.mcs.local, ou=mcs.local,
> > o=NetscapeRoot exist?
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4 SRCH
> > > > > base="cn=admin-serv-ldap, cn=389
> Administration
> > > Server, cn=Server
> > > > > Group, cn=lda
> > > > > p.mcs.local, ou=mcs.local, o=NetscapeRoot"
> scope=0
> > > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=4
> RESULT
> > err=32
> > > tag=101
> > > > > nentries=0 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5 SRCH
> > > > base="cn=configuration,
> > > > > cn=admin-serv-ldap, cn=389 Administration
> > Server, cn=Se
> > > > > rver Group, cn=ldap.mcs.local, ou=mcs.local,
> > > o=NetscapeRoot" scope=0
> > > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=5
> RESULT
> > err=32
> > > tag=101
> > > > > nentries=0 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6 SRCH
> > > base="cn=encryption,
> > > > > cn=configuration, cn=admin-serv-ldap, cn=389
> > Administratio
> > > > > n Server, cn=Server Group, cn=ldap.mcs.local,
> > > ou=mcs.local,
> > > > > o=NetscapeRoot" scope=0
> filter="(objectClass=*)"
> > > attrs="* aci aci
> > > > > "
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=6
> RESULT
> > err=32
> > > tag=101
> > > > > nentries=0 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7 SRCH
> > > base="cn=Tasks,
> > > > > cn=admin-serv-ldap, cn=389 Administration
> Server,
> > > cn=Server Gro
> > > > > up, cn=ldap.mcs.local, ou=mcs.local,
> o=NetscapeRoot"
> > > scope=0
> > > > > filter="(objectClass=*)" attrs="* aci aci"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=7
> RESULT
> > err=32
> > > tag=101
> > > > > nentries=0 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8 ADD
> > dn="cn=Tasks,
> > > > > cn=admin-serv-ldap, cn=389 Administration
> Server,
> > > cn=Server Group,
> > > > > cn=ldap.mcs.local, ou=mcs.local,
> o=NetscapeRoot"
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=8
> RESULT
> > err=32
> > > tag=105
> > > > > nentries=0 etime=0
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9
> UNBIND
> > > > > [15/Mar/2010:10:42:44 -0600] conn=1 op=9 fd=64
> > closed - U1
> > > > >
> > > > >
> > > > > The "ADD" specified in the migration log
> is the same
> > > one here that
> > > > > appears to fail (I guess). Sorry for my
> ignorance,
> > > but I have
> > > > no idea
> > > > > how to resolve this.
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Mar 15, 2010 at 9:30 AM, Rich
> Megginson
> > > > <rmeggins@redhat.com
> <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>
> > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com> <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>>
> > > > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>>
> <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>
> > > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>
> > <mailto:rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>>>>>> wrote:
> > > > >
> > > > > Brian Provenzano 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
> <http://migrate-ds-admin.pl>
> > <http://migrate-ds-admin.pl>
> > > <http://migrate-ds-admin.pl>
> <http://migrate-ds-admin.pl>
> > > > <http://migrate-ds-admin.pl>
> > > > > <http://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
> <http://certmap.co>
> > <http://certmap.co>
> > > <http://certmap.co> <http://certmap.co>
> > > > <http://certmap.co>
> > > > > <http://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
> <http://certmap.co>
> > <http://certmap.co>
> > > <http://certmap.co> <http://certmap.co>
> > > > <http://certmap.co>
> > > > > <http://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
> > > > > Look in the access log of your
> configuration
> > > directory server -
> > > > > look for
> > > > > err=32 along with a DN that looks like the
> > above.
> > > For an ADD
> > > > > operation,
> > > > > you get err=32 (No such object) when the
> > parent of
> > > the entry
> > > > you are
> > > > > attempting to add cannot be found.
> > > > > > [10/03/12:10:59:15] - [Migration] Fatal
> > Exiting
> > > . . .
> > > > > > Log file is '/tmp/migrate5naZZB.log'
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Brian
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > > >
> > > > > > --
> > > > > > 389 users mailing list
> > > > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > > >
> <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>>
> > > > > >
> > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > > >
> > > > > --
> > > > > 389 users mailing list
> > > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > > >
> <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>>
> > > > >
> > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > >
> > > > > --
> > > > > 389 users mailing list
> > > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > > >
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > >
> > > > --
> > > > 389 users mailing list
> > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>>
> > > >
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > >
> > > > --
> > > > 389 users mailing list
> > > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>>
> > >
> https://admin.fedoraproject.org/mailman/listinfo/389-users
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > --
> > > 389 users mailing list
> > > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > <mailto:389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > --
> > 389 users mailing list
> > 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> <mailto:389-users@lists.fedoraproject.org>
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 09:04 PM
Brian Provenzano
 
Default Migration Issues With Admin Server LDIF Import

That definitely gets me a bit farther along.* I replaced the occurrences in the NetscapeRoot.ldif and reran the process, but I hit another error.* Looks there is another location (another ldif?) that is being read in for migration and it has a bad ref to the 'Fedora' cn as well. The fun never ends.


---------SNIPPET:
+++check_and_add_entry: skipping entry cn=change-sie-password,
cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

Error finding LDAP entries under 'cn=admin-serv-ldap, cn=Fedora
Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local,
o=NetscapeRoot' to update in the local admin server configuration file
'/etc/dirsrv/admin-serv/local.conf'.* LDAP Error: No such object

Exiting . . .
----------

Unfortunately, I'm not sure which one b/c it is not Netscaperoot.ldif this time.*** Here is the applicable tail of the log starting at the point in which the Administration Server is imported.* Maybe it will provide a clue.* I'll try to poke around myself and see if I see anything.


--------------------------LOG:
Beginning migration of Administration server from /tmp/fedora-ds . . .
Creating Admin Server files and directories . . .
+makePaths: created directory /var/log/dirsrv/admin-serv mode 700 user nobody group nobody

++***** drwx------ 2 nobody nobody 4096 Mar 15 15:50 /var/log/dirsrv/admin-serv
+Need to make ldapStart an absolute path - /usr/lib/dirsrv/slapd-ldap/start-slapd
+++Attempting connection to ldap.mcs.local:389 certdir* configdir /etc/dirsrv/admin-serv

+Processing /usr/share/dirsrv/data/asmigrate.ldif.tmpl ...
+++check_and_add_entry: Found entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsVendor values=389 Project to entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsProductVersion values=1.1.10 to entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsBuildNumber values=2010.021.018 to entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=installationTimeStamp values=20100315215032Z to entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsServerMigrationClassname values=com.netscape.management.admserv.AdminServer Product@389-admin-1.1.jar to entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Deleting attr=nsInstalledLocation from entry cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=installationTimeStamp values=20100315215032Z to entry cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Deleting attr=userPassword from entry cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Deleting attr=serverRoot from entry cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsSuiteSpotUser values=nobody to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsAdminUsers values=/etc/dirsrv/admin-serv/admpw to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsErrorLog values=/var/log/dirsrv/admin-serv/errors to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsPidLog values=admin-serv.pid to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsAccessLog values=/var/log/dirsrv/admin-serv/access to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsClassName values=com.netscape.management.admserv.AdminServer @389-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Entry not found cn=encryption, cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot error No such object
+++check_and_add_entry: attepting to modify the entry cn=encryption, cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot that does not exist

+Processing /usr/share/dirsrv/data/21astasks.ldif.tmpl ...
+++check_and_add_entry: Found entry cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: skipping entry cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: skipping entry cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=Stop, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsClassname values=com.netscape.management.admserv.task.Stop@3 89-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=Stop, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/stopadm.html to entry cn=Stop, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=Stop,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=Stop,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=Restart, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsClassname values=com.netscape.management.admserv.task.Restar t@389-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=Restart, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/restartadm.html to entry cn=Restart, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=Restart,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=Restart,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=Authenticate, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/userauth.html to entry cn=Authenticate, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=Authenticate,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=Authenticate,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=ListOldServers, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=ListOldServers, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=StartConfigDS, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=StartConfigDS, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=MigrateConfig, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=MigrateConfig, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=StatusPing, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=StatusPing, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=Configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=Configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=ServerSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsClassname values=com.netscape.management.admserv.task.Server Setup@389-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=ServerSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=ServerSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=ServerSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Entry not found cn=DirectorySetup, cn=configuration, 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

+Entry cn=DirectorySetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
+++check_and_add_entry: Entry not found cn=UGDirectorySetup, cn=configuration, 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

+Entry cn=UGDirectorySetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
+++check_and_add_entry: Found entry cn=AccessSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: skipping entry cn=AccessSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=Logging, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsClassname values=com.netscape.management.admserv.task.Loggin g@389-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=Logging, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/logging.html to entry cn=Logging, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=Logging,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=Logging,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=SecurityOp, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=SecurityOp, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=CertSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsClassname values=com.netscape.management.admserv.task.CertSe tup@389-admin-1.1.jar@cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot to entry cn=CertSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/certrequest.html to entry cn=CertSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=CertSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=CertSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=SSLActivate, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/ssl_activate.html to entry cn=SSLActivate, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=SSLActivate,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=SSLActivate,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=ReadLog, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/logging.html to entry cn=ReadLog, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=ReadLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=ReadLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=HTMLAdmin, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/htmladmin.html to entry cn=HTMLAdmin, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=HTMLAdmin,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=HTMLAdmin,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=StatPingServ, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/statpingserv.html to entry cn=StatPingServ, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=StatPingServ,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=StatPingServ,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=ViewData, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/viewdata.html to entry cn=ViewData, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=ViewData,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=ViewData,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=ViewLog, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/viewlog.html to entry cn=ViewLog, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=ViewLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=ViewLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Entry not found cn=MonReplication, cn=configuration, 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

+++check_and_add_entry: attepting to modify the entry cn=MonReplication, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot that does not exist

+++check_and_add_entry: Entry not found cn=MonReplication, cn=configuration, 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

+Entry cn=MonReplication, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
+++check_and_add_entry: Found entry cn=repl-monitor-cgi.pl, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/monreplication.html to entry cn=repl-monitor-cgi.pl, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=repl-monitor-cgi.pl,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: skipping entry cn=repl-monitor-cgi.pl,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+Processing /usr/share/dirsrv/data/22ascommands.ldif.tmpl ...
+++check_and_add_entry: Found entry cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: skipping entry cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: Found entry cn=sync-task-sie-data, cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++Replacing attr=nsHelpRef values=/usr/share/dirsrv/manual/help/sync-task-sie-data.html to entry cn=sync-task-sie-data, cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

+++check_and_add_entry: Found entry cn=sync-task-sie-data,cn=Commands,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
+++check_and_add_entry: skipping entry cn=sync-task-sie-data,cn=Commands,cn=admin-serv-ldap,cn=389 Administration Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t

+++check_and_add_entry: Found entry cn=change-sie-password, cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
+++check_and_add_entry: skipping entry cn=change-sie-password, cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot

Error finding LDAP entries under 'cn=admin-serv-ldap, cn=Fedora Administration Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot' to update in the local admin server configuration file '/etc/dirsrv/admin-serv/local.conf'.* LDAP Error: No such object

Exiting . . .


On Mon, Mar 15, 2010 at 2:07 PM, Rich Megginson <rmeggins@redhat.com> wrote:

Brian Provenzano wrote:

> Done. *Should be on its way.

Ok. *Looks like the major problem is that migration does not convert the

cn=Fedora Administration Server and cn=Fedora Directory Server stuff to

389. *When you dump your old data to NetscapeRoot.ldif, you could try

editing it to change Fedora Administration to 389 Administration and

Fedora Directory to 389 Directory


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 09:57 PM
Rich Megginson
 
Default Migration Issues With Admin Server LDIF Import

Brian Provenzano wrote:
> That definitely gets me a bit farther along. I replaced the
> occurrences in the NetscapeRoot.ldif and reran the process, but I hit
> another error. Looks there is another location (another ldif?) that
> is being read in for migration and it has a bad ref to the 'Fedora' cn
> as well. The fun never ends.
It is /etc/dirsrv/admin-serv/local.conf - and probably all of the other
config files under /opt/fedora-ds/admin-serv/config and
/opt/fedora-ds/shared/config
>
> ---------SNIPPET:
> +++check_and_add_entry: skipping entry cn=change-sie-password,
> cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> Error finding LDAP entries under 'cn=admin-serv-ldap, cn=Fedora
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot' to update in the local admin server
> configuration file '/etc/dirsrv/admin-serv/local.conf'. LDAP Error:
> No such object
> Exiting . . .
> ----------
>
> Unfortunately, I'm not sure which one b/c it is not Netscaperoot.ldif
> this time. Here is the applicable tail of the log starting at the
> point in which the Administration Server is imported. Maybe it will
> provide a clue. I'll try to poke around myself and see if I see anything.
>
> --------------------------LOG:
> Beginning migration of Administration server from /tmp/fedora-ds . . .
> Creating Admin Server files and directories . . .
> +makePaths: created directory /var/log/dirsrv/admin-serv mode 700 user
> nobody group nobody
> ++ drwx------ 2 nobody nobody 4096 Mar 15 15:50
> /var/log/dirsrv/admin-serv
> +Need to make ldapStart an absolute path -
> /usr/lib/dirsrv/slapd-ldap/start-slapd
> +++Attempting connection to ldap.mcs.local:389 certdir configdir
> /etc/dirsrv/admin-serv
> +Processing /usr/share/dirsrv/data/asmigrate.ldif.tmpl ...
> +++check_and_add_entry: Found entry cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsVendor values=389 Project to entry cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsProductVersion values=1.1.10 to entry cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsBuildNumber values=2010.021.018 to entry cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=installationTimeStamp values=20100315215032Z to
> entry cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsServerMigrationClassname
> values=com.netscape.management.admserv.AdminServer Product@389-admin-1.1.jar
> to entry cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Deleting attr=nsInstalledLocation from entry cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=installationTimeStamp values=20100315215032Z to
> entry cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Deleting attr=userPassword from entry cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++Deleting attr=serverRoot from entry cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=configuration,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsSuiteSpotUser values=nobody to entry
> cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsAdminUsers values=/etc/dirsrv/admin-serv/admpw to
> entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsErrorLog values=/var/log/dirsrv/admin-serv/errors
> to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsPidLog values=admin-serv.pid to entry
> cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsAccessLog values=/var/log/dirsrv/admin-serv/access
> to entry cn=configuration, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassName
> values=com.netscape.management.admserv.AdminServer @389-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=configuration,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Entry not found cn=encryption,
> cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot error
> No such object
> +++check_and_add_entry: attepting to modify the entry cn=encryption,
> cn=configuration, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot that
> does not exist
> +Processing /usr/share/dirsrv/data/21astasks.ldif.tmpl ...
> +++check_and_add_entry: Found entry cn=Tasks, cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=Tasks, cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=Operation, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=Operation, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=Stop, cn=Operation, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassname
> values=com.netscape.management.admserv.task.Stop@3 89-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=Stop, cn=Operation, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/stopadm.html to entry cn=Stop,
> cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=Stop,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration
> Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=Stop,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389 Administration
> Server,cn=Server Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=Restart, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassname
> values=com.netscape.management.admserv.task.Restar t@389-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=Restart, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/restartadm.html to entry
> cn=Restart, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=Restart,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=Restart,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=Authenticate, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/userauth.html to entry
> cn=Authenticate, cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=Authenticate,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=Authenticate,cn=Operation,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=ListOldServers, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=ListOldServers,
> cn=Operation, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=StartConfigDS, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=StartConfigDS, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=MigrateConfig, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=MigrateConfig, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=StatusPing, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=StatusPing, cn=Operation,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=Configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=Configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=ServerSetup, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassname
> values=com.netscape.management.admserv.task.Server Setup@389-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=ServerSetup,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=ServerSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=ServerSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Entry not found cn=DirectorySetup,
> cn=configuration, 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
> +Entry cn=DirectorySetup, cn=configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
> +++check_and_add_entry: Entry not found cn=UGDirectorySetup,
> cn=configuration, 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
> +Entry cn=UGDirectorySetup, cn=configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
> +++check_and_add_entry: Found entry cn=AccessSetup, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=AccessSetup,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=Logging, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassname
> values=com.netscape.management.admserv.task.Loggin g@389-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=Logging, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/logging.html to entry cn=Logging,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=Logging,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=Logging,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=SecurityOp, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=SecurityOp,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=CertSetup, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsClassname
> values=com.netscape.management.admserv.task.CertSe tup@389-admin-1.1.jar@cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot to entry cn=CertSetup, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/certrequest.html to entry
> cn=CertSetup, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=CertSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=CertSetup,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=SSLActivate, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/ssl_activate.html to entry
> cn=SSLActivate, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=SSLActivate,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=SSLActivate,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=ReadLog, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/logging.html to entry cn=ReadLog,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=ReadLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=ReadLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=HTMLAdmin, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/htmladmin.html to entry
> cn=HTMLAdmin, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=HTMLAdmin,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=HTMLAdmin,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=StatPingServ, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/statpingserv.html to entry
> cn=StatPingServ, cn=configuration, cn=Tasks, cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=StatPingServ,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=StatPingServ,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=ViewData, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/viewdata.html to entry
> cn=ViewData, cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=ViewData,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=ViewData,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=ViewLog, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/viewlog.html to entry cn=ViewLog,
> cn=configuration, cn=Tasks, cn=admin-serv-ldap, cn=389 Administration
> Server, cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=ViewLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=ViewLog,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Entry not found cn=MonReplication,
> cn=configuration, 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
> +++check_and_add_entry: attepting to modify the entry
> cn=MonReplication, cn=configuration, cn=Tasks, cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot that does not exist
> +++check_and_add_entry: Entry not found cn=MonReplication,
> cn=configuration, 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
> +Entry cn=MonReplication, cn=configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot is added
> +++check_and_add_entry: Found entry cn=repl-monitor-cgi.pl
> <http://repl-monitor-cgi.pl>, cn=configuration, cn=Tasks,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/monreplication.html to entry
> cn=repl-monitor-cgi.pl <http://repl-monitor-cgi.pl>, cn=configuration,
> cn=Tasks, cn=admin-serv-ldap, cn=389 Administration Server, cn=Server
> Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=repl-monitor-cgi.pl
> <http://repl-monitor-cgi.pl>,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry cn=repl-monitor-cgi.pl
> <http://repl-monitor-cgi.pl>,cn=configuration,cn=Tasks,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +Processing /usr/share/dirsrv/data/22ascommands.ldif.tmpl ...
> +++check_and_add_entry: Found entry cn=Commands, cn=admin-serv-ldap,
> cn=389 Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=Commands,
> cn=admin-serv-ldap, cn=389 Administration Server, cn=Server Group,
> cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry cn=sync-task-sie-data,
> cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++Replacing attr=nsHelpRef
> values=/usr/share/dirsrv/manual/help/sync-task-sie-data.html to entry
> cn=sync-task-sie-data, cn=Commands, cn=admin-serv-ldap, cn=389
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: Found entry
> cn=sync-task-sie-data,cn=Commands,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: skipping entry
> cn=sync-task-sie-data,cn=Commands,cn=admin-serv-ldap,cn=389
> Administration Server,cn=Server
> Group,cn=ldap.mcs.local,ou=mcs.local,o=NetscapeRoo t
> +++check_and_add_entry: Found entry cn=change-sie-password,
> cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> +++check_and_add_entry: skipping entry cn=change-sie-password,
> cn=Commands, cn=admin-serv-ldap, cn=389 Administration Server,
> cn=Server Group, cn=ldap.mcs.local, ou=mcs.local, o=NetscapeRoot
> Error finding LDAP entries under 'cn=admin-serv-ldap, cn=Fedora
> Administration Server, cn=Server Group, cn=ldap.mcs.local,
> ou=mcs.local, o=NetscapeRoot' to update in the local admin server
> configuration file '/etc/dirsrv/admin-serv/local.conf'. LDAP Error:
> No such object
> Exiting . . .
>
>
> On Mon, Mar 15, 2010 at 2:07 PM, Rich Megginson <rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>> wrote:
>
> Brian Provenzano wrote:
> > Done. Should be on its way.
> Ok. Looks like the major problem is that migration does not
> convert the
> cn=Fedora Administration Server and cn=Fedora Directory Server
> stuff to
> 389. When you dump your old data to NetscapeRoot.ldif, you could try
> editing it to change Fedora Administration to 389 Administration and
> Fedora Directory to 389 Directory
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 10:11 PM
Brian Provenzano
 
Default Migration Issues With Admin Server LDIF Import

My destination server's "/etc/dirsrv/admin-serv/local.conf" is empty, so I'll check the source server's
"/opt/fedora-ds/admin-serv/config" and "/opt/fedora-ds/shared/config" make the necessary changes and try the migration again.


On Mon, Mar 15, 2010 at 4:57 PM, Rich Megginson <rmeggins@redhat.com> wrote:

Brian Provenzano wrote:

> That definitely gets me a bit farther along. *I replaced the

> occurrences in the NetscapeRoot.ldif and reran the process, but I hit

> another error. *Looks there is another location (another ldif?) that

> is being read in for migration and it has a bad ref to the 'Fedora' cn

> as well. The fun never ends.

It is /etc/dirsrv/admin-serv/local.conf - and probably all of the other

config files under /opt/fedora-ds/admin-serv/config and

/opt/fedora-ds/shared/config

>


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 10:13 PM
Rich Megginson
 
Default Migration Issues With Admin Server LDIF Import

Brian Provenzano wrote:
> My destination server's "/etc/dirsrv/admin-serv/local.conf" is empty,
Right.
> so I'll check the source server's
> "/opt/fedora-ds/admin-serv/config" and "/opt/fedora-ds/shared/config"
> make the necessary changes and try the migration again.
Right.
>
> On Mon, Mar 15, 2010 at 4:57 PM, Rich Megginson <rmeggins@redhat.com
> <mailto:rmeggins@redhat.com>> wrote:
>
> Brian Provenzano wrote:
> > That definitely gets me a bit farther along. I replaced the
> > occurrences in the NetscapeRoot.ldif and reran the process, but
> I hit
> > another error. Looks there is another location (another ldif?) that
> > is being read in for migration and it has a bad ref to the
> 'Fedora' cn
> > as well. The fun never ends.
> It is /etc/dirsrv/admin-serv/local.conf - and probably all of the
> other
> config files under /opt/fedora-ds/admin-serv/config and
> /opt/fedora-ds/shared/config
> >
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 03-15-2010, 11:18 PM
Brian Provenzano
 
Default Migration Issues With Admin Server LDIF Import

Rich,

We finally got it (or should I say you did).* I updated the following to change references to "Fedora" to "389" and the migration completed successfully:

/tmp/fedora-ds/admin-serv/config/adm.conf

/tmp/fedora-ds/admin-serv/config/local.conf

Now, to confirm everything looks OK after the migration.* I'm hoping after all this, I paid my dues and it does work fine

Anyway, to summarize, the fixes were:

-------------------------------------------------------------
-updating my source NetscapeRoot.ldif so that all references to 'Fedora' were changed to '389'
-updating the following conf files in the source directory:

/tmp/fedora-ds/admin-serv/config/adm.conf
/tmp/fedora-ds/admin-serv/config/local.conf

-The run the migration

Awesome.* Thanks for your help.* You went above and beyond.* Where do I send the case of beer?


BTW if this is a bug (which IMO it is in the migration script), do you need me to file a bug report?* I'll file the other bug regarding the removing the "10presense.ldif" file we worked a few days ago.


-brian

On Mon, Mar 15, 2010 at 5:13 PM, Rich Megginson <rmeggins@redhat.com> wrote:


Brian Provenzano wrote:

> My destination server's "/etc/dirsrv/admin-serv/local.conf" is empty,

Right.

> so I'll check the source server's

> "/opt/fedora-ds/admin-serv/config" and "/opt/fedora-ds/shared/config"

> make the necessary changes and try the migration again.

Right.

>

> On Mon, Mar 15, 2010 at 4:57 PM, Rich Megginson <rmeggins@redhat.com

> <mailto:rmeggins@redhat.com>> wrote:

>

> * * Brian Provenzano wrote:

> * * > That definitely gets me a bit farther along. *I replaced the

> * * > occurrences in the NetscapeRoot.ldif and reran the process, but

> * * I hit

> * * > another error. *Looks there is another location (another ldif?) that

> * * > is being read in for migration and it has a bad ref to the

> * * 'Fedora' cn

> * * > as well. The fun never ends.

> * * It is /etc/dirsrv/admin-serv/local.conf - and probably all of the

> * * other

> * * config files under /opt/fedora-ds/admin-serv/config and

> * * /opt/fedora-ds/shared/config

> * * >

>

>

> ------------------------------------------------------------------------

>

> --

> 389 users mailing list

> 389-users@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/389-users



--

389 users mailing list

389-users@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/389-users



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

Thread Tools




All times are GMT. The time now is 10:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org