Darren Fulton - CTI wrote:
Thanks Darren. I've updated http://directory.fedora.redhat.com/wiki/Install_Guide#Upgrading_from_the_7.1_release One thing I forgot - you can disable line wrapping in db2ldif by using the -U command line argument, which should make parsing the ldif file considerably easier.Richard Megginson wrote:I had to repeat the process above one more time and make two additional replacements to the ldif file referenced above in order to make the console work 100%. For whatever reason, the console was still trying to load the old jar files. I replaced all references to "ds71.jar" with "ds10.jar" AND all references to "admserv70.jar" with "admserv10.jar". One warning for you if you ever have to do this. In the ldif file, there were some instances of white space and line wrap. Here is one example:Darren Fulton - CTI wrote:That seems to have fixed it! Awesome. Thank you Richard. For the record, here are the details of what I did based on Richard's instructions:I've updated the Install_Guide with this information - http://directory.fedora.redhat.com/wiki/Install_Guide#Upgrading_from_the_7.1_releasecd /opt/fedora-ds/slapd-host2/ ./db2ldif -s o=netscaperoot > nsroot.ldif## That created an ldif file at /opt/fedora-ds/slapd-host2/ldif/2006_08_01_181049.ldifcat /opt/fedora-ds/slapd-host2/ldif/2006_08_01_181049.ldif ## That looks good cd /opt/fedora-ds/slapd-host2/ldif/ cp -p 2006_08_01_181049.ldif 2006_08_01_181049.ldif.orig rpl "ou=4.0" "ou=1.0" 2006_08_01_181049.ldif ## If no rpl, manually edit with vi or something cd /opt/fedora-ds/slapd-host2/./ldif2db -s o=netscaperoot -i /opt/fedora-ds/slapd-host2/ldif/2006_08_01_181049.ldif ## That failed with "Unable to import the database because it is being used by another slapd process."/opt/fedora-ds/slapd-host2/stop-slapd./ldif2db -s o=netscaperoot -i /opt/fedora-ds/slapd-host2/ldif/2006_08_01_181049.ldif## That time it seems to have worked. /opt/fedora-ds/slapd-host2/start-slapd cd /opt/fedora-ds ./startconsole ## It Works! -- Best Regards, Darren FultonConcept Technology, Inc....MigrateCreate@ds71 .jar@xxxxx #Note the line break after ds71 and a space before .jarA simple find and replace wouldn't have worked. So, the procedure that Richard cited is good, but also modify those jar file references while you're making the "ou=4.0" to "ou=1.0" changes if you still have the old jar file references.
-- Best Regards, Darren Fulton Concept Technology, Inc. -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users