Hi,

I am new to ZK.   I have installed source package 3.5.5.  I did basic config in 
zoo.cfg and

1). When I run ZK with below command:

./zkServer.sh --config ../conf/ start

It  gives me error FAILED to WRITE PID.  Nowhere in the documentation it is 
mentioned that I have to set the $ZOOPIDFILE.  Then why is that giving me error?



[cid:[email protected]]



2) When I run ZK without config switch.

./zkServer.sh start

Then it creates pid file, however gives error

Error: Could not find or load main class 
org.apache.zookeeper.server.quorum.QuorumPeerMain

Caused by: java.lang.ClassNotFoundException: 
org.apache.zookeeper.server.quorum.QuorumPeerMain





Please help me to understand what am I missing?

Is that OK to download source package or Binary package? I want to run ZK on 
Linux machines.



Regards,

Sunil.







CONFIDENTIAL NOTE:
The information contained in this email is intended only for the use of the 
individual or entity named above and may contain information that is 
privileged, confidential and exempt from disclosure under applicable law. If 
the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this message in error, please 
immediately notify the sender and delete the mail. Thank you.

Reply via email to