cloudermanager添加主机时的安装错误整理

阅读更多

 

  • 错误1:host

host -t PTR XXX

domain name pointer localhost.

错误原因:

DNS反解析,域名没有配置dns

解决办法:

去掉/usr/bin/host

mv /usr/host host.bak

然后再次添加主机

 

heipark.iteye.com/blog/2010432

https://community.cloudera.com/t5/Cloudera-Manager-Installation/installation-failed-help-Help-Help/td-p/6637

 

  • 错误2

>>[15/Sep/2015 17:49:04 +0000] 55775 MainThread agent ERROR Could not determine hostname or ip address; proceeding. 
>>Traceback (most recent call last): 
>> File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 2101, in parse_arguments 
>> ip_address = socket.gethostbyname(fqdn) 
>>gaierror: [Errno -2] Name or service not known 

 

解决办法:

vim /etc/hosts

添加一条

XXXXX archive.cloudera.com

XXXXX为namenode主节点的ip

 

https://community.cloudera.com/t5/Cloudera-Manager-Installation/failed-to-start-cloudera-manager-agent/td-p/11722

 agent.py: error: argument --hostname is required

这个一般都是/etc/host不正确。

 

 

  • ntp错误

配置ntp

yum -y install ntp

 chkconfig --add ntpd

 chkconfig ntpd on

#如果需要自己修改ntp配置可以打开配置文件

vim /etc/ntp.conf

你可能感兴趣的:(cloudermanager)