The image cannot be found when centos6.3yum installs software.

Source: Internet
Author: User
Recently, a customer wants to deploy a nagios monitoring system for a company. Therefore, Centos6.3 (64bit) is installed on the IBM server at a minimum, but the newly installed yum repository cannot be updated. Error message: [root @ nagios-server ~] # Yumupdate & ndash; yLoadedplugins

Recently, a customer wants to deploy a nagios monitoring system for a company. Therefore, Centos 6.3 (64bit) is installed on the IBM server at a minimum, but the newly installed yum repository cannot be updated. Error message:

 

[Root @ nagios-server ~] # Yum update-y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Cocould not retrieve than list http://mirrorlist.centos.org /? Release = 6 & arch = x86_64 & repo = OS error was

14: pycurl error 6-"Couldn't resolve host 'using list .centos.org '"

Error: Cannot find a valid baseurl for repo: base

[Root @ nagios-server ~] # Nslookup list.centos.org

; Connection timed out; no servers couldbe reached

The problem is found here, the domain name cannot be resolved, and the domain name pointed to in the yum configuration file cannot be identified. Reset dns pointing.


[Root @ nagios-server ~] # Vim/etc/resolv. conf

Search 38 forsbm

Nameserver 8.8.8.8

Nameserver 218.85.152.99


[Root @ nagios-server ~] # Yum update-y -- update is available.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.