易陆发现互联网技术论坛

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

Operation too slow ,Less than 1000 bytes

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

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

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

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
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。
* s0 e6 e4 F9 t' z5 p+ e8 q7 B7 c: z. b! c& A
检查了系统配置,是否使用了代理。重启系统之后就好了。7 }# ]; q, }( {6 L; l# O

; O+ ~3 R% Q2 Q$ k# X2 ~接下来的问题0 M: y1 r* g- k2 }
: n! I/ D, f8 m0 C
yum list
- N6 g  d/ Q0 Q+ a* f3 R3 V; QLoaded plugins: fastestmirror
) D4 x- r4 ]( k  `Determining fastest mirrors, J3 j! U# [. Y9 E
base                                                                                                                                                                                            | 2.9 kB  00:00:00     9 @4 G+ L+ M* u8 w9 U4 q
extras                                                                                                                                                                                          | 2.9 kB  00:00:00     : B% N( ^. M3 N. A( O
http://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
# H  |2 N& i& h, ^3 t" `0 c. b, uTrying other mirror." ?- \3 C  ]* P  {4 F
To address this issue please refer to the below wiki article ' G8 N: }2 ?. u5 e" N
: Z8 a# n+ ]# {) P% c
https://wiki.centos.org/yum-errors
7 Z4 _; C/ K  R- h6 y& {6 L+ F. A" h# O3 h" k" c3 ]$ [
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.9 C% c0 ~9 D  r9 Y0 O$ y
$ b- E3 a6 K7 h. U

2 X, f, f6 M& R/ t4 _$ D7 z3 j  ~% e1 q: F6 z
+ N* r' U2 @, `& e1 Y, a
重新createrepo  下目录。! d7 O. F5 q: g0 s+ {$ `
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 21:26 , Processed in 0.045357 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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