lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: ZooKeeper connection refused
Date Wed, 17 Jun 2015 13:34:35 GMT
You are asking telnet to connect to zk1 on port 2181 but you have not
specified the port to Solr. You should set
ZK_HOST="zk1:2181,zk2:2181,zk3:2181" instead.

On Wed, Jun 17, 2015 at 3:53 PM, shacky <shacky83@gmail.com> wrote:
> Hi.
> I have a SolrCloud cluster with 3 nodes Solr + Zookeeper.
>
> My solr.in.sh file is configured as following:
> ZK_HOST="zk1,zk2,zk3"
>
> All worked good but now I cannot start SOLR nodes and the command exit
> with the following errors:
>
> root@index1:~# service solr restart
> Sending stop command to Solr running on port 8983 ... waiting 5
> seconds to allow Jetty process 32087 to stop gracefully.
> Waiting to see Solr listening on port 8983 [\]  Still not seeing Solr
> listening on 8983 after 30 seconds!
> WARN  - 2015-06-17 10:18:37.158; [   ]
> org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server
> null, unexpected error, closing socket connection and attempting
> reconnect
> java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> WARN  - 2015-06-17 10:18:37.823; [   ]
> org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server
> null, unexpected error, closing socket connection and attempting
> reconnect
> java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> WARN  - 2015-06-17 10:18:38.990; [   ]
> org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server
> null, unexpected error, closing socket connection and attempting
> reconnect
> java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> WARN  - 2015-06-17 10:18:40.543; [   ]
> org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server
> null, unexpected error, closing socket connection and attempting
> reconnect
> java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> WARN  - 2015-06-17 10:18:42.174; [   ]
> org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server
> null, unexpected error, closing socket connection and attempting
> reconnect
> java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
>
> I can telnet to the ZooKeeper port:
>
> root@index1:~# telnet zk1 2181
> Trying 192.168.70.31...
> Connected to index1.dc.my.network.
> Escape character is '^]'.
>
> Could you help me please?
>
> Thank you very much!
> Bye



-- 
Regards,
Shalin Shekhar Mangar.

Mime
View raw message