Bernard Li wrote:

Got the following error message when trying to install crispy 5.1
branch on Fedora 8 x86:

Initializing package set <Default>
DBD::mysql::db do failed: Cannot add or update a child row: a foreign
key constraint fails (`oscar/Group_Packages`, CONSTRAINT
`Group_Packages_ibfk_1` FOREIGN KEY (`package`) REFERENCES `Packages`
(`package`) ON DELETE CASCADE) at /opt/oscar/lib/OSCAR/oda.pm line
733.
DB_DEBUG>./wizard_prep:
====> in Database::do_update SQL : INSERT INTO Group_Packages
(group_name, package, selected) VALUES ('Default', 'apitest', '1')
Error message: Failed to update Group_Packages table in database
<oscar>: Cannot add or update a child row: a foreign key constraint
fails (`oscar/Group_Packages`, CONSTRAINT `Group_Packages_ibfk_1`
FOREIGN KEY (`package`) REFERENCES `Packages` (`package`) ON DELETE
CASCADE) at /opt/oscar/lib/OSCAR/oda.pm line 739.
./wizard_prep: SQL command that failed was: <INSERT INTO
Group_Packages (group_name, package, selected) VALUES ('Default',
'apitest', '1')> at /opt/oscar/lib/OSCAR/oda.pm line 739.
DB_DEBUG>./wizard_prep:
====>Failed to insert values via << INSERT INTO Group_Packages
(group_name, package, selected) VALUES ('Default', 'apitest', '1') >>
at /opt/oscar/lib/OSCAR/Database.pm line 1681.
Oscar Wizard preparation script failed to complete at
./install_cluster line 279.

Any ideas?

Cheers,

Bernard

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel


Hi Bernard,
I wrote the following email before to Eirch:
And please find fc8.tar attached
Allan
Hi Erich,
Success,finally! I created anew server image after adding opium in the software selection gui, built the serrver and client images with gui and deployed my cluster. I now have a Fedora 8 OSCAR CRispy 5.1 cluster of 8 nodes and can ssh back and forth as non root and root user! I also used UYOK. It needs the package csh from yum. and some others but with some hiccups it still works for fc8! THe latest and the greatest Fedora distro! OSCAR CRISPY 5.1 still needs a lot of work to get a seamless install in half hour! I have new fc-8-x86_64.xml files ans fc-8-x86_64.rpmlist files in /opt/crispy_5.1/share/package_sets/Default and /opt/crispy_5.1/oscarsamples. I included in my last email the additional files i had created for fc8 but there are still some to be created and labelled them against you list as -- done and --not done. Did you get it. I uploaded the new file to the dir fc-8_x86_64-oscar51 by accident instead of fc-8-x86_64-oscar51! PLease find attached the tar fc8.tar containg the new rpmlist for fc8 and xml config for fc8 which works for me. Also i used a local distro in /tftpboot/distro copied from the Packages dir of fc8 x86_64 dvd called fc-8-x86_64. For some reason naming it /tftpboot/distro/fedora-8-x86_64 causes a problem with PackageSmart.pm line 128. BUt if i move with the linux mv command the fedora-8-x86_64 dir to fc-8-x86_64 the problem goes away. Thank you very much and waiting for your feedback. Tell me if you are going to add fc8 x86_64 support to CRISPY 5.1!
Cheers,
Allan Menezes

Attachment: fc8.tar
Description: Unix tar archive

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to