Maurice Libes wrote:
>> unless ($tracker_port) {
>>     die "ERROR: error in $config_file: BT_TRACKER_PORT not specified!\n";
>> }
>> unless ($image_server) {
>>     die "ERROR: error in $config_file: BT_INTERFACE not specified or not 
>> valid!\n";
>> }
>> unless ($images) {
>>     die "ERROR: at least one image must be specified!\n";
>> }
>> ---
>>
>> And the variable $image_server in your case is NULL. According to your
>> output you've posted:
>> ...
>>            inet adr:139.124.17.125  Bcast:139.124.17.127 
>> Masque:255.255.255.128
>>
>>   
>> So, what's this "inet adr"??? It should be "inet addr"! It there's not a
>> typo in your output, this is the reason of the missing BT_INTERFACE.
>>   
> yeppp! you found the problem... i am sorry to be french ;-)
> but the output of ifconfig eth0 when you are  with LANG=fr_FR.UTF-8
> is "inet adr" and not inet addr :-\  (true on debian, centos
> 
> so i try with export LANG=C
> and bingo.. it works
> 
> /etc/init.d/systemimager-server-bittorrent restart
> Stopping SystemImager's BitTorrent Transport: 
> systemimager-server-bittorrent... stopped.
> Starting SystemImager's BitTorrent Transport: 
> systemimager-server-bittorrent...
> tracker: ok
> Preparing tar file for image "GX320_etch"...
> done.
> Preparing torrent file for image "GX320_etch"...
> done.% complete
> WARNING: override for image GX320_etch is empty!!! Skipping...
> Preparing torrent file for BOEL binaries for i386...
> done.% complete
> Starting first image server seeder...
> done.
> seeder: ok
> 
> 
> thanks for your help....
> so in conclusion... we have to  export LANG=C (for instance) when 
> lauching /etc/init.d/systemimager-server-bittorrent
> 
> or may be we could test the LANG env var in the  
> /usr/sbin/si_installbtimage script
> and look for "inet addr" or "inet ad{1,2}r" according to the LANG env 
> variable
> 
> 
> 
> M

yup! :-) probably there'll be surely also other issues (with other
systemimager commands) if you don't set an english-like LANG
systemwide.

I don't have a clean way to fix this, maybe checking somewhere (at the
end of package install?) if $LANG is in a "whitelist" of supported
languages? and maybe just print a warning...

For now I think I'll add a comment in the troubleshooting guide
(http://wiki.systemimager.org/index.php/Troubleshooting).

-Andrea

-------------------------------------------------------------------------
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