Upgrading from 7.1 to 1.0.2

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

 



Richard Megginson wrote:

> 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:
>>
>> cd /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.ldif
>> cat /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 Fulton
>> Concept Technology, Inc. 
> I've updated the Install_Guide with this information - 
> http://directory.fedora.redhat.com/wiki/Install_Guide#Upgrading_from_the_7.1_release 
>
>   
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:

...MigrateCreate at ds71
 .jar at cn...

#Note the line break after ds71 and a space before .jar

A 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.





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux