cloudera-manager提示安装成功,但是服务根本没有启动,仍然查看/var/log/cloudera-scm-server.log显示一个 could not translate host name “localhost”, service “5432″ to address: Name or service not known的错误

解决办法如下:

在/etc/hosts文件下增加如下内容:

127.0.0.1 localhost localhost.localdomain