vritulbox中linux安装zookeeper报错:
Posted zs-xin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vritulbox中linux安装zookeeper报错:相关的知识,希望对你有一定的参考价值。
[root@note1 apache-zookeeper]# bin/zkCli.sh /usr/bin/java
Connecting to localhost:2181 2020-03-11 00:35:15,540 [myid:] - INFO [main:Environment@109] - Client environment:zookeeper.version=3.5.7-f0fdd52973d373ffd9c86b81d99842dc2c7f660e, built on 02/10/2020 11:30 GMT 2020-03-11 00:35:15,546 [myid:] - INFO [main:Environment@109] - Client environment:host.name=note1 2020-03-11 00:35:15,547 [myid:] - INFO [main:Environment@109] - Client environment:java.version=1.8.0_241 2020-03-11 00:35:15,550 [myid:] - INFO [main:Environment@109] - Client environment:java.vendor=Oracle Corporation 2020-03-11 00:35:15,550 [myid:] - INFO [main:Environment@109] - Client environment:java.home=/usr/java/jdk1.8.0_241-amd64/jre 2020-03-11 00:35:15,551 [myid:] - INFO [main:Environment@109] - Client environment:java.class.path=/data/zookeeper/apache-zookeeper/bin/../zookeeper-server/target/classes:/data/zookeeper/apache-zookeeper/bin/../build/classes:/data/zookeeper/apache-zookeeper/bin/../zookeeper-server/target/lib/*.jar:/data/zookeeper/apache-zookeeper/bin/../build/lib/*.jar:/data/zookeeper/apache-zookeeper/bin/../lib/zookeeper-jute-3.5.7.jar:/data/zookeeper/apache-zookeeper/bin/../lib/zookeeper-3.5.7.jar:/data/zookeeper/apache-zookeeper/bin/../lib/slf4j-log4j12-1.7.25.jar:/data/zookeeper/apache-zookeeper/bin/../lib/slf4j-api-1.7.25.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-transport-native-unix-common-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-transport-native-epoll-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-transport-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-resolver-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-handler-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-common-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-codec-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/netty-buffer-4.1.45.Final.jar:/data/zookeeper/apache-zookeeper/bin/../lib/log4j-1.2.17.jar:/data/zookeeper/apache-zookeeper/bin/../lib/json-simple-1.1.1.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jline-2.11.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-util-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-servlet-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-server-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-security-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-io-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jetty-http-9.4.24.v20191120.jar:/data/zookeeper/apache-zookeeper/bin/../lib/javax.servlet-api-3.1.0.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jackson-databind-2.9.10.2.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jackson-core-2.9.10.jar:/data/zookeeper/apache-zookeeper/bin/../lib/jackson-annotations-2.9.10.jar:/data/zookeeper/apache-zookeeper/bin/../lib/commons-cli-1.2.jar:/data/zookeeper/apache-zookeeper/bin/../lib/audience-annotations-0.5.0.jar:/data/zookeeper/apache-zookeeper/bin/../zookeeper-*.jar:/data/zookeeper/apache-zookeeper/bin/../zookeeper-server/src/main/resources/lib/*.jar:/data/zookeeper/apache-zookeeper/bin/../conf: 2020-03-11 00:35:15,551 [myid:] - INFO [main:Environment@109] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2020-03-11 00:35:15,551 [myid:] - INFO [main:Environment@109] - Client environment:java.io.tmpdir=/tmp 2020-03-11 00:35:15,551 [myid:] - INFO [main:Environment@109] - Client environment:java.compiler= 2020-03-11 00:35:15,551 [myid:] - INFO [main:Environment@109] - Client environment:os.name=Linux 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:os.arch=amd64 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:os.version=3.10.0-1062.el7.x86_64 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:user.name=root 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:user.home=/root 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:user.dir=/data/zookeeper/apache-zookeeper 2020-03-11 00:35:15,552 [myid:] - INFO [main:Environment@109] - Client environment:os.memory.free=11MB 2020-03-11 00:35:15,555 [myid:] - INFO [main:Environment@109] - Client environment:os.memory.max=247MB 2020-03-11 00:35:15,556 [myid:] - INFO [main:Environment@109] - Client environment:os.memory.total=13MB 2020-03-11 00:35:15,564 [myid:] - INFO [main:ZooKeeper@868] - Initiating client connection, connectString=localhost:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@4cdf35a9 2020-03-11 00:35:15,576 [myid:] - INFO [main:X509Util@79] - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation 2020-03-11 00:35:15,589 [myid:] - INFO [main:ClientCnxnSocket@237] - jute.maxbuffer value is 4194304 Bytes 2020-03-11 00:35:15,604 [myid:] - INFO [main:ClientCnxn@1653] - zookeeper.request.timeout value is 0. feature enabled= Welcome to ZooKeeper! JLine support is enabled 2020-03-11 00:35:15,712 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:15,787 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接 [zk: localhost:2181(CONNECTING) 0] 2020-03-11 00:35:16,894 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:16,896 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/127.0.0.1:2181: 拒绝连接 2020-03-11 00:35:17,997 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:17,998 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接 2020-03-11 00:35:19,100 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:19,100 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/127.0.0.1:2181: 拒绝连接 2020-03-11 00:35:20,202 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:20,203 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接 2020-03-11 00:35:21,304 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:21,305 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接 2020-03-11 00:35:22,407 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:22,408 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/127.0.0.1:2181: 拒绝连接 2020-03-11 00:35:23,509 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:23,510 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接 2020-03-11 00:35:24,611 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error) 2020-03-11 00:35:24,612 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] - Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: 拒绝连接
以上是关于vritulbox中linux安装zookeeper报错:的主要内容,如果未能解决你的问题,请参考以下文章