执行cloudera-scm-agent 命令时报 XXX:未找到命令
集群之前运转都很正常,由于某些原因需要重启集群服务。CDH集群的一台在重启的时候,执行 cloudera-scm-agentstart时突然报错:./ cloudera-scm-agent : 行125 :checkpid:未找到命令执行cloudera-scm-agentstatus的时候同样报错:./ cloudera-scm-agent : 行252 :status:未找到命令...
·
集群之前运转都很正常,由于某些原因需要重启集群服务。CDH集群的一台在重启的时候,执行 cloudera-scm-agent start时突然报错:
./ cloudera-scm-agent : 行125 :checkpid:未找到命令
执行cloudera-scm-agent status的时候同样报错:
./ cloudera-scm-agent : 行252 :status:未找到命令
看到错误郁闷了好久,之前都运行正常怎么现在启动命令就报错呢?最后偶然间发现服务器的service命令不能使用了,前人流的坑呀后人埋。重新安装service服务,再次执行 cloudera-scm-agent start就好了。
总结:
一般这种命令不存在的错误是由于依赖的软件缺失导致,重新看看依赖的服务是否正常使用。
更多推荐
所有评论(0)