CentOS 6.8 - yum update°¡ ¾ÈµÇ°í ÀÖ½À´Ï´Ù

   Á¶È¸ 20799   Ãßõ 1    

몇달전부터 IDC의 모든장비에서 yum update가 안되고 있습니다.

오류 메시지는 아래와 같습니다.


dns 오류인가 해서, /etc/resolv.conf도 바꿔보고

/etc/yum.repos.d/CentOS-Base.repo의 baseurl 등도 바꿔봤는데

Openration too slow는 동일 합니다.


어떤 이유인지 원인을 몰라서 질문 드립니다.


 ===
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
 * epel: mirror01.idc.hinet.net
 * extras: ftp.daumkakao.com
 * remi-safe: mirror.innosol.asia
 * updates: ftp.daumkakao.com
http://ftp.daum.net/centos/6/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.daum.net/centos/6/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.


===

- to be continue -
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
ºó°æÀ± 2017-05
¼­¹ö ¾Õ´Ü ¹æÈ­º®/º¸¾ÈÀåºñ¿¡¼­ ¿ÜºÎ·Î ³ª°¡´Â 80¹ø Æ÷Æ®°¡ ¸·Èù °Í ¾Æ´Ò±î¿ä?


OUT 80¹ø Æ÷Æ® ¿ÀÇ ¿©ºÎ Å×½ºÆ®

# curl -iv http://ftp.daum.net
* About to connect() to ftp.daum.net port 80 (#0)
*  Trying 113.29.189.165...
* Connected to ftp.daum.net (113.29.189.165) port 80 (#0)
     
ȸ¿øK 2017-05
Á¤»ó ÀÔ´Ï´Ù.

curl -iv http://ftp.daum.net
* About to connect() to ftp.daum.net port 80 (#0)
*  Trying 113.29.189.165... connected
* Connected to ftp.daum.net (113.29.189.165) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ftp.daum.net
> Accept: */*
>
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Thu, 25 May 2017 06:37:44 GMT
Date: Thu, 25 May 2017 06:37:44 GMT
< Server: TS5K
Server: TS5K
< Location: http://ftp.daumkakao.com/
Location: http://ftp.daumkakao.com/
< Cache-Control: max-age=3600
Cache-Control: max-age=3600
< Expires: Thu, 25 May 2017 07:37:44 GMT
Expires: Thu, 25 May 2017 07:37:44 GMT
< Content-Length: 209
Content-Length: 209
< Content-Type: text/html; charset=iso-8859-1
Content-Type: text/html; charset=iso-8859-1
< Age: 5
Age: 5
< Connection: keep-alive
Connection: keep-alive

<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://ftp.daumkakao.com/">here</a>.</p>
</body></html>
* Connection #0 to host ftp.daum.net left intact
* Closing connection #0
          
ºó°æÀ± 2017-05
±×·³ mirror list µµ curl ¿¡¼­ ¿­¸®³ª¿ä?

curl -iv 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock'
* About to connect() to mirrorlist.centos.org port 80 (#0)
*  Trying 212.69.166.138... connected
* Connected to mirrorlist.centos.org (212.69.166.138) port 80 (#0)
> GET /?release=6&arch=x86_64&repo=updates&infra=stock HTTP/1.1
...

Server: PasteWSGIServer/0.5 Python/2.7.5
...
http://ftp.kaist.ac.kr/CentOS/6.9/updates/x86_64/
http://ftp.daumkakao.com/centos/6.9/updates/x86_64/
...
               
ȸ¿øK 2017-05
Àß ¿­¸³´Ï´Ù -..-

# curl -iv 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock'
* About to connect() to mirrorlist.centos.org port 80 (#0)
*  Trying 85.236.43.108... connected
* Connected to mirrorlist.centos.org (85.236.43.108) port 80 (#0)
> GET /?release=6&arch=x86_64&repo=updates&infra=stock HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: mirrorlist.centos.org
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Thu, 25 May 2017 07:08:59 GMT
Date: Thu, 25 May 2017 07:08:59 GMT
< Server: PasteWSGIServer/0.5 Python/2.7.5
Server: PasteWSGIServer/0.5 Python/2.7.5
< Content-Length: 569
Content-Length: 569
< Content-Type: text/plain; charset=UTF-8
Content-Type: text/plain; charset=UTF-8

<
http://ftp.kaist.ac.kr/CentOS/6.9/updates/x86_64/
http://ftp.daumkakao.com/centos/6.9/updates/x86_64/
http://centos.mirror.cdnetworks.com/6.9/updates/x86_64/
http://ftp.neowiz.com/centos/6.9/updates/x86_64/
http://mirror.navercorp.com/centos/6.9/updates/x86_64/
http://data.nicehosting.co.kr/os/CentOS/6.9/updates/x86_64/
http://mirror.oasis.onnetcorp.com/centos/6.9/updates/x86_64/
http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.9/updates/x86_64/
http://ftp.iij.ad.jp/pub/linux/centos/6.9/updates/x86_64/
http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos/6.9/updates/x86_64/
* Connection #0 to host mirrorlist.centos.org left intact
»ó±ÙÀÌ 2017-05
ÇؿܸÁÀÌ ¸·ÇôÀÖ´Â°Ç ¾Æ´Ñ°¡¿ä.

8.8.8.8 Çΰ¡³ª¿ä À̺κиÕÀú üũÇÏ´Â°Ô ÁÁ½À´Ï´Ù.
     
ȸ¿øK 2017-05
¾È¸·Çô ÀÖ½À´Ï´Ù -..-...
ping Àß ³ª°¡°í ÀÖ±¸¿ä.
½Ãµµ´Ï 2017-05
yum clean all

ÇÏ°í Çѹø Çغ¸½ÃÁÒ?

ÀúÈñ´Â 7.2 Àε¥,,,daumkakao °¡ °É¸®´Â °æ¿ì°¡ Á» µå¹°´øµ¥...
     
ȸ¿øK 2017-05
¸î³âµ¿¾È update°¡ Àß µÇ´Ù°¡... °©ÀÚ±â ÀÌ·¯´Ï ´çȲ½º·´½À´Ï´Ù. -..-
ȸ¿øK 2017-05
[ÇØ°á]
¿¡½º¿ø °üÁ¦¼­ ½ÃÅ¥¾ÆÀÌ UTM Â÷´Ü Çß´Ù°í ÇÕ´Ï´Ù.
Åнâ.
¿Ö??? yumÀ» Â÷´Ü??? -..-..
Â÷´Ü Ç®¾ú½À´Ï´Ù.
     
ºó°æÀ± 2017-05
ÀÌ»óÇß¾ú´Âµ¥...

°°Àº ÁÖ¼Ò¶óµµ User-Agent µî ¿¡ µû¶ó Â÷´ÜÇß³ª º¸³×¿ä. ^^
          
ȸ¿øK 2017-05
¾ÆÁ÷µµ ¸ø Ç®°í ÀÖ½À´Ï´Ù ¤Ð¤Ð...
Ç®¾ú´Ù´Âµ¥ ¹¹°¡ ¶Ç ¹®Á¦ÀÎÁö.
               
ºó°æÀ± 2017-05
mirror list ¸¦ °¡Á®¿Ã ¶§, curl °ú yum update ¿¡¼­ Â÷ÀÌ´Â UserAgent »ÓÀä.

UTM °üÁ¦ ¼¾ÅÍ¿¡ ¾Æ·¡ 2°³ ½ÇÇà °á°ú¸¦ ¾Ë·ÁÁÖ°í, UserAgent ¿¡¼­ 'urlgrabber' ³ª 'yum' ´Ü¾î ÇÊÅ͸µÀ» »èÁ¦ÇØÇØ´Þ¶ó°í ÇÏ¸é µÇ°Ú³×¿ä.

# curl -iv --user-agent 'IE' 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock' 
-> Àß ¿­¸²

# curl -iv --user-agent 'urlgrabber/3.9.1 yum/3.2.29' 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock'
-> ¸ØÃç¹ö¸²
                    
ȸ¿øK 2017-05
°¨»çÇÕ´Ï´Ù.
patch¸¦ patch¶ó ºÎ¸£Áö ¸øÇÏ´ø ½½ÇÄÀÌ ÇØ°á 됬½À´Ï´Ù.
     
¹Ú¹®Çü 2017-05
¿øÀÎ ³ª¿À°í Àß ÇØ°áµÇ¾î ´ÙÇàÀÔ´Ï´Ù..
¾¾Çü 2017-05
°á°úÀûÀ¸·Î ¾î¶²°÷¿¡¼­ ÇØ°áÀ» º¸¼Ì´ÂÁö ¾Ë·ÁÁÖ½Ç ¼ö ÀÖ³ª¿ä?
À§ ´ñ±Û Áß
¿Ï·á°¡ µÈ°ÍÀÎÁö Àß ¸ð¸£°Ú½À´Ï´Ù
     
ȸ¿øK 2017-05
MF2 utm¿¡¼­ yum »çÀÌÆ®µé¿¡ Á¢±ÙÀ» agent¸¦ ÀÌ¿ëÇؼ­ Â÷´ÜÇÏ°í ÀÖ¾ú´ø °ÍÀ» Ç®¾ú½À´Ï´Ù.

mirror.centos.org¿¡ telnet, ftp, http¿Í °°Àº ±âº» agent¸¸ Çã¿ëÇÏ°í
yum¿¡ ÇÊ¿äÇÑ urlgrabber µîÀÇ ±âº» agent¸¦ ¸ðµÎ Â÷´ÜÇÏ°í ÀÖ¾ú´ø °Í ÀÔ´Ï´Ù.

ÇØ°á ¹æ¹ýÀº UTM Â÷´Ü ·Î±×¸¦ º¸°í ¸®½ºÆ®¸¦ ¼öÁ¤Çß´ø °Í ÀÔ´Ï´Ù.

===
# curl -iv --user-agent 'IE' 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock' 
-> Àß ¿­¸²

# curl -iv --user-agent 'urlgrabber/3.9.1 yum/3.2.29' 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock'
-> ¸ØÃç¹ö¸²
          
¾¾Çü 2017-05
»ó¼¼ÇÑ ¼³¸í °¨»çÇÕ´Ï´Ù
´ã¿¡ À¯»ç Áõ»ó½Ã À¯¿ëÇϰڳ׿ä
               
ȸ¿øK 2017-05
agent°¡ ´Ù¸£´Ù´Â °ÍÀº ¸ô¶ú½À´Ï´Ù.


QnA
Á¦¸ñPage 2912/5688
2015-12   1536496   ¹é¸Þ°¡
2014-05   5000632   Á¤ÀºÁØ1
2005-03   6891   ½É±Ô»ó
2013-12   4511   °­¼ºÁÖ
2019-10   3185   Æĸ®´ë¿Õ
2021-01   3492   ÁöÆæ
2015-04   3716   2cpumem
2016-06   3511   ±è°Ç¿ì
2015-04   3527   ±èÁØÀ¯
04-04   1245   ¿À¼º±â
2017-05   20800   ȸ¿øK
2005-04   6379   Á¤±âÁ¾
2018-09   3922   ¾Æ¸¶µ¥¿ì¾²
2008-01   5646   ÀÓÁø¿í
2011-07   6309   Àΰ£´ä°Ô
2008-01   5977   ±èÅÂÇö
2005-04   5521   ÀÓöÇõ
2014-01   6286   ¼­¿ïl½Â¿ë
2016-06   4851   Sunrise
2011-08   6384   ¿¹°ü½Å±Ô½Ä
2015-05   4283   ÀÌ¿øÀçK
2016-06   4722   NeOpLE