Quelqu'un a t-il déjà monté un serveur miroir?

Snarf snarf at dahwa.fr
Ven 18 Fév 07:59:12 UTC 2011


Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait:
> Bonjour.
Hola 

> Quelqu'un a t-il déjà monté un serveur miroir?
> J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne
> fonctionne pas.
[SNIP]

> Et je'ai ce message :
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
> rsync: failed to connect to fr.archive.ubuntu.com: Network is
> unreachable (101)
> rsync error: error in socket IO (code 10) at clientserver.c(122)
> [Receiver=3.0.7]
Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le
serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp)

a priori un proxy HTTP classique n'est pas suffisant. 

> Si je fais la même commande avec --methode=http, ca passe.
> Je ne comprends pas
> debmirror -v --progress -m --passive --arch=i386,amd64
> --dist=lenny,squeeze --nosource --method=http
> --host=fr.archive.ubuntu.com --root=:ubuntu
> --section=main,restricted,universe,multiverse --getcontents --cleanup
> /var/mirror/ubuntu/ --proxy=http://<monproxy>:3128 --ignore-release-gpg
Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et
ton proxy lui accede a fr.archive.ubuntu.com.

pas contre dans la doc de rsync : 

-------------------- cut here --------------------
You may establish the connection via a web proxy by setting the
environment variable
 RSYNC_PROXY to a hostname:port pair pointing to your web proxy. 
 Note that your web proxy's configuration must allow proxying to port
 873.
-------------------- cut here --------------------

voilou voilou 


Snarf


-- 
Chuck Norris sait où se trouve Ornicar




Plus d'informations sur la liste de diffusion ubuntu-fr