Erik,

I opened a ticket: http://svn.oscar.openclustergroup.org/trac/oscar/ticket/496

Thanks,

----- Mail Original -----
De: "Erik Jacobson" <[EMAIL PROTECTED]>
À: [email protected]
Envoyé: Dimanche 9 Novembre 2008 11:46:16 GMT -05:00 USA/Canada - États de l'Est
Objet: [Oscar-devel] oscar 5.1rc1/suse10.3 Enabling BitTorrent from gui fails

from the 'Setup Networking' window of the oscar wizard....
I previously installed some nodes using rsync.
I switched to systemimager-bt in the 'Installation Mode and DHCP Setup'
section of the 'Setup Networking' window.

This failed.  Here are the messages from the console.  I tracked down the
issue, which you'll see after the output below:

--> Step 6: Updated /etc/systemimager/bittorrent.conf
Stopping SystemImager's BitTorrent Transport: systemimager-server-bittorrent... 
stopped.
Starting SystemImager's BitTorrent Transport: systemimager-server-bittorrent... 
tracker: ok
ERROR: error in /etc/systemimager/bittorrent.conf: BT_INTERFACE not specified 
or not valid!
failed.
Tk::Error: Failed to run /etc/init.d/systemimager-server-bittorrent restart at 
/opt/oscar/lib/OSCAR/GUI_MAC.pm line 795
 Carp::croak at /usr/lib/perl5/5.8.8/Carp.pm line 269
 OSCAR::MAC::run_cmd at /opt/oscar/lib/OSCAR/MAC.pm line 342
 OSCAR::MAC::__enable_install_mode at /opt/oscar/lib/OSCAR/MAC.pm line 506
 OSCAR::GUI_MAC::enable_install_mode at /opt/oscar/lib/OSCAR/GUI_MAC.pm line 795
 Tk callback for .toplevel.frame.button5
 Tk::__ANON__ at 
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk.pm line 247
 Tk::Button::butUp at 
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk/Button.pm line 111
 <ButtonRelease-1>
 (command bound to event)


The problem here was the sed line in MAC.pm:

 $cmd = "sed -e 's/BT_INTERFACE=eth[0-9][0-9]*/BT_INTERFACE=$interface/' -e 
's/BT_IMAGES=.*/BT_IMAGES=$images_list/' -e 
's/BT_OVERRIDES=.*/BT_OVERRIDES=$images_list/' 
/etc/systemimager/bittorrent.conf.bak > /etc/systemimager/bittorrent.conf";

However, in the case of this initial install, BT_INTERFACE didn't have any
eth number with it.  That is, it was 'BT_INTERFACE=' with nothing more on
that line.

When I manually put BT_INTERFACE=eth0
in to the file, then re-clicked 'enable install mode' for systemimager-bt..
It got past the problem point.

-- 
Erik Jacobson - Linux System Software - SGI - Eagan, Minnesota

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to