- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Operation too slow ,Less than 1000 bytes % D$ N# `; s) |4 J8 r
/ {8 g: N8 ?9 r! Y% a
问题, O8 ~4 t) j8 l0 ^
# b- F: o" t: B$ Q6 A' @/ _) {' {
yum list
5 C$ E' \/ c+ C* K8 i l5 a7 [; jLoaded plugins: fastestmirror
w, z ?+ j+ s1 W& F `* E8 GDetermining fastest mirrors
3 H& X; b8 N1 Q: F$ s, Khttp://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')7 |4 V+ v& \ _6 u: P. [
Trying other mirror.! { ~" n' h1 h; _
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds'), }8 p# i8 s4 c" d8 |9 f) e
Trying other mirror.
* F! u% g! v2 w4 X7 H3 ^http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
" s) a; N% s! i' H6 hTrying other mirror.( p, \* L% a2 ?2 b4 J
' G4 V" J* ^/ `1 B
/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds'), z2 \5 E" O0 @8 T$ i* f$ C
; C" b# I4 p. a; ^7 A3 h分析来看
( E+ r: z5 c; `9 j0 _
: X( x0 N! v0 @/ \' l; bhttp://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')# P M% Z% g8 I. S3 O
http://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
7 [) C: E Q$ V3 ?% x/ {3 Dhttp://172.24.21.35/os/repodata/repomd.xml: [Errno 12] Timeout on http://172.24.21.35/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')/ ?% W8 a) H5 e8 U. h% z
无法识别目录。
1 d3 C+ B1 t+ g& C8 Z7 v( E8 T1 A
解决办法:1 |3 z. n# N1 L7 c& x
检查repo文件
- Z* Q& ?! d9 v$ }
% C9 s& Z0 ?% { ycat /etc/yum.repos.d/base.repo " S5 N- b3 `4 p& Y& z7 G u
[base]" Y4 M7 @; x' l2 \0 e9 o% s
name=CentOS-$releasever - Base: P" t3 ]: {- x+ Q9 c$ q
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
! ~* ^' L& |3 ibaseurl=http://172.24.21.35/os/
5 u3 @+ _# {. _gpgcheck=0" ~7 S* g9 Y! `
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7$ K- ]: h6 V1 {" ]
! r0 I& E8 C% l7 n. o) x, ?#released updates
9 ?( |+ F7 J7 C3 B$ b# i( }[updates]
# s% E8 P/ K( F1 e$ [0 j; p8 tname=CentOS-$releasever - Updates5 ?: B" j5 W4 m/ V
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra {# s7 Q+ ~! {% s$ C4 n( |0 ?" n% x
baseurl=http://172.24.21.35/updates/x86_643 M# _' K9 @* l+ M
gpgcheck=0
0 m6 {; R# x/ C, hgpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7! }' ?# ?1 i y- Z+ ^' m( I6 D
- V+ a8 I$ o" S6 b# N$ P#additional packages that may be useful l5 V/ Z, g! H* i
[extras]) {' ?( z1 _3 s6 S2 @% P: b' i2 b
name=CentOS-$releasever - Extras
% e$ q/ l. L+ Y" [#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra' P c U; z7 c8 v( x( Z
baseurl=http://172.24.21.35/extras/x86_64) ]7 m& ?* ~( V$ K& J
gpgcheck=0
% _! \& c6 p% u3 R2 v( i# ?* o5 ]6 E" I
# W2 ^$ Q. d( K9 }% _3 }+ K) P/ u; h: Y L* R& |
发现是配置的路劲里目录写错了。
) `: \3 H+ {- C5 g修改即可:
' {$ J; o. H) H. J) h* t
& b% y2 D1 h" r$ @/ P& ~8 g' S2 O a, j3 C
[base]$ _7 z! T" T: t- a0 F
name=CentOS-$releasever - Base
* O0 W( H) m6 ?& |' o* D: Qbaseurl=http://172.24.21.35/centos/os/
& ]# c4 t" Q5 v( Y% c7 pgpgcheck=02 B% m, m" T \: K* l
/ V' N* [/ K. z' u#released updates 7 c O m+ f# N4 G
[updates]
: F q( w( s ?) hname=CentOS-$releasever - Updates9 w7 ^4 n1 \5 g# ^8 E. P
baseurl=http://172.24.21.35/centos/updates/1 Y: C8 \, \: W+ v: E
gpgcheck=0
5 V0 O" c/ p" \% t/ ?7 _ a! V" u. k- p" `' Q
#additional packages that may be useful$ T. M; o7 y' B1 D
[extras]
1 b: F: V) p0 ~- ~+ T9 Q: M: H3 \9 m+ W1 {name=CentOS-$releasever - Extras( X% a* t& ~: Q* u" b& S6 j
baseurl=http://172.24.21.35/centos/extras/x86_64/' r* F8 l- w; o- C! O3 t
gpgcheck=0
" i8 g5 Y) |) A& m0 c9 j
8 `3 E. G& W) s+ g
' f+ ^! L/ P- q4 K2 y" V' B
( C- u& z, f$ j9 n |
|