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:

  • Alert load on your VPS/Server - Cảnh báo VPS/Server quá tảiChia sẻ 1 scripts rất tiện ích cho các bạn đang sử dụng VPS/Server. Đối với những bạn mới tập tành tìm hiểu về VPS/Server thì việc kiểm tra nó thường xuyên rất là mệt.Chức năng mã nguồn là sẽ thông báo email cho bạn về thông … Read More
  • 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
  • Tạo crontab tự động bật lại MySQL khi bị stop trên VPS/Server Với những VPS có RAM ít và bạn không rõ về config MySQL dẫn tới hiện tượng thi thoảng website quá tải và bị lỗi không thể kết nối tới database. Bài viết này sẽ hướng dẫn bạn cách khắc phục lỗi chết MySQL và tạo crontab&… Read More
  • Chống DDoS với Varnish Thông thường Varnish sử dụng chính để làm cache front end, tuy nhiên bạn hoàn toàn có thể cấu hình sử dụng để chống DDoS. Hướng dẫn này viết từ trường hợp thực tế, mình đã chống DDoS thành công cho một… 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

0 comments:

Post a Comment