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的版本,就一路绿灯安装成功了。


猜你喜欢

转载自blog.csdn.net/qq_35798758/article/details/80420482