易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 18|回复: 1
收起左侧

Operation too slow ,Less than 1000 bytes

[复制链接]
发表于 2024-9-3 17:00:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
Operation too slow ,Less than 1000 bytes  
% e% ~+ i$ @/ @4 t+ h
# P0 D- S! U1 ?4 m问题
8 t9 |: W8 l5 K5 \0 Q
" j0 Y8 V9 r6 F3 }. `4 Q3 M" L$ Ayum list
, K' v8 [+ u+ }Loaded plugins: fastestmirror1 s8 Y! H: o) s; G; {2 {
Determining fastest mirrors
. h! m* M5 M& X( L; [; P3 F: s9 n1 nhttp://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'), \/ z9 \8 I3 U6 g" ~. z, l3 D
Trying other mirror.  j/ U7 R: _) D0 r* 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')5 ~  v0 d+ c2 g1 O9 d' K% u0 u
Trying other mirror.* P' B& n! a* I3 t6 {+ }' j; 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'): |; j# Y4 H: @* Q/ K1 u; V3 O+ `3 |
Trying other mirror.
2 E' ^# M" P( P+ {3 A' w! C1 z# h+ h7 P2 {
/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
' v7 p" l1 V# N( n8 ]1 ]# A' u
. s. @5 s) F5 Q7 Z$ x- x分析来看: r5 D! ], k. v& Z1 J

( e# S: n5 `4 [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')& Z  G0 r7 Z2 C) N& R9 `+ 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'). q9 Z- X$ \, t1 Z1 M7 {# Q! p. @
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')
" V: U; l1 w4 M8 B无法识别目录。  F- o$ M- z8 J) ~

9 F; \8 C) \  t( w% L$ R, {解决办法:
: v- \  D9 A+ v8 y& b" f  x检查repo文件
. c2 k  V  d6 ^5 w" T8 l1 j* M4 r2 {8 C$ t- @. g7 c: ?1 G, {0 W
cat /etc/yum.repos.d/base.repo
9 F! E5 W4 ?( i9 H[base]
( `% G% H( O0 _3 g7 m$ @2 Ename=CentOS-$releasever - Base9 @- i+ G4 T: |; q) q
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
/ I7 x: C* Y6 J5 x) |  r0 T6 ibaseurl=http://172.24.21.35/os/
) z7 s9 ?/ K% W8 B/ ngpgcheck=08 f! }) t& ?. Y% _7 q0 V6 f- y
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7: R4 k- f7 ]7 D$ w% u
% {4 O6 ]" W3 U$ e6 J- I4 [* {( E
#released updates
/ z3 g( {$ _9 Z- R. H) _[updates]; n% t0 i. U% ~: d
name=CentOS-$releasever - Updates! @4 T) |5 N9 n) y# H/ T# v% H) h
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
' N/ J7 q. Q1 W" ?' d. {baseurl=http://172.24.21.35/updates/x86_64$ b* @- f1 b+ q4 q/ p
gpgcheck=0
/ f$ F: M  S5 qgpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7; _" Y' B* g# d% F7 |( Q
. E/ g* _# i8 u! U& R/ L! O
#additional packages that may be useful# Q1 x5 i( X, N% I1 l
[extras]
% O7 j2 o! E+ u( v2 Tname=CentOS-$releasever - Extras0 r3 O- e  ^, M- B6 i
#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
. Q: Z$ d& A' j& `. Cbaseurl=http://172.24.21.35/extras/x86_648 \; i# R7 l; b- w2 s3 h8 e
gpgcheck=0
9 i2 G! G" B( X$ l- v% u
) o9 U0 I( [2 _6 |/ b0 `% k" F, I# w* I& @5 L) L+ C8 F
+ J& Y3 O5 h6 y$ {5 J* M
发现是配置的路劲里目录写错了。
; t9 @* h: z+ S修改即可:
. [# s7 d- E) ]5 r& n9 g
( I7 B# k* p# X- o/ t
& w8 [* n' V- j[base]
! _0 O4 M+ `* J% ^" R, I6 E( gname=CentOS-$releasever - Base
! \  m/ g+ Z2 T5 Jbaseurl=http://172.24.21.35/centos/os/
$ ?7 ?' ~  o7 O2 w; Qgpgcheck=0
$ v6 ~9 R# j8 a0 e7 s) W
- {/ U, T. I! S- E7 _#released updates 3 |# `' S  N( P* {1 h
[updates]% R* Z- a+ M% z7 o1 @. S
name=CentOS-$releasever - Updates& {7 {8 q  o1 L' e) |: W5 @
baseurl=http://172.24.21.35/centos/updates/: `5 s. X7 A$ u+ N$ f# N
gpgcheck=0
; {, P/ }/ v5 b. y2 s  V: N
  A( C! T- N/ d+ T; Z/ _8 G#additional packages that may be useful, r5 T1 w1 X( g( d8 I; q
[extras]5 @" \! G" ~" }! R4 w6 O) D7 H
name=CentOS-$releasever - Extras
% m5 b3 ]8 X# k5 l9 C0 Hbaseurl=http://172.24.21.35/centos/extras/x86_64/, e; G* |& m* v& a; Z7 ~
gpgcheck=0
, x3 y' c1 a1 i7 Y2 i0 t# ~
+ }; t7 N: r/ }
$ @9 M/ P' R3 j" D
3 {3 {% y" t  H6 F0 }' \4 B
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。* n% J: |0 v5 Z3 |* F

+ y! q+ W& P2 S0 S8 g5 x检查了系统配置,是否使用了代理。重启系统之后就好了。7 v6 _: _- S: a; ~, T
0 F# c( O" I1 R. q
接下来的问题" T: {# Y- T+ x+ l" S
/ @$ f$ |$ Z" x& l9 M1 Z! s2 z
yum list
- @% J( |4 W3 ^Loaded plugins: fastestmirror0 u* p$ }+ }- n( L6 K# J: J7 o
Determining fastest mirrors- Y  ?: G; B" M* c4 o$ g
base                                                                                                                                                                                            | 2.9 kB  00:00:00     " I% E4 c$ o* M: w/ J9 A
extras                                                                                                                                                                                          | 2.9 kB  00:00:00     % \& z/ Q: n, U0 u+ h, `: k
http://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found; S. b" Z9 {9 p) w) \
Trying other mirror.
1 h7 P+ W0 j/ S0 f5 S" mTo address this issue please refer to the below wiki article
! V1 F9 @, @6 M, I$ E% ^1 a) d0 a0 e- D8 u2 A2 d, h: \
https://wiki.centos.org/yum-errors  h0 M* X0 X8 N+ I8 O1 Y4 h
+ i6 {% z" A' I0 a. p0 `" X
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
5 Z- V8 U; s) g# e; d! L# P1 u0 Y2 L" @

& c, g" |+ |2 x5 H2 L
1 {" C' W2 |4 L8 ^  G
% v. s' n% j( R. q重新createrepo  下目录。
  ~8 o1 h5 S- Z& i2 h* ]
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:59 , Processed in 0.048093 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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