1.安装时出现的错误
(1)Registering with the server...
Registration with the server failed
①操作系统语言版本问题
因为我用的是中文版本,在confirm hosts 这一步骤中检测主机失败,并提示该错误,解决方法如下:
修改/etc/sysconfig/i18n 文件为LANG="en",重启系统,修改成功。(修改成功后,不要忘记开启ntpd服务,或将该服务设为开机自启)。
②若手动安装ambari-agent,请检查各节点/etc/amabri-agent/conf/ambari-agent.ini文件中hostname是否修改为本机主机名。
③若使用centos7,将会出现该问题