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

相關文章
相關標籤/搜索