zookeeper启动提示:/data/zookeeper/zookeeper_server.pid: Permission denied

在配置安装好zookeeper之后执行zkServer.sh start发现提示:/data/zookeeper/zookeeper_server.pid: Permission denied FAILED TO WRITE PID

原因是刚才/data/zookeeper是root权限,而不是doop权限的,修改/data权限即可解决

[root@master ~]# chown -R doop:hadoop /usr/doop/zookeeper-3.4.6/data,再执行zkServer.sh start就正确了

 

 

你可能感兴趣的:(zookeeper,Permission,denied)