找回密码
 注册
查看: 20|回复: 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  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( `

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。
( x' W' B% r8 c# l; o8 w6 c; c) Q, O& x! r
检查了系统配置,是否使用了代理。重启系统之后就好了。
  U8 t" |9 \$ Z6 T7 x8 q) }
3 a+ f% N5 i6 {9 E3 k4 X接下来的问题* I% F5 k1 ^# g0 o

9 A( V, n* Z$ w( U% z( ]: l yum list 8 k& F/ P6 m- |  U
Loaded plugins: fastestmirror
3 v% C$ I( n* s5 f- f! {) w4 T( aDetermining fastest mirrors3 t% l7 O5 d; ]& P; |$ {- G# Q
base                                                                                                                                                                                            | 2.9 kB  00:00:00     
6 g) T4 G6 H# H8 d2 z0 aextras                                                                                                                                                                                          | 2.9 kB  00:00:00     
" ~$ b, R' k6 |: Ghttp://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
! L8 {) W6 m+ k9 T( l- ?Trying other mirror.! s9 x1 @& j% E- }3 l$ m4 N5 m
To address this issue please refer to the below wiki article " z$ I) `* Q( q1 a( G9 V1 |0 w* R

5 w1 |( a4 X  q/ Whttps://wiki.centos.org/yum-errors- K2 K3 q3 Z6 H4 b$ b+ q3 p
% P' q# f% e# |% a) M
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
( f6 U, A- O6 ~8 U; p! f/ Y7 ~8 i# g" P0 g2 v5 b
- p' ~. {$ |* B! y

7 ?. |0 `+ u9 p" A! _
. ^/ M- ]: a. [重新createrepo  下目录。
/ @! C5 H3 z& s* A& g
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:49 , Processed in 0.017027 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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