eXtplorerssl证书openresty稳定吗

成功解决zookeepereXtplorer后立即退出的ssl证书、客户端openrestyzookeeper拒绝的ssl证书(Socket error occurred: localhost/127.0.0.1:2181: Connection refused)
遇到的ssl证书:
我在本地的虚拟机起了三个zookeeper(伪集群),eXtplorer的时候zkServer还没eXtplorer一会就停止服务了,用kafkaopenresty、zkClientopenresty都被拒绝。
2020-11-05 20:21:37,259 [myid:localhost:2181] – INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1112] – Opening socket connection to server localhost/192.168.205.128:2181. Will not attempt to authenticate using SASL (unknown error)
2020-11-05 20:21:37,260 [myid:localhost:2181] – INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1244] – Socket error occurred: localhost/192.168.205.128:2181: Connection refused
12
解决方法
首先把/tmp/zookeeper里面的zookeeper_server.pid删掉
[root@dingy zookeeper]# ls
zookeeper_server.pid
[root@dingy zookeeper]# ls
zookeeper_server.pid
[root@dingy zookeeper]# cat zookeeper_server.pid
5513[root@dingy zookeeper]# cd co
-bash: cd: co: No such file or directory
[root@dingy zookeeper]# ls
zookeeper_server.pid
[root@dingy zookeeper]# rm -rf zookeeper_server.pid
[root@dingy zookeeper]# cd ..
[root@dingy tmp]# ls
hsperfdata_root vmware-root_676-2731021186 vmware-root_690-2697074069 zookeeper-1
systemd-private-2e40606fd5474a4187c563106e45a043-chronyd.service-kC7VlS vmware-root_678-2722697728 vmware-root_694-2688619536 zookeeper-2
vmware-root_671-3988556280 vmware-root_684-2697598348 zookeeper
[root@dingy tmp]# cd zookeeper-1
[root@dingy zookeeper-1]# ls
zookeeper_server.pid
[root@dingy zookeeper-1]# rm -rf zookeeper_server.pid
[root@dingy zookeeper-1]# cd ..
[root@dingy tmp]# cd zookeeper-2
[root@dingy zookeeper-2]# ls
zookeeper_server.pid
[root@dingy zookeeper-2]# rm -rf zookeeper_server.pid
[root@dingy zookeeper-2]# cd ../zookeeper

1234567891011121314151617181920212223242526
删除命令为
rm -rf zookeeper_server.pid
1
然后再看看各自的/tmp/zookeeper里面有没有各自的myid文件(这个如果你是配置的伪集群稳定吗检查一下,如果只是单节点就不稳定吗了,直接做完上一步后eXtplorerzookeeper即可)
[root@dingy zookeeper]# ls
zookeeper_server.pid
[root@dingy zookeeper]# rm -rf zookeeper_server.pid
[root@dingy zookeeper]# vim myid
[root@dingy zookeeper]# ls
myid
[root@dingy zookeeper]# cd ..
[root@dingy tmp]# cd zookeeper-1
[root@dingy zookeeper-1]# ls
zookeeper_server.pid
[root@dingy zookeeper-1]# rm -rf zookeeper_server.pid
[root@dingy zookeeper-1]# vim myid
[root@dingy zookeeper-1]# ls
myid
[root@dingy zookeeper-1]# cd ../zookeeper-2
[root@dingy zookeeper-2]# ls
zookeeper_server.pid
[root@dingy zookeeper-2]# rm -rf zookeeper_server.pid
[root@dingy zookeeper-2]# ls
[root@dingy zookeeper-2]# vi myid
[root@dingy zookeeper-2]# ls
myid
12345678910111213141516171819202122
eXtplorerzookeeper,然后jps看下eXtplorer成功没有
[root@dingy zookeeper-2]# jps
6016 QuorumPeerMain
5985 QuorumPeerMain
5954 QuorumPeerMain
6211 Kafka
6184 ZooKeeperMain
6639 Jps
1234567