July 3, 2015

Hướng dẫn xử lý lỗi [Errno 14] PYCURL ERROR 22

Dạo gần đây, khi tạo mới VPS ở Vultr hay DigitalOcean mình thường gặp lỗi [Errno 14] PYCURL ERROR 22 khi sử dụng lệnh yum. Nội dụng có thể như sau:
[root@hocvps.com ~]# yum -y install wget
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink | 4.0 kB 00:00
* base: www.ftp.ne.jp
* epel: ftp.kddilabs.jp
* extras: www.ftp.ne.jp
* updates: www.ftp.ne.jp
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
epel | 4.4 kB 00:00
http://ftp.kddilabs.jp/Linux/packages/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Trying other mirror.
http://mirror.premi.st/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.yzu.edu.tw/Linux/Fedora-EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://epel.mirror.srv.co.ge/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.kddilabs.jp/Linux/packages/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://kartolo.sby.datautama.net.id/EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.premi.st/epel/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.yzu.edu.tw/Linux/Fedora-EPEL/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://epel.mirror.srv.co.ge/6/x86_64/repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/3a8ad6be6ac67612fe9f97bfc8e8dd3a4fb5a6c70958bfaa3ea808af78139547-primary.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
Trường hợp này các bạn có thể fix bằng cách:
1. Điều chỉnh lại Nameserver
nano /etc/resolv.conf
Nếu đã có nameserver nào rồi thì bạn hãy xóa đi, rồi thêm 2 dòng sau vào phía cuối:
nameserver 8.8.8.8
nameserver 8.8.4.4
Save file lại và Exit
2. Xóa cache
yum clean metadata
yum clean all
Vậy là xong.
Nguồn : http://hocvps.com/xu-ly-loi-errno-14-pycurl-error-22/

Related Posts:

  • [LINUX] CÀI ĐẶT WHM/CPANEL TRÊN MÁY CHỦ HOẶC VPS Để cài đặt Cpanel, bạn hãy login vào VPS qua SSH bằng tài khoản root, sau đó sử dụng các lệnh ở phía dưới để cài đặt Cpanel. 1. Cài đặt Cpanel/WHM # yum install selinux coreutils binutils make dialog gcc gcc-* glib* # y… Read More
  • VPS căn bản [Phần 9] – Cài đặt MySQL & phpMyAdmin Bạn đã có PHP trên VPS rồi nhưng ứng dụng đó chỉ cho phép bạn thực thi các file PHP mà thôi, chứ chưa thể cài được WordPress bởi vì bạn sẽ cần thêm một ứng dụng rất quan trọng nữa là MySQL để hỗ trợ lưu trữ database cho webs… Read More
  • CÁCH CÀI ĐẶT EXTENSION PHP CHO VPS HOẶC SERVER RIÊNG - LINUXNhư các bạn đã biết, Server Riêng cũng như vps là một phân vùng riêng độc lập mà mỗi khách hàng có thể tùy ý chỉnh sửa cấu hình, cài đặt ứng dụng và triển khai theo ý muốn. Và khi các bạn cần cài đặt exten… Read More
  • Làm gì khi VPS bị spam Mail?1. Nhận biết VPS của bạn tự nhiên chậm, RAM và CPU tăng cao Email không đến được người nhận DirectAdmin thông báo lượng mail gửi ra nhiều Địa chỉ IP bị Blacklist 2. Nguyên nhân Nếu là máy chủ website có thể source code… Read More
  • Lệnh kiểm tra các thông số VPS Linux Một số câu lệnh để các bạn có thể kiểm tra thông số cấu hình của VPS Linux Lệnh kiểm tra CPU: cat /proc/cpuinfo Lệnh theo dõi CPU: top -c Lệnh kiểm tra hệ điều hành: uname -a Lệnh kiểm tra phiên bản hệ điều hành (CentOS)… Read More

0 comments:

Post a Comment