Hi Ankush,
Try this : Remove the line <apitest> from the file fc-8.x86_64.xml or fc-8-i386.xml depening on whether your installation is 64 or 32 bit and start_over. You will find the file in /opt/oscar/share/package_sets/Default directory and use emacs or your favorite text editor to edit it (remove apitest) Also you will have to start over. Do this by # cd /opt/oscar/scrirpts/./start_over and log off as and log in and got /opt/oscar then ./install_cluster ethn n=0,1,2 ... depening on your installation...
Good luck!
Allan Menezes
Ankush Kaul wrote:

i am currently working on a project which requries me to install oscar 5.1 and i am using fedora 8 for my final year engineering project. I got stuck on a problem,i tried searching on the internet but didnt get anything, so i wanted someone's help who has some experience with cluster. I came across this mail archive.

This is the error i got:

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 <http://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 <http://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 <http://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 1668. Oscar Wizard preparation script failed to complete (cd /opt/oscar/scripts && ./wizard_prep) at ./install_cluster line 275.


I really am in need of some guidance. Regards,
Ankush Kaul

------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

------------------------------------------------------------------------

_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to