You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Pedregosa (JIRA)" <ji...@apache.org> on 2016/07/19 20:13:20 UTC

[jira] [Created] (CASSANDRA-12241) Error connecting to cqlsh

Eric Pedregosa created CASSANDRA-12241:
------------------------------------------

             Summary: Error connecting to cqlsh
                 Key: CASSANDRA-12241
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12241
             Project: Cassandra
          Issue Type: Bug
          Components: CQL
         Environment: Oracle Linux Server release 6.5

            Reporter: Eric Pedregosa
         Attachments: cassandra.log, cassandra.yaml.txt

"unable to connect to servers" when running cqlsh.  Attached is the yaml config and log file.

server 100.114.116.100

[root@ushaplp00312la bin]# nodetool status
Datacenter: USH
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address          Load       Tokens       Owns (effective)  Host ID                               Rack
UN  100.114.116.102  125.17 KB  256          32.1%             b3366714-ecb3-46af-a3a1-f3b12648e358  RAC1
UN  100.114.116.100  345.64 KB  256          33.4%             83dfbd38-9233-41db-812d-7cd1aa34401b  RAC1
UN  100.114.116.101  152.55 KB  256          34.5%             b8011e64-266f-4f18-a381-5f6dd5816af0  RAC1

[root@ushaplp00312la bin]# cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

[root@ushaplp00312la ~]# cqlsh 100.114.116.100 9160
Connection error: ('Unable to connect to any servers', {'100.114.116.100': ConnectionShutdown('Connection <AsyncoreConnection(23964752) 100.114.116.100:9160 (closed)> is already closed',)})

[root@ushaplp00312la ~]# lsof -i :9160
COMMAND   PID         USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
java    42158 openplatform   66u  IPv4 1889424      0t0  TCP ushaplp00312la.tfayd.com:apani1 (LISTEN)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)