Ubuntu 16.04 安装Cloudera Manager 5.15.1问题记录
后台tail -f /opt/cm-5.15.1/log/cloudera-scm-server/cloudera-scm-server.log 日志报错信息:
com.cloudera.cmon.MgmtServiceLocatorException: Could not find a HOST_MONITORING nozzle from SCM.
此问题原因:有些网上说是由文件句柄数限制引起,所以按照网上说明进行了修改:
在主节点上,修改/opt/cm-5.15.1/etc/cloudera-scm-agent/config.ini文件:
//查看文件句柄数,显示1024,显然太小
# ulimit -n
1024
//修改限制
#vi /etc/security/limits.conf
//在文件后加入下面内容:
* soft nofile 100000
* hard nofile 100000
此步骤需要重启机器生效,可以设置完后再重启。
----------------------------------------------------------------------------------------------------------------------------------------------------------
https://www.jianshu.com/p/012739e132f6 三个错误
1.jdk安装在/usr/java目录下、必须配置hosts
Ubuntu 16.04时不会出现,版本12会出现,建议用16版本
2.启动agent时报错/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: version `OPENSSL_1.0.2' not found
升级openssl到1.0.2 https://blog.csdn.net/swjtu100/article/details/52093261
搜索到libcrypto.so.1.0.2,复制到/lib/x86_64-linux-gnu并改文件名为1.0.0
3.创建scm表时报错 参考: https://blog.csdn.net/chenli195/article/details/71404355?utm_source=blogxgwz1
另:需要安装ntp(https://blog.csdn.net/wyfsxs/article/details/80608957)、配置静态ip、namesever,根据首链接配置就行

浙公网安备 33010602011771号