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

Olivier PAVILLA olivier.pavilla at univ-orleans.fr
Ven 18 Fév 08:19:29 UTC 2011



Le 18/02/2011 08:59, Snarf a écrit :
> 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 
> 

Super!
En effet, le proxy ne laisse pas passer le port 873.
Faut que je fasse faire une modif par l'admin réseau.

Merci beaucoup


-- 

Olivier Pavilla << 仕事を探しています。求職中です。>>
S.C.I.R.C. Orléans (Bourgogne) - I.U.F.M. Centre-Val de Loire
72 Rue du Faubourg Bourgogne -45044 ORLEANS Cedex 1
Tel : 02-38-49-26-20 , mailto:olivier.pavilla at univ-ørleans.fr
http://blog.linux-squad.com - 僕の傑作です。


-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: signature.asc
Type: application/pgp-signature
Taille: 554 octets
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-fr/attachments/20110218/582a30e5/attachment.pgp>


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