1 |
Hi folks, |
2 |
|
3 |
I run into this on occasion. I have tried several things but when it |
4 |
happens I can not sync for a couple days. Here is what I get as far as |
5 |
the error: |
6 |
|
7 |
> root@smoker / # emerge --sync |
8 |
> >>> Starting rsync with rsync://64.62.252.147/gentoo-portage... |
9 |
> >>> Checking server timestamp ... |
10 |
> rsync: failed to connect to 64.62.252.147: Connection refused (111) |
11 |
> rsync error: error in socket IO (code 10) at clientserver.c(104) |
12 |
> [receiver=2.6.9] |
13 |
> >>> Retrying... |
14 |
> |
15 |
> |
16 |
> >>> Starting retry 1 of 3 with rsync://66.244.203.203/gentoo-portage |
17 |
> >>> Checking server timestamp ... |
18 |
> |
19 |
> Server Name: rsync4.ca.gentoo.org AKA rsync.bluedevil.ca |
20 |
> IP Address: 66.244.203.203 |
21 |
> Server Hardware: Intel Pentium 4 2.8Ghz 1MB Cache, 1.5GB RAM |
22 |
> Setup: Rsync serving files from RAM drive |
23 |
> Connection: 10Mbit FD |
24 |
> User Limit: 20 |
25 |
> Location: Calgary, Alberta, Canada |
26 |
> Contact: burn@××××××.ca |
27 |
> Provider: http://bluedevil.ca |
28 |
> |
29 |
> receiving file list ... done |
30 |
> timestamp.chk |
31 |
> |
32 |
> Number of files: 1 |
33 |
> Number of files transferred: 1 |
34 |
> Total file size: 32 bytes |
35 |
> Total transferred file size: 32 bytes |
36 |
> Literal data: 32 bytes |
37 |
> Matched data: 0 bytes |
38 |
> File list size: 32 |
39 |
> File list generation time: 0.001 seconds |
40 |
> File list transfer time: 0.000 seconds |
41 |
> Total bytes sent: 203 |
42 |
> Total bytes received: 550 |
43 |
> |
44 |
> sent 203 bytes received 550 bytes 167.33 bytes/sec |
45 |
> total size is 32 speedup is 0.04 |
46 |
> |
47 |
> Server Name: rsync4.ca.gentoo.org AKA rsync.bluedevil.ca |
48 |
> IP Address: 66.244.203.203 |
49 |
> Server Hardware: Intel Pentium 4 2.8Ghz 1MB Cache, 1.5GB RAM |
50 |
> Setup: Rsync serving files from RAM drive |
51 |
> Connection: 10Mbit FD |
52 |
> User Limit: 20 |
53 |
> Location: Calgary, Alberta, Canada |
54 |
> Contact: burn@××××××.ca |
55 |
> Provider: http://bluedevil.ca |
56 |
> |
57 |
> receiving file list ... done |
58 |
> rsync error: timeout in data send/receive (code 30) at io.c(171) |
59 |
> [sender=2.6.8] |
60 |
> rsync: connection unexpectedly closed (3276671 bytes received so far) |
61 |
> [receiver] |
62 |
> rsync error: error in rsync protocol data stream (code 12) at |
63 |
> io.c(453) [receiver=2.6.9] |
64 |
> rsync: connection unexpectedly closed (3276671 bytes received so far) |
65 |
> [generator] |
66 |
> rsync error: error in rsync protocol data stream (code 12) at |
67 |
> io.c(453) [generator=2.6.9] |
68 |
> >>> Retrying... |
69 |
> |
70 |
> |
71 |
> >>> Starting retry 2 of 3 with rsync://66.250.107.250/gentoo-portage |
72 |
> >>> Checking server timestamp ... |
73 |
> rsync: failed to connect to 66.250.107.250: Connection timed out (110) |
74 |
> rsync error: error in socket IO (code 10) at clientserver.c(104) |
75 |
> [receiver=2.6.9] |
76 |
> >>> Retrying... |
77 |
> |
78 |
> |
79 |
> >>> Starting retry 3 of 3 with rsync://141.219.155.230/gentoo-portage |
80 |
> >>> Checking server timestamp ... |
81 |
> rsync: failed to connect to 141.219.155.230: Connection refused (111) |
82 |
> rsync error: error in socket IO (code 10) at clientserver.c(104) |
83 |
> [receiver=2.6.9] |
84 |
> |
85 |
> !!! Rsync has not successfully finished. It is recommended that you keep |
86 |
> !!! trying or that you use the 'emerge-webrsync' option if you are unable |
87 |
> !!! to use rsync due to firewall or other restrictions. This should be a |
88 |
> !!! temporary problem unless complications exist with your network |
89 |
> !!! (and possibly your system's filesystem) configuration. |
90 |
> |
91 |
> root@smoker / # |
92 |
|
93 |
I have managed to correct this a time or two by changing this in |
94 |
make.globals: |
95 |
|
96 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
97 |
> --compress --force --whole-file --delete --delete-after --stats |
98 |
> --timeout=400 --exclude='/distfiles' --exclude='/local' |
99 |
> --exclude='/packages'" |
100 |
|
101 |
If you look at a default one the timeout is lower. Most of the time |
102 |
this works. I think the problem is this, I have a really slow dial-up |
103 |
connection. I used to be on a cable connection and I never had this |
104 |
problem, not even once. It seems that it takes so long to download the |
105 |
data that the server gets tired of my slow connection and just cuts me |
106 |
off. Also note, that first server is one of the ones that works. I'm |
107 |
sort of confused as to why it failed this time. |
108 |
|
109 |
Here is a emerge info just in case: |
110 |
|
111 |
> root@smoker / # emerge --info |
112 |
> Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, |
113 |
> glibc-2.4-r4, 2.6.17-gentoo-r7 i686) |
114 |
> ================================================================= |
115 |
> System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2500+ |
116 |
> Gentoo Base System version 1.12.6 |
117 |
> Last Sync: Thu, 14 Dec 2006 05:20:01 +0000 |
118 |
> ccache version 2.3 [enabled] |
119 |
> app-admin/eselect-compiler: [Not Present] |
120 |
> dev-java/java-config: 1.3.7, 2.0.30 |
121 |
> dev-lang/python: 2.4.3-r4 |
122 |
> dev-python/pycrypto: 2.0.1-r5 |
123 |
> dev-util/ccache: 2.3 |
124 |
> dev-util/confcache: [Not Present] |
125 |
> sys-apps/sandbox: 1.2.17 |
126 |
> sys-devel/autoconf: 2.13, 2.60 |
127 |
> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 |
128 |
> sys-devel/binutils: 2.16.1-r3 |
129 |
> sys-devel/gcc-config: 1.3.14 |
130 |
> sys-devel/libtool: 1.5.22 |
131 |
> virtual/os-headers: 2.6.17-r2 |
132 |
> ACCEPT_KEYWORDS="x86" |
133 |
> AUTOCLEAN="yes" |
134 |
> CBUILD="i686-pc-linux-gnu" |
135 |
> CFLAGS="-march=athlon-xp -O2 -momit-leaf-frame-pointer -fno-ident -pipe" |
136 |
> CHOST="i686-pc-linux-gnu" |
137 |
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config |
138 |
> /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" |
139 |
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf |
140 |
> /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" |
141 |
> CXXFLAGS="-march=athlon-xp -O2 -momit-leaf-frame-pointer -fno-ident -pipe" |
142 |
> DISTDIR="/usr/portage/distfiles" |
143 |
> FEATURES="autoconfig buildpkg ccache distlocks fixpackages |
144 |
> metadata-transfer parallel-fetch sandbox sfperms strict" |
145 |
> GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo |
146 |
> http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ |
147 |
> http://gentoo.arcticnetwork.ca/ http://gentoo.osuosl.org/ |
148 |
> ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ |
149 |
> http://distro.ibiblio.org/pub/linux/distributions/gentoo/ |
150 |
> ftp://ftp.gtlib.gatech.edu/pub/gentoo |
151 |
> http://www.gtlib.gatech.edu/pub/gentoo |
152 |
> ftp://mirror.iawnet.sandia.gov/pub/gentoo/ |
153 |
> ftp://ftp.ussg.iu.edu/pub/linux/gentoo |
154 |
> ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ |
155 |
> http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ |
156 |
> http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ |
157 |
> http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ |
158 |
> ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo |
159 |
> ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net |
160 |
> ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ |
161 |
> http://mirror.espri.arizona.edu/gentoo/ |
162 |
> http://mirrors.acm.cs.rpi.edu/gentoo/ |
163 |
> ftp://ftp.ndlug.nd.edu/pub/gentoo/ |
164 |
> http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ |
165 |
> ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org |
166 |
> http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo |
167 |
> http://gentoo.cs.lewisu.edu/gentoo/ |
168 |
> http://prometheus.cs.wmich.edu/gentoo |
169 |
> http://modzer0.cs.uaf.edu/public/gentoo/ |
170 |
> http://mirror.usu.edu/mirrors/gentoo/ |
171 |
> ftp://mirror.usu.edu/mirrors/gentoo/ ftp://lug.mtu.edu/gentoo |
172 |
> http://mirror.phy.olemiss.edu/mirror/gentoo |
173 |
> http://mirror.mcs.anl.gov/pub/gentoo/ |
174 |
> ftp://mirror.mcs.anl.gov/pub/gentoo/ |
175 |
> http://gentoo.mirrors.easynews.com/linux/gentoo/ |
176 |
> http://gentoo.cites.uiuc.edu/pub/gentoo/ |
177 |
> ftp://gentoo.cites.uiuc.edu/pub/gentoo/ |
178 |
> ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org |
179 |
> http://gentoo.localhost.net.ar/ |
180 |
> ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo |
181 |
> http://www.las.ic.unicamp.br/pub/gentoo/ |
182 |
> ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.inode.at/ |
183 |
> ftp://gentoo.inode.at/source/ |
184 |
> http://gd.tuwien.ac.at/opsys/linux/gentoo/ |
185 |
> ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ |
186 |
> http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ |
187 |
> ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ |
188 |
> ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://gentoo.supp.name/ |
189 |
> http://mirror.uni-c.dk/pub/gentoo/ |
190 |
> http://ftp.linux.ee/pub/gentoo/distfiles/ |
191 |
> ftp://ftp.linux.ee/pub/gentoo/distfiles/ |
192 |
> http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ |
193 |
> http://gentoo.modulix.net/gentoo/ |
194 |
> http://ftp.club-internet.fr/pub/mirrors/gentoo |
195 |
> ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ |
196 |
> ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo |
197 |
> http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ |
198 |
> ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ |
199 |
> http://ftp.uni-erlangen.de/pub/mirrors/gentoo |
200 |
> ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo |
201 |
> ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo |
202 |
> ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo |
203 |
> ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo |
204 |
> http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ |
205 |
> http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ |
206 |
> ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ |
207 |
> ftp://ftp.gentoo.mesh-solutions.com/gentoo/ |
208 |
> http://pandemonium.tiscali.de/pub/gentoo/ |
209 |
> ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de |
210 |
> ftp://files.gentoo.org http://files.gentoo.org |
211 |
> ftp://ftp.ntua.gr/pub/linux/gentoo/ |
212 |
> http://ftp.ntua.gr/pub/linux/gentoo/ |
213 |
> ftp://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ |
214 |
> http://ftp.physics.auth.gr/pub/mirrors/gentoo/ |
215 |
> ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ |
216 |
> http://gentoo.inf.elte.hu/ ftp://gentoo.inf.elte.hu/ |
217 |
> ftp://ftp.nyx.hu/gentoo http://ftp.rhnet.is/pub/gentoo/ |
218 |
> ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ |
219 |
> ftp://ftp.heanet.ie/pub/gentoo/ |
220 |
> http://mirror.hamakor.org.il/pub/mirrors/gentoo/ |
221 |
> http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ |
222 |
> ftp://ftp.unina.it/pub/linux/distributions/gentoo |
223 |
> http://ftp.snt.utwente.nl/pub/os/linux/gentoo |
224 |
> ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo |
225 |
> ftp://mirror.scarlet-internet.nl/pub/gentoo http://mirror.gentoo.no/ |
226 |
> http://darkstar.ist.utl.pt/gentoo/ |
227 |
> ftp://darkstar.ist.utl.pt/pub/gentoo/ |
228 |
> ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://src.gentoo.pl |
229 |
> http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl |
230 |
> http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl |
231 |
> ftp://mirror.icis.pcz.pl/gentoo/ ftp://ftp.lug.ro/gentoo |
232 |
> http://ftp.lug.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ |
233 |
> ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ |
234 |
> ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ |
235 |
> http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ |
236 |
> http://gentoo.ynet.sk/pub http://mirror.aiya.ru/pub/gentoo/ |
237 |
> ftp://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo |
238 |
> ftp://ftp.citkit.ru/pub/Linux/gentoo http://linuv.uv.es/mirror/gentoo/ |
239 |
> ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo |
240 |
> http://ds.thn.htu.se/linux/gentoo |
241 |
> http://mirror.switch.ch/ftp/mirror/gentoo/ |
242 |
> ftp://mirror.switch.ch/mirror/gentoo/ |
243 |
> ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch |
244 |
> http://ftp.ankara.edu.tr/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ |
245 |
> http://gentoo.blueyonder.co.uk |
246 |
> ftp://mirrors.blueyonder.co.uk/mirrors/gentoo |
247 |
> http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ |
248 |
> ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ |
249 |
> http://mirror.etf.bg.ac.yu/gentoo ftp://mirror.etf.bg.ac.yu/gentoo/ |
250 |
> http://public.planetmirror.com/pub/gentoo/ |
251 |
> ftp://ftp.planetmirror.com/pub/gentoo/ |
252 |
> http://mirror.pacific.net.au/linux/Gentoo |
253 |
> ftp://mirror.pacific.net.au/linux/Gentoo |
254 |
> http://mirror.isp.net.au/ftp/pub/gentoo/ |
255 |
> ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo |
256 |
> http://ftp.swin.edu.au/gentoo http://mirror.gentoo.gr.jp |
257 |
> http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ |
258 |
> ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ |
259 |
> http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ |
260 |
> ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://fido.online.kz/gentoo |
261 |
> ftp://fido.online.kz/gentoo/pub http://ftp.gentoo.or.kr/ |
262 |
> http://gentoo.kems.net ftp://gentoo.kems.net/mirrors/gentoo |
263 |
> http://gentoo.scphost.com |
264 |
> ftp://gentoo.mirrors.scphost.com/pub/mirrors/gentoo/ |
265 |
> http://ftp.isu.edu.tw/pub/Linux/Gentoo |
266 |
> ftp://ftp.isu.edu.tw/pub/Linux/Gentoo |
267 |
> http://ftp.twaren.net/Linux/Gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ |
268 |
> http://ftp.ncnu.edu.tw/Linux/Gentoo/ ftp://ftp.ncnu.edu.tw/Linux/Gentoo/ " |
269 |
> LDFLAGS="-Wl,-z,now" |
270 |
> LINGUAS="en" |
271 |
> MAKEOPTS="-j2" |
272 |
> PKGDIR="/usr/portage/packages" |
273 |
> PORTAGE_RSYNC_EXTRA_OPTS="--timeout=400" |
274 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
275 |
> --compress --force --whole-file --delete --delete-after --stats |
276 |
> --timeout=400 --exclude='/distfiles' --exclude='/local' |
277 |
> --exclude='/packages'" |
278 |
> PORTAGE_TMPDIR="/var/tmp" |
279 |
> PORTDIR="/usr/portage" |
280 |
> SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" |
281 |
> USE="x86 3dnow X acl acpi alsa amd arts artswrappersuid automount |
282 |
> berkdb bitmap-fonts browserplugin bzip2 cairo cdr chroot cli cracklib |
283 |
> crypt cups dbus dlloader doc dri dvd dvdr eds elibc_glibc emboss |
284 |
> encode esd exif fam fdftk fortran gaim gcj gdbm gif gimp gimpprint |
285 |
> gkrellm gphoto2 gpm gstreamer gtk hal hbci iconv |
286 |
> input_devices_keyboard input_devices_mouse ipv6 isdnlog java |
287 |
> javascript jbig jpeg jpeg2k justify kde kernel_linux ldap libg++ |
288 |
> linguas_en logrotate mad mikmod mmx mp3 mpeg ncurses nptl nptlonly |
289 |
> nsplugin offensive ofx ogg opengl pam pcre pdf perl png postgres ppds |
290 |
> pppd python qt3 qt4 quicktime readline reflection samba scanner sdl |
291 |
> seamonkey session spell spl sqlite sse ssl syslog tcpd tiff tk |
292 |
> truetype truetype-fonts type1-fonts udev unicode usb userland_GNU |
293 |
> video_cards_nvidia vorbis win32codecs wma wmf xml xorg xprint xv yahoo |
294 |
> zlib" |
295 |
> Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, |
296 |
> PORTDIR_OVERLAY |
297 |
> |
298 |
> root@smoker / # |
299 |
|
300 |
Anybody have any idea of how to fix this?? While I am at it, is there |
301 |
any way to override the default sync servers? There is a couple that |
302 |
never work and they are not in make.conf. I can't seem to get rid of |
303 |
them. It seems portage is overriding the list of servers I want it to use. |
304 |
|
305 |
Thanks in advance for the help. I'm sure there are a lot of Gentoo |
306 |
users out there that have sucky dial-up. :-\ I connect at 28.8K which |
307 |
gives me about 3 to 4KBs a sec. OOo takes about 24 hours. O_O |
308 |
|
309 |
Dale |
310 |
|
311 |
:-) :-) :-) |
312 |
-- |
313 |
gentoo-user@g.o mailing list |