[root@pachong yum-3.2.28]# yum search www Loaded plugins: fastestmirror Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. </html>/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base 今天发现yum报错如上所示,后来找啊找,找到了这个帖子http://www.howtoforge.com/forums/showthread.php?t=54388 里面有关键的一个回帖,最后一栏 Can you check if your Internet connection is working and that you have valid nameservers in /etc/resolv.conf? 然后我打开 /etc/resolv.conf一看,果然这个里面指定的DNS的IP ping不过去 最后的原因是DNS服务器的IP换了,果然是网络问题 |
yum发现问题排查一例
原创sharpstill 博主文章分类:linux与shell ©著作权
©著作权归作者所有:来自51CTO博客作者sharpstill的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
系统问题排查思路
系统问题排查
JVM java Java -
发现问题的乌贼游戏
游戏目的团队在探索信息空间时,最重要的
游戏 团队管理 信息空间 -
PHP通过日志来发现问题
三大日志 1、Nginx的错误日志, Nginx的Access日志 2、PHPfpm的错误日志可设置级别 3、Mysql的慢查询日志
nginx 错误日志 php mysql 慢查询 -
技术分享 | 巧用 binlog Event 发现问题
作者:高鹏(八怪)文章末尾有他著作的《深入理解 MySQL 主从原理 32 讲》,深
MySQL binlog Event 数据库 mysql 数据