CDH重启服务cloudera-scm-agent启动失败(cloudera-scm-agent dead but pid file exists)

  |   0 评论   |   8 浏览

    现象:
    CDH启动主节点没问题,从节点一直失败,报错如下:

    [root@zw-t-hadoop-master ~]# /opt/cm-5.12.1/etc/init.d/cloudera-scm-server start
      Starting cloudera-scm-server:                              [  OK  ]
    [root@zw-t-hadoop-master ~]# /opt/cm-5.12.1/etc/init.d/cloudera-scm-agent status
      cloudera-scm-agent dead but pid file exists
    

    解决方案:找到Pid文件,删除重启服务即可。

    [root@zw-t-hadoop-master ~]# find /  -name  "cloudera-scm-agent.pid"
    /opt/cm-5.12.1/run/cloudera-scm-agent/cloudera-scm-agent.pid
    [root@zw-t-hadoop-master ~]# find /  -name  "cloudera-scm-agent.pid"|xargs rm -rf
    [root@zw-t-hadoop-master ~]# /opt/cm-5.12.1/etc/init.d/cloudera-scm-agent status
    cloudera-scm-agent is stopped
    

    评论

    发表评论

    validate