找回密码
 注册
查看: 19|回复: 1

Operation too slow ,Less than 1000 bytes

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-9-3 17:00:02 | 显示全部楼层 |阅读模式
Operation too slow ,Less than 1000 bytes    Z" Q/ R/ ^) m4 u3 W4 I' O) a
$ G% J% x# D+ r4 P! j
问题# c% \' X  }% X) H' h9 l4 Z' J$ l
$ B* L1 m2 @. r9 k" Q/ v
yum list " A. S/ Q3 O( |% N1 g! x
Loaded plugins: fastestmirror" O1 [( R' @/ |4 m: C6 D" t: R
Determining fastest mirrors$ |  Y+ c- _1 |+ Z' m9 I0 l
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')
4 u' l" I6 }+ l9 A; r4 {Trying other mirror.
' W; w- l# E6 @2 Z% B( Lhttp://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 F& Q" M/ ~; f7 T0 XTrying other mirror.
$ G- A' D" w. j" U# ahttp://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')
+ L. l4 }, r2 M$ DTrying other mirror./ @+ S4 N3 f8 l! Y! w  B1 k

: [# v3 b4 p7 \5 T4 h# _7 M% W/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')8 |: O4 O, }9 M: K  f
1 J/ D" i7 B# h( {$ x
分析来看
" H6 t9 c% m; [  y3 v
( E8 C/ [, F. i2 O# L# fhttp://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')
: q( m! r7 A" V0 e5 ohttp://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')5 y: k7 P. G( M9 @& ]5 j
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')
$ K6 z( p$ @" X' `2 _无法识别目录。
6 M3 K! }: _0 I' M% @8 N  o" p$ S) }* @6 x7 C1 v
解决办法:& s5 \) ^' I2 i1 v
检查repo文件
8 B* @0 P: h! {8 y
- c. B* h7 P! K9 ?& gcat /etc/yum.repos.d/base.repo
/ b( S0 C/ ]# N2 Z[base]
! J/ P! u" L7 q0 |name=CentOS-$releasever - Base- `- d& n, x% M% y# U
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
" ^; [! U" Z/ Pbaseurl=http://172.24.21.35/os/9 z) W- ?# [! ?1 G! O, m) f
gpgcheck=0
* i# j  U* H# l4 W4 N' V2 ]gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
6 `' o, s- y* Z$ O  D) X) S& z
  ^' }3 k4 C4 Y* n; A1 C#released updates
- y6 L, Y6 h) N) O, u[updates]' a' E( K5 C1 A, |+ t) k
name=CentOS-$releasever - Updates
* ]' B- S4 z6 W( M- S% v#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
" C7 J( I. T! X: _, L5 O* cbaseurl=http://172.24.21.35/updates/x86_64
! \  g) ?' `0 s, K8 Mgpgcheck=0, W$ H/ @1 A$ O2 b/ X" c
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7- o' b/ G1 b" r# i0 A

2 c3 t: f* A$ @: p/ O1 c#additional packages that may be useful
- H. _+ {, _$ F9 e( `. Y3 J( x- Z[extras]5 D  i! g; f' g6 y' s
name=CentOS-$releasever - Extras) [9 b. b( i3 B9 \; p  Q
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra8 W, B% d8 t, u% K- P
baseurl=http://172.24.21.35/extras/x86_64, |9 ?( q: |2 m: i8 B
gpgcheck=0
; x8 i! c3 f' @( }7 e1 v7 a
. w0 n3 t4 D' }0 D9 l' u  N6 K0 b/ f* R3 ]

1 s% M$ [: Y0 x9 A+ t发现是配置的路劲里目录写错了。
6 ^! b' Y/ d6 F1 C6 n( u4 e修改即可:
3 A( [9 Q: Q0 a& O" Z
' B7 r3 {* m! W2 V+ }$ L, k: w
1 f/ M, M+ w* v) H' X[base]8 e) C) T# Z. a" ~& X5 v; {
name=CentOS-$releasever - Base
/ r5 N+ z7 P5 I$ E4 x4 Abaseurl=http://172.24.21.35/centos/os/
" t9 s4 a7 A  S8 t5 rgpgcheck=07 m7 M2 Z: P9 h9 y3 x

7 e4 v/ g5 F/ [2 F# @- @$ f#released updates $ X, V+ A4 Q9 y% F! h1 E8 _- I8 F
[updates]: n# L9 d6 k% p9 x% t
name=CentOS-$releasever - Updates+ ~5 J# @6 H: _1 G& L9 U4 |
baseurl=http://172.24.21.35/centos/updates/
1 ~! P- f+ Z, o, S1 K( d5 Ygpgcheck=0
8 j0 y/ D) ~" m' q3 x
6 d  i$ I# F3 A" P#additional packages that may be useful$ E* F" K0 {8 b0 \) x1 x
[extras]
, r! c1 T) [0 t8 ~7 Uname=CentOS-$releasever - Extras3 E: a5 k1 W7 y2 i3 W7 A; y, B
baseurl=http://172.24.21.35/centos/extras/x86_64/: Y5 q9 V, I* ?; Y- }# X
gpgcheck=0
9 ^( p: g: e( ~8 R- ~  i- \
. Z6 X; `+ O4 ~2 N+ T9 F) ~& M1 u
# ~- e2 Y1 f9 o. J$ \3 U% Q2 w6 |
; w2 o, c4 c  N" i# ]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。2 e9 M' U  m4 y0 ^) X: X
0 R' t( q5 l+ p/ B: ?5 H
检查了系统配置,是否使用了代理。重启系统之后就好了。
) x2 J( i  ?1 Q2 g$ O! {) a5 K0 ^6 R/ T0 x/ T4 A
接下来的问题1 P  k" u( n7 @. d) _
8 f) H8 X& f" X6 N, @; O
yum list
- ?  N* z; S8 K1 K# W- U4 LLoaded plugins: fastestmirror
8 l2 j6 J* ^) t6 [% q' d6 ^0 CDetermining fastest mirrors
0 @6 O+ J# q& D# h/ h1 abase                                                                                                                                                                                            | 2.9 kB  00:00:00     
# ?4 k! \' i( q# ?extras                                                                                                                                                                                          | 2.9 kB  00:00:00     9 R! P; r5 j0 E; y1 u& G8 q' x
http://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
, }$ b6 p4 D0 v7 T, hTrying other mirror." L: ]) p! y) G8 Z  D
To address this issue please refer to the below wiki article
1 m  ]; ]+ U* w' {5 {: Z( Q
0 v4 `# B6 `7 C$ ^( `https://wiki.centos.org/yum-errors# V8 _3 c1 I5 [- u7 i" h) p) t; K
7 Q: e# N+ ?! Z( q
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
0 c. o! k6 S8 s0 R4 F6 x
) f5 x7 R* O0 B$ x) W- K6 k! `6 [% l: `( |

4 {2 p0 h; P7 D: B- I
" g  C! N* F4 {1 T8 n/ }重新createrepo  下目录。
; f7 ?1 Z9 v3 f# R, A9 T/ \. ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:43 , Processed in 0.023344 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表