cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pedregosa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12241) Error connecting to cqlsh
Date Tue, 19 Jul 2016 20:35:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Pedregosa updated CASSANDRA-12241:
---------------------------------------
    Description: 
During Cassandra install we are experiencing this issue - "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)

  was:
"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)


> 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
>
>
> During Cassandra install we are experiencing this issue - "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)

Mime
View raw message