Looks like that presence file does exist in my old server's schema dir "/opt/fedora-ds/slapd-ldap/config/schema/". Maybe I should remove it from there in my source tarball and THEN rerun the migration? <br>
<br>I did notice that if I rerun the migration script on the new server (hit the same error), and then check "/etc/dirsrv/slapd-ldap/schema/" in the newly created instance, the '"10presense.ldif" DOES exist.<br>
<br>I guess maybe the correct thing to do is remove it from the old server source and then re-run the migration(?) Any input or best course of action would be great. Thanks again for the help.<br><br><br><br><div class="gmail_quote">
On Wed, Mar 10, 2010 at 3:04 PM, Brian Provenzano <span dir="ltr"><<a href="mailto:bproven@gmail.com">bproven@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Well, I just took a look in /etc/dirsrv/schema on my new (pre-migration snapshot) server and there is no "10presence.ldif " file there (nothing with 'presense' at all). Maybe I need to run the migration in order to create my instance, get the failure again and take another look?<div>
<div></div><div class="h5"><br>
<br><br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 2:27 PM, Rich Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Brian Provenzano wrote:<br>
> OK, I'll give that a try.<br>
><br>
> Oh, should I just make this change and just restart the server or<br>
> would it be better to rerun the migration again after making this<br>
> change? I can start over fresh since I run this server virtualized. I<br>
> have a snapshot before I executed the migration script.<br>
</div>Better to start over fresh.<br>
<div>><br>
> BTW thanks for the quick response :)<br>
</div>Sure - please file a bug - this is indeed a bug.<br>
<div>><br>
><br>
> On Wed, Mar 10, 2010 at 2:04 PM, Rich Megginson <<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a><br>
</div><div><div></div><div>> <mailto:<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>>> wrote:<br>
><br>
> Brian Provenzano wrote:<br>
> > I'm hoping someone can help me with this, but I am getting an error<br>
> > attempting a cross migration from an old version of FDS (FDS<br>
> 1.0.4) on<br>
> > CentOS 4 32bit to current 389 Directory server (via yum repos) on<br>
> > centOS 5.4 64bit. I used the following in order to install 389 DS on<br>
> > my new CentOS server 5.4 64bit :<br>
> > <a href="http://directory.fedoraproject.org/wiki/Download#Enterprise_Linux_5" target="_blank">http://directory.fedoraproject.org/wiki/Download#Enterprise_Linux_5</a><br>
> ><br>
> > I've exported my databases to LDIF as directed in the<br>
> documentation as<br>
> > well and am performing the migration on the new server from a<br>
> tarball<br>
> > of the original install taken from the old server.<br>
> ><br>
> > Anyway, when I run the migration script here is the output error I<br>
> > get. How do I correct this (I'm no LDAP expert that is certain)?<br>
> > -------------<br>
> > # /usr/sbin/./<a href="http://migrate-ds-admin.pl" target="_blank">migrate-ds-admin.pl</a> <<a href="http://migrate-ds-admin.pl" target="_blank">http://migrate-ds-admin.pl</a>><br>
> <<a href="http://migrate-ds-admin.pl" target="_blank">http://migrate-ds-admin.pl</a>> --cross<br>
> > --oldsroot /home/brian/LDAPmigration/fedora-ds --actualsroot<br>
> > /opt/fedora-ds General.ConfigDirectoryAdminPwd='mypassword'<br>
> > Beginning migration of Directory and Administration servers from<br>
> > /home/brian/LDAPmigration/fedora-ds . . .<br>
> > Beginning migration of directory server instances in<br>
> > /home/brian/LDAPmigration/fedora-ds . . .<br>
> > Your new DS instance 'slapd-ldap' was successfully created.<br>
> > Could not import the LDIF file '/tmp/nsrootJMtOFK.ldif' for the<br>
> > migrated database. Error: 256. Output: importing data ...<br>
> > [10/Mar/2010:13:12:44 -0700] dse - The entry cn=schema in file<br>
> > /etc/dirsrv/slapd-ldap/schema/60mozilla.ldif is invalid, error<br>
> code 20<br>
> > (Type or value exists) - attribute type nsAIMid: Does not match the<br>
> > OID "1.3.6.1.4.1.13769.2.4". Another attribute type is already using<br>
> > the name or OID<br>
> > [10/Mar/2010:13:12:44 -0700] dse - Please edit the file to<br>
> correct the<br>
> > reported problems and then restart the server.<br>
> ><br>
> > Exiting . . .<br>
> > Log file is '/tmp/migrateEjdYZw.log'<br>
> > --------------<br>
> ><br>
> > I'm not sure how to troubleshoot this. Any help would be great.<br>
> Try removing 10presence.ldif from the schema directory (save a copy<br>
> first though)<br>
> ><br>
> > Thanks brian<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > --<br>
> > 389 users mailing list<br>
> > <a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a><br>
</div></div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a>><br>
<div>> > <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
><br>
> --<br>
> 389 users mailing list<br>
> <a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a><br>
</div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a>><br>
<div><div></div><div>> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> --<br>
> 389 users mailing list<br>
> <a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a><br>
> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
<br>
--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>