Job for zookeeper.service failed because the control process exited with error code. See "systemctl

出现这个异常,必定要检查一下systemd的service文件中有没有写对,个人就是service文件中这个地方写错了php

ExecStart=/usr/bin/su - root -c '/home/test/bin/zookeeper.sh start'

修改后:centos

ExecStart=/home/test/bin/zookeeper.sh start

改后重启就行了bash

能够参考这个:https://www.centos.org/forums/viewtopic.php?t=56679spa

必定要本身检查service文件里面有没有写对code

相关文章
相关标签/搜索