|
|
Operation too slow ,Less than 1000 bytes 6 a- h2 C% z; ^( w6 b
* g+ I! G$ _& G5 [2 v5 J问题
) u) V) K: }+ B/ l; H; n5 P) X5 {4 H4 }: u
yum list * E. Q+ u3 O6 `6 ~6 v/ |
Loaded plugins: fastestmirror
8 s1 M% ^& S# F; XDetermining fastest mirrors
- @. P' o5 C5 [" y" [* ^$ ^* ~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')
; g* _7 R/ V* `2 b1 B2 A3 t3 G) MTrying other mirror.- _( i- ]6 v2 p* L/ X# 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')3 m, Y# |# V- M* R8 b. [# G
Trying other mirror.4 X% ?% g5 V7 j6 F& o6 t
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'), [6 P1 f1 ]) r2 o- U, ~5 H. Y
Trying other mirror.
0 f) Z+ r" A7 W: \! e: `6 K. p! B0 V- c# a
/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
- i) `& k0 K7 {$ t7 J8 C& O- a; M) z5 h- O. M
分析来看
2 r5 E2 T' D7 g" D, k! u8 X$ m) p6 d7 M/ U$ V" Q; v% `( X
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')* ^2 Z. i) v( O, Y
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')& x6 K E0 D) |2 R+ ]
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')' D, y1 [. M$ ~+ n& [- I0 y) W
无法识别目录。
1 u- k3 ^' m7 ]8 d. y$ b7 r; P
0 s# y9 |' c- _9 _# Y4 S解决办法:1 t3 D' j X0 Q$ A4 e) v. q
检查repo文件
$ g( i& B$ q4 z |6 C" R: T0 Z( Z4 O
cat /etc/yum.repos.d/base.repo : [7 ? h/ z1 K9 r5 V- O# n2 [
[base]) H# A) O0 D" L H" Z- N/ b3 D
name=CentOS-$releasever - Base. [; ?9 j; U6 u4 V
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
2 b1 K# ^- M& s& gbaseurl=http://172.24.21.35/os/; {; \& Z" F$ S# ~
gpgcheck=0
2 m+ }: y, c9 l7 J: g% O s! ^gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7$ S% F2 o& g4 f: X8 @
( c |4 B- b( Z/ V& X#released updates
; E' V8 Z6 g, v[updates]
+ n1 o. `, a6 C/ s3 {4 oname=CentOS-$releasever - Updates
$ _; u' ], O. [* X. m: l#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra: L* C: E7 l2 S% `$ P! I. X
baseurl=http://172.24.21.35/updates/x86_64
' g4 {0 K$ o. k: _8 C7 H5 Wgpgcheck=0
& e; ~! J' X0 R. y; Z; Kgpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
/ \: A/ M: n+ q. M# b
% K3 ]: z- J* h3 v#additional packages that may be useful
4 g: ?( O7 t9 f; f6 z8 N3 s[extras]' _6 q2 ]' |! T- L9 X+ N* d, h
name=CentOS-$releasever - Extras
$ I0 L& h0 N% C#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
' y) w6 B, g! `baseurl=http://172.24.21.35/extras/x86_64
4 i4 a$ C; w1 n# Vgpgcheck=0
; u* R& a, U R$ A+ i! m! n" h# d$ c: i2 `( b
3 b$ U- Z, [) M! ~( f7 z7 U5 z& F, r; a+ j- k1 R# S
发现是配置的路劲里目录写错了。8 O0 w4 T7 @7 p$ }5 _& h4 D
修改即可:3 `6 m% ~$ ]; [
8 {$ R/ Y2 z- ~' {" s" F
$ r, }: B$ ?; j! I/ p. J0 R; K' ~7 O[base]% A2 `: z, O$ J b7 g3 r, J
name=CentOS-$releasever - Base
) T, [! P: [6 D5 `: Q! F1 b7 K; fbaseurl=http://172.24.21.35/centos/os/& k: X# m- d# i$ x
gpgcheck=0
) @: r/ K- d4 v' M a. ^4 u4 N* V
y4 S7 r& }- V _+ O8 d* V" {#released updates + f* e( N9 u% t3 G; M% W$ s4 O
[updates]; j5 M7 D1 {) n# j: t% _
name=CentOS-$releasever - Updates t t4 a8 X+ ?7 W0 N4 ]; Y1 m6 F9 s2 C
baseurl=http://172.24.21.35/centos/updates/
6 [+ g4 n# c5 r8 v" Bgpgcheck=0
S% z' ]/ ]9 N( [6 z. z9 d0 |3 R; K
#additional packages that may be useful
7 K: o2 C9 |1 g) G2 g, q( ]1 r[extras]
$ L* Z9 k* Q/ H% u/ @name=CentOS-$releasever - Extras
& S% o3 z3 J A& r$ {0 N0 t9 o) T9 |baseurl=http://172.24.21.35/centos/extras/x86_64/; Q) l8 P/ z2 @, {
gpgcheck=0 f4 _# P2 R F0 A [# E: @% k. a
3 H+ I$ Y) R( T) p: K
* Z8 L( K. o7 h% _, q1 s
* Y0 S2 q% {- G# H( ` |
|