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:

  • Chuyển thư mục lên RAM để tăng tốc website Chuyển thư mục lên RAM để tăng tốc website Chắc hẳn các bạn đều biết, RAM có tốc độ nhanh hơn ổ cứng rất nhiều nên ý tưởng chuyển thư mục hay tập tin lên RAM là ý tưởng khá hay để tăng… Read More
  • VPS căn bản [Phần 10] – Cài đặt WordPress Trải qua 8 phần chắc bạn cũng đã nóng lòng cần biết qua cách cài đặt WordPress trên VPS rồi. Thật ra nếu bạn đã có kinh nghiệm dùng Shared Host thì chỉ đọc hết bài MySQL là đã có thể tự cài đặt WordPress được. Và … Read More
  • VPS căn bản [Phần 8] – Cài đặt PHP Như bạn đã biết WordPress được viết hoàn toàn bằng ngôn ngữ PHP nên VPS bạn để chạy được nó cần phải có một ứng dụng xử lý PHP, vì ngôn ngữ PHP là một ngôn ngữ độc lập nên nếu không cài ứng dụng PHP thì máy chủ sẽ trở nên “m… Read More
  • How to backup a full Centos Server? Method 1: The best tool to use for this is probably dump, which is a standard linux tool and will give you the whole filesystem. I would do something like this: /sbin/dump -0uan -f - / | gzip -2 | ssh -c blowfish user@back… Read More
  • Tự động backup database và sao lưu FTP trên VPS chạy LNMP Dữ liệu, đối với bất kỳ cá nhân/doanh nghiệp nào cũng đều rất quan trọng. Giờ đây, người người có web, nhà nhà có web là chuyện bình thường như cô Hường lên phường. Tuy nhiên, vấn đề backup dữ liệu không phải ai cũ… Read More

0 comments:

Post a Comment