Andrea Righi a écrit :
Maurice Libes wrote:
Andrea Righi a écrit :
this command seems to output the same error, with or without the needed arguments

$ si_installbtimage
ERROR: error in /etc/systemimager/bittorrent.conf: BT_INTERFACE not specified or not valid!

$  si_installbtimage --quiet --compress n --images GX320_etch --update n
ERROR: error in /etc/systemimager/bittorrent.conf: BT_INTERFACE not specified or not valid!


any ideas?
thanks
Which version of systemimager are you using? Could you post your new
bittorrent.conf? Which distribution are you using? which is your default
shell (ls -l /bin/sh)?#
ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2008-02-28 10:53 /bin/sh -> bash

/bin/bash --version
GNU bash, version 3.1.17(1)-release (i486-pc-linux

i use systemimager version 4.1.4 , on debian etch
dpkg -l |grep systemima
ii  systemimager-boot-i386-standard   4.1.4                                
SystemImager boot binaries for i386 client n
ii  systemimager-common               4.1.4                                
Utilities and libraries common to both the s
ii  systemimager-initrd-template-i386 4.1.4                                
SystemImager initrd template for i386 client
ii  systemimager-server               4.1.4                                
Automate GNU/Linux installs and upgrades ove
ii  systemimager-server-bittorrent    4.1.4                                
BitTorrent transport to distribute SystemIma
ii  systemimager-server-flamethrowerd 4.1.4                                
SystemImager boot binaries for i386 client n

here below the whole bittorrent.conf

 more  /etc/systemimager/bittorrent.conf
#
# "SystemImager"
#
#  Copyright (C) 2006 Andrea Righi <[EMAIL PROTECTED]>
#
#  $Id: bittorrent.conf 3576 2006-05-20 16:33:58Z arighi $
#

# The bittorrent tracker port.
BT_TRACKER_PORT=6969

# Tracker state file.
BT_TRACKER_STATE=/tmp/dstate

# Tracker log file.
BT_TRACKER_LOG=/var/log/systemimager/bittorrent-tracker.log

# Interface used to seed files with bittorrent.
BT_INTERFACE=eth0

# Set to yes if you want to compress the images before distributing
# them via BitTorrent. Set to 'n' if the image server has an old CPU or
# is not powerful in computations.
#
# Allowed values: y|n
BT_COMPRESS=n

# Set to yes if you want to always synchronize the BitTorrent images
# with the chrootable images on /var/lib/systemimager/images when the
# SystemImager BitTorrent daemon starts.
#
# Allowed values: y|n
BT_UPDATE=n

# Comma separated list of images to distribute with BitTorrent
# (ex. BT_IMAGES=RHEL4_base,suse10,frontend,backend...)
# IMPORTANT: no spaces between images!!!
BT_IMAGES=GX320_etch

# Comma separated list of overrides to distribute with BitTorrent
# (ex. BT_OVERRIDES=RHEL4_base,suse10,frontend,backend...)
# IMPORTANT: no spaces between overrides!!!
BT_OVERRIDES=GX320_etch



You config seems ok. Stupid question: do you have eth0 configured with a
valid ip on your image server (ifconfig eth0)?

i think yes... on a /25 subnet
... and all works fine with  the standard rsync  deployment method

# ifconfig eth0
eth0      Lien encap:Ethernet  HWaddr 00:0A:5E:24:CD:4D
inet adr:139.124.17.125 Bcast:139.124.17.127 Masque:255.255.255.128
         adr inet6: fe80::20a:5eff:fe24:cd4d/64 Scope:Lien
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:13431 errors:0 dropped:0 overruns:0 frame:0
         TX packets:6075 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 lg file transmission:1000
         RX bytes:9756995 (9.3 MiB)  TX bytes:631813 (617.0 KiB)
         Interruption:177

and always

si_installbtimage --quiet n n --images GX320_etch --overrides GX320_etch
ERROR: error in /etc/systemimager/bittorrent.conf: BT_INTERFACE not specified or not valid!
+ '[' 255 -ne 0 ']'
+ echo failed.
failed.
+ exit 1



-Andrea


--
    Maurice Libes
Tel : +33 (04) 91 82 93 25 Centre d'Oceanologie de Marseille Fax : +33 (04) 91 82 93 03 UMS2196CNRS- Campus de Luminy, Case 901 F-13288 Marseille cedex 9

Veuillez noter ma nouvelle adresse ==> [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to