unable to start zookeeper on CentOS 7
up vote
0
down vote
favorite
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.
java centos apache-zookeeper solrcloud
add a comment |
up vote
0
down vote
favorite
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.
java centos apache-zookeeper solrcloud
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 bezookeeper-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
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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.
java centos apache-zookeeper solrcloud
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.
java centos apache-zookeeper solrcloud
java centos apache-zookeeper solrcloud
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 bezookeeper-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
add a comment |
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 bezookeeper-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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 bezookeeper-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