zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: [Dev]Zookeeper Server Start up error
Date Wed, 04 May 2016 08:18:45 GMT
Hello there,

Have you tried creating the myid file manually? Does it work?

-Flavio

> On 04 May 2016, at 03:50, Pranavan Theivendiram <pranavan.11@cse.mrt.ac.lk> wrote:
> 
> Hi All,
> 
> I am getting the following error in server start up.
> 
> *ZooKeeper JMX enabled by default*
> *Using config: /home/pranavan/2K16/zookeeper-3.4.8/bin/../conf/zoo.cfg*
> *mkdir: cannot create directory ‘/home/zookeeper’: Permission denied*
> *Starting zookeeper ... ./zkServer.sh: line 149:
> /home/zookeeper/zookeeper_server.pid: No such file or directory*
> *FAILED TO WRITE PID*
> 
> I started with root privileges. I did not have any problems. The server is
> starting up properly.
> 
> The proposed solution in stackoverflow is as follows.
> 
> Link -
> http://stackoverflow.com/questions/19295978/failed-to-write-pid-installing-zookeeper
> 
> Even that solution is not working for me.
> 
> Can you please provide a method to start the server without user privileges?
> 
> Thanks
> 
> 
> 
> *T. Pranavan*
> *Junior Consultant | Department of Computer Science & Engineering
> ,University of Moratuwa*
> *Mobile| *0775136836


Mime
View raw message