unable to start zookeeper on CentOS 7










0














When I try to start the Zookeeper server, I got the error




bash: zkServer.sh: command not found...




I had followed the installation instruction given in the Solr 7.5 documentation



And in the zoo.cfg file I had added the below information.



tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181

initLimit=5
syncLimit=2
server.1=192.168.8.10:2888:3888
server.2=192.168.8.11:2888:3888
server.3=192.168.8.12:2888:3888

autopurge.snapRetainCount=3
autopurge.purgeInterval=1


I have CentOS 7 and I have installed Java version 1.8.0_191 and I have set the Environment Variable by editing .bash_profile file with the following.



export JAVA_HOME=/opt/jdk1.8.0_191
export PATH=/opt/jdk1.8.0_191/bin:$PATH


I had tried with zkServer.sh start command and zkServer.sh start-foreground
Both commands are not working. Can any one give suggestion to solve this issue.



Zookeeper Start Error










share|improve this question

















  • 1




    The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
    – KevinO
    Nov 12 at 4:29










  • @KevinO Thank you so much Kevin. It's working...
    – Karthick
    Nov 12 at 11:46















0














When I try to start the Zookeeper server, I got the error




bash: zkServer.sh: command not found...




I had followed the installation instruction given in the Solr 7.5 documentation



And in the zoo.cfg file I had added the below information.



tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181

initLimit=5
syncLimit=2
server.1=192.168.8.10:2888:3888
server.2=192.168.8.11:2888:3888
server.3=192.168.8.12:2888:3888

autopurge.snapRetainCount=3
autopurge.purgeInterval=1


I have CentOS 7 and I have installed Java version 1.8.0_191 and I have set the Environment Variable by editing .bash_profile file with the following.



export JAVA_HOME=/opt/jdk1.8.0_191
export PATH=/opt/jdk1.8.0_191/bin:$PATH


I had tried with zkServer.sh start command and zkServer.sh start-foreground
Both commands are not working. Can any one give suggestion to solve this issue.



Zookeeper Start Error










share|improve this question

















  • 1




    The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
    – KevinO
    Nov 12 at 4:29










  • @KevinO Thank you so much Kevin. It's working...
    – Karthick
    Nov 12 at 11:46













0












0








0


1





When I try to start the Zookeeper server, I got the error




bash: zkServer.sh: command not found...




I had followed the installation instruction given in the Solr 7.5 documentation



And in the zoo.cfg file I had added the below information.



tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181

initLimit=5
syncLimit=2
server.1=192.168.8.10:2888:3888
server.2=192.168.8.11:2888:3888
server.3=192.168.8.12:2888:3888

autopurge.snapRetainCount=3
autopurge.purgeInterval=1


I have CentOS 7 and I have installed Java version 1.8.0_191 and I have set the Environment Variable by editing .bash_profile file with the following.



export JAVA_HOME=/opt/jdk1.8.0_191
export PATH=/opt/jdk1.8.0_191/bin:$PATH


I had tried with zkServer.sh start command and zkServer.sh start-foreground
Both commands are not working. Can any one give suggestion to solve this issue.



Zookeeper Start Error










share|improve this question













When I try to start the Zookeeper server, I got the error




bash: zkServer.sh: command not found...




I had followed the installation instruction given in the Solr 7.5 documentation



And in the zoo.cfg file I had added the below information.



tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181

initLimit=5
syncLimit=2
server.1=192.168.8.10:2888:3888
server.2=192.168.8.11:2888:3888
server.3=192.168.8.12:2888:3888

autopurge.snapRetainCount=3
autopurge.purgeInterval=1


I have CentOS 7 and I have installed Java version 1.8.0_191 and I have set the Environment Variable by editing .bash_profile file with the following.



export JAVA_HOME=/opt/jdk1.8.0_191
export PATH=/opt/jdk1.8.0_191/bin:$PATH


I had tried with zkServer.sh start command and zkServer.sh start-foreground
Both commands are not working. Can any one give suggestion to solve this issue.



Zookeeper Start Error







java centos apache-zookeeper solrcloud






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 at 4:09









Karthick

113




113







  • 1




    The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
    – KevinO
    Nov 12 at 4:29










  • @KevinO Thank you so much Kevin. It's working...
    – Karthick
    Nov 12 at 11:46












  • 1




    The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
    – KevinO
    Nov 12 at 4:29










  • @KevinO Thank you so much Kevin. It's working...
    – Karthick
    Nov 12 at 11:46







1




1




The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
– KevinO
Nov 12 at 4:29




The error message is that the command is not found. You might try ./zkServer.sh start, which would invoke the command in the current directory, which appears to be zookeeper-3.4.13/bin.
– KevinO
Nov 12 at 4:29












@KevinO Thank you so much Kevin. It's working...
– Karthick
Nov 12 at 11:46




@KevinO Thank you so much Kevin. It's working...
– Karthick
Nov 12 at 11:46

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255849%2funable-to-start-zookeeper-on-centos-7%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255849%2funable-to-start-zookeeper-on-centos-7%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto