Apache zookeeper 无法启动zookeeper,找不到pid

Apache zookeeper 无法启动zookeeper,找不到pid,apache-zookeeper,pid,Apache Zookeeper,Pid,在检查zookeeper状态时,我遇到此错误: systemctl status zookeeper-server.service -l PID 12684 read from file /var/run/zookeeper/zookeeper-server.pid does not exist or is a zombie. Failed to start LSB: ZooKeeper is a centralized service for maintaining configuratio

在检查zookeeper状态时,我遇到此错误:

systemctl status zookeeper-server.service -l

PID 12684 read from file /var/run/zookeeper/zookeeper-server.pid does not exist or is a zombie.
Failed to start LSB: ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services..
我检查了该目录的内部,但没有看到任何pid文件,我想当您安装zookeeper或进行初始化时,应该会自动将pid文件写入其中?但由于某种原因,这种情况并没有发生


你知道我的问题是什么吗?我正在考虑权限问题,但我没有发现任何与无法在该目录中写入相关的错误

现在,我在安装后看到该目录中的pid文件,但仍然失败,并出现相同的错误。(我尝试将该文件的权限更改为777,但仍然无效)