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.