Bugs item #1118862, was opened at 2005-02-08 14:42 Message generated for change (Settings changed) made by muglerj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1118862&group_id=9368
Category: Installation Group: 4.1 Status: Open Resolution: None >Priority: 9 Submitted By: Fernando Laudares Camargos (laudares) Assigned to: Fernando Laudares Camargos (laudares) Summary: MySQL "brokes" when re-run install_cluster for the sec. time Initial Comment: This appears to be a Mandrake problem. If I run install_cluster a second time, the installation brokes before the Wizard with a database problem with the following message (below). To "correct" this I have to enter in the MySQL oscar database (mysql oscar) and enter the command "DELETE from nics where 1;". In the moment the installation brokes the nics table looked like this (summary): mysql> select ip, name,id, network_id from nics; +--------------+------+----+------------+ |ip |name| id |network_id | +--------------+------+----+------------+ |10.0.1.1 | eth1 | 21 | 2 | |192.168.2.76| eth0 |22 | 1 | +--------------+------+----+------------+ ... Checking for existance of configuration default ... DBD::mysql::db do failed: Duplicate entry 'eth1-1' for key 3 at /usr/lib/perl5/site_perl/oda.pm line 2322. Failed to insert records into table <nics> in database <oscar>: Duplicate entry 'eth1-1' for key 3 at /opt/oscar/lib/OSCAR/Database.pm line 298. SQL command that failed was: <INSERT INTO nics( nics.node_id, nics.ip, nics.name ) SELECT nodes.id, '10.0.1.1', 'eth1' FROM nodes WHERE nodes.name = 'oscar_server' ;> at /opt/oscar/lib/OSCAR/Database.pm line 298. /opt/oscar/scripts/set_node_nics: failed to create database record for nic eth1 on node oscar_server. DBD::mysql::db do failed: Duplicate entry 'eth0-1' for key 3 at /usr/lib/perl5/site_perl/oda.pm line 2322. Failed to insert records into table <nics> in database <oscar>: Duplicate entry 'eth0-1' for key 3 at /opt/oscar/lib/OSCAR/Database.pm line 298. SQL command that failed was: <INSERT INTO nics( nics.node_id, nics.ip, nics.name ) SELECT nodes.id, '192.168.2.76', 'eth0' FROM nodes WHERE nodes.name = 'oscar_server' ;> at /opt/oscar/lib/OSCAR/Database.pm line 298. /opt/oscar/scripts/set_node_nics: failed to create database record for nic eth0 on node oscar_server. Couldn't initialize the nics and networks for the oscar server at ./wizard_prep line 242 Oscar Wizard preparation script failed to complete at ./install_cluster line 215. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1118862&group_id=9368 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
