ambari单节点安装过程中的一些问题

 

问题1:Confirm Hosts时,遇到Repository的问题

Error Summary
-------------

Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration

出现类似这种错误的,是yum源的问题,简单来说是你配置的yum仓库出现重复,需要仅仅留一个就可以了。具体做法就是:将/etc/repos.d/*.repo仅仅留下

再重来,就不报上面的错误了。

问题2:Confirm Hosts时,遇到 Transaction Check Error 的问题

Transaction check error: file /etc/sudoers.d from install of ambari-agent-2.0.0-151.x86_64 conflicts with file from package sudo-1.8.6p7-13.el7.x86_64
这个问题找了好久,最后才发现是版本问题,真是醉了。队友给的是centos6的版本安装说明,但没有标注版本,按照他的说明文档一路执行也不报错,最后到这里,卡住了。发现问题后,更改为centos7的版本,就一路绿灯安装成功了。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值