找回密码
 注册
查看: 22|回复: 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  
. i. ]# Z( m  M3 s0 C1 Q$ g# f
: a/ U1 x# J6 Q9 }. A问题
- i. `2 n- N( u9 D4 q# m) s- }4 d5 H' h2 }* E! p9 _/ U. H
yum list
' t1 @, C' Y0 z3 @' NLoaded plugins: fastestmirror$ L* M( [9 c5 N! z. R+ H/ m( N
Determining fastest mirrors3 Y; E& o  `% c
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'). R, N4 O- O' i% I8 C
Trying other mirror.
, v. ~) D/ i, F3 d5 }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')0 Z( ^  I1 c% D" K6 G
Trying other mirror.
7 w  H# e& [- D( h/ V# 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')
! d! ]* Q8 ~+ g  c: q; lTrying other mirror.8 J. y0 {: Y3 d$ r

  l2 G, ]3 \/ O- B/os/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
1 Y" C6 p3 E' Y) a! Q" ~
9 U' Q, d2 _- h6 g5 f$ [- G: f分析来看
4 ]4 i7 y# |2 r2 e5 g1 Q- F3 c% ^% z1 t2 j0 @% E
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+ u9 O, 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')8 i) l. {: 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')
0 X7 I0 x# z$ j5 z$ q1 p7 n+ `6 }# s无法识别目录。  w; s* P- C+ \1 l4 z$ l: w! Z6 ~
8 U, U1 v& v9 s8 A& a# N
解决办法:
) s8 N* F) N9 q' G0 M; @. Z" \! F$ U检查repo文件
9 F' {4 G5 J! |/ @) P
3 m# B9 z& n+ F" N. ncat /etc/yum.repos.d/base.repo & Y' ?- m" X, T
[base]8 v, @  \! A8 ?! |  F* e
name=CentOS-$releasever - Base
$ M! u8 K; Y) [5 X& x/ D6 A  a) I* v#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=os&infra=$infra
7 w" M. H. o3 l8 ibaseurl=http://172.24.21.35/os/
1 i( S3 s+ Z0 {$ \gpgcheck=0% l8 k# R" g  w! q! o
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
' E" F- M7 Y' p) C- @/ l; c( s% @
, ~9 Z4 A& N. K  j#released updates
6 n1 T: y( p+ |9 u! A[updates]- ?) X& V. w- J: W( v6 g1 i! T4 j
name=CentOS-$releasever - Updates
/ @: ?! l" K' w% d2 u#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=updates&infra=$infra" C5 t% [& e6 ~8 @' l% f- `7 V
baseurl=http://172.24.21.35/updates/x86_64+ S, p! H  a8 z* I. F
gpgcheck=0# s* l3 l$ M( Z6 M/ r
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
) w1 G+ M, l) J& |6 C2 w5 \/ k$ R# A" F' W  V  a! o% b
#additional packages that may be useful
5 w; F# H, D# E% r6 O[extras]* r* K: a% }9 q) O+ m# g
name=CentOS-$releasever - Extras
0 q/ V& q: p: g9 Z5 k#mirrorlist=http://mirrors.163.com/?release=$releasever&arch=$basearch&repo=extras&infra=$infra- Z" L2 i4 o% T$ c! K7 T3 ^- M
baseurl=http://172.24.21.35/extras/x86_64
( r/ f1 c& G" Fgpgcheck=08 t( i* |. X2 F$ p. |, i1 C0 ^, v

) W" Q# \+ O0 w% }' y5 F0 ?- |7 f$ q% Z

; [; H! _8 L# g/ A; [4 n发现是配置的路劲里目录写错了。; u1 z' k3 z% i
修改即可:+ q4 l* F+ l# D8 S3 F
( F- G' F  o1 Y" L% l. I2 g8 Y! {
* \* h# M7 x  T' P" q8 a
[base]. `# V! T2 \" h
name=CentOS-$releasever - Base2 ^& N! O3 G4 \- ]# W
baseurl=http://172.24.21.35/centos/os/3 [3 u0 E. l- \9 [8 [6 w# Z8 T
gpgcheck=0
, P3 R/ P+ P9 C( P( V2 `7 B6 d7 c. y$ [" w
#released updates
6 o* n( Z& M; P5 I[updates]
- A! \) r" G4 o" {name=CentOS-$releasever - Updates
8 R$ t; P+ d- b+ @9 R) X! U1 vbaseurl=http://172.24.21.35/centos/updates/* k& @5 q( T+ R; b; Q6 z$ w# m# U
gpgcheck=0
3 P% l: @* H* H: D* f+ z1 g1 d3 N" @7 G6 E
#additional packages that may be useful/ p1 w1 [, t; }' l3 w
[extras]3 `7 y. v+ Y; @, k
name=CentOS-$releasever - Extras
, ~% C! g0 {$ [  Ibaseurl=http://172.24.21.35/centos/extras/x86_64/
/ @$ Y' b( H- S& M! E; @gpgcheck=0
3 d4 E) x' o. S# I+ f0 ~8 y: n5 Y7 K# _, u  }) w0 {6 E

# Y( u* e% a0 a- v1 N% V/ D4 B' W, }' t. }

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2024-9-3 17:00:03 | 显示全部楼层
后来发现还是没有解决。郁闷了。重新crearepo 也不能正常。8 h! f/ }! N6 f5 c7 U7 u* u

- p0 o6 k9 U8 r检查了系统配置,是否使用了代理。重启系统之后就好了。2 o) H! @) Y8 K" g2 C8 ?

- |2 |* k( x+ p4 X3 e& B3 t. S* N& t接下来的问题
! s" e% R/ [1 ?/ a. |: l% \5 W! {& R6 Z6 W# S) E
yum list ( h: v2 m2 e- W$ C
Loaded plugins: fastestmirror
* h2 }5 t0 J; Y' ~Determining fastest mirrors5 [! U3 E, b# \
base                                                                                                                                                                                            | 2.9 kB  00:00:00     1 e! J, b( @5 j5 G
extras                                                                                                                                                                                          | 2.9 kB  00:00:00     ; g& i# D$ C& f, \$ e- l' f
http://172.24.21.35/centos/updates/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found* _- T6 w2 s- p& q! M' I" P
Trying other mirror.. d2 l9 w8 j" F- Y# Q9 L8 n. T! H
To address this issue please refer to the below wiki article
. w+ K6 G- m1 ~, K: n1 y0 t8 B
https://wiki.centos.org/yum-errors
8 {2 U+ I, m9 e: ~& {$ y$ X) n/ I: v" O
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.8 a; s# O4 a% ^% r7 R2 q
# a! @  K6 @6 A4 U
7 v3 U/ [" a% D

( t$ K# C9 f% Z* ^! `2 O
1 G8 T3 s0 w! u" H: T/ s重新createrepo  下目录。
# B) b. w) f3 d; x4 e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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