• 欢迎访问运维搬运工网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站。
  • 本站一年会员:100元 ,两年会员:180元 ,永久会员:380元
  • 这世界就是,一些人总在昼夜不停地运转,而另外一些人,起床就发现世界已经变了。
  • 本博客推广的是知识付费,用赞助的方式实现博客维护,不以赚钱为目的的博客

CDH客户端不能启动

查看日志

[root@cdh4-gg-data home]# cd /var/log/cloudera-scm-agent/

[root@cdh4-gr-data cloudera-scm-agent]# ll
total 88
-rw-r--r-- 1 root root 68416 Jun 24 16:37 cloudera-scm-agent.log
-rw-r--r-- 1 root root 2058 Jun 24 16:37 cloudera-scm-agent.out
-rw-r--r-- 1 root root 202 Jun 24 15:44 cmf_listener.log
-rw-r--r-- 1 root root 539 Jun 24 15:44 supervisord.log
-rw-r--r-- 1 root root 442 Jun 24 15:44 supervisord.out
[root@cdh4-gr-data cloudera-scm-agent]# tail -f cloudera-scm-agent.log
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/process/wspbus.py", line 215, in publish
raise exc
ChannelFailures: IOError("Port 9000 not free on 'minio.gg-data.gg'",)

[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE Bus STOPPING
[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('minio.gr-data.cn', 9000)) already shut down
[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE Stopped thread '_TimeoutMonitor'.
[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE Bus STOPPED
[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE Bus EXITING
[24/Jun/2019 16:37:32 +0000] 4604 MainThread _cplogging INFO [24/Jun/2019:16:37:32] ENGINE Bus EXITED

可以看出9000端口的相关问题,由于我服务器之前安装了minio启用了9000端口,而CDH得使用9000端口,故干掉端口即可。

[root@cdh4-gg-data ~]# service cloudera-scm-agent start
Starting cloudera-scm-agent (via systemctl): [ OK ]
[root@cdh4-gg-data ~]# ss -tnlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port 
LISTEN 0 5 192.168.2.234:9000 *:* users:(("cmf-agent",pid=5014,fd=13))
LISTEN 0 128 *:111 *:* users:(("rpcbind",pid=3409,fd=4),("systemd",pid=1,fd=39))
LISTEN 0 5 *:80 *:* users:(("python",pid=3109,fd=3))
LISTEN 0 5 *:4433 *:* users:(("python2.7",pid=5068,fd=8))
LISTEN 0 5 127.0.0.1:7190 *:* users:(("python2.7",pid=5068,fd=14))
LISTEN 0 128 *:22 *:* users:(("sshd",pid=2262,fd=3))
LISTEN 0 5 *:7191 *:* users:(("python2.7",pid=5068,fd=7))
LISTEN 0 128 127.0.0.1:19001 *:* users:(("python",pid=3569,fd=4))
LISTEN 0 100 127.0.0.1:25 *:* users:(("master",pid=1799,fd=13))
LISTEN 0 128 :::111 :::* users:(("rpcbind",pid=3409,fd=11))
LISTEN 0 5 :::4434 :::* users:(("python2.7",pid=5068,fd=11))
LISTEN 0 5 :::7191 :::* users:(("python2.7",pid=5068,fd=10))


运维搬运工 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:CDH客户端不能启动
喜欢 (0)
[扫描二维码]
分享 (0)
大自然搬运工
关于作者:
不是路不平,而是你不行。到底行不行,看你停不停。只要你不停,早晚都能行。
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址