You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Dorian ROSSE <do...@hotmail.fr> on 2021/12/26 12:26:50 UTC

unable to connect to apache ccassandra

Hello,


I fall on error following :

root@ubuntu-ThinkPad-X250:/etc/apt/sources.list.d# 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")})

how to run fully apache cassandra ?

Thank you in advance,

Regards.


Dorian ROSSE.

Re: unable to connect to apache ccassandra

Posted by Michael Shuler <mi...@pbandjelly.org>.
Reply-to set to user@ mailing list address, which would the best place 
to seek this type of help; dev@ bcc'ed.

Is cassandra running, did you start it? Is the process listening on 
localhost (127.0.0.1) port 9042?

`ss -ltn | grep 9042` would be a good way to check if the process is 
listening. If you did indeed start the cassandra service and it is not 
listening, then something threw an error and the logs under 
/var/log/cassandra or under ~/logs/ in the cassandra tree (depending on 
how you installed cassandra) should give hints on the error.

There needs to be a lot more detail to really help you well - how did 
you install cassandra? how did you start the service? was it previously 
running and you could connect? etc.

If you have not gone through the Installing and Configuring sections of 
the Getting Started guide, start there!

https://cassandra.apache.org/doc/latest/cassandra/getting_started/index.html

(It is very quiet over the holidays, so thanks for your patience for 
replies :) )

Kind regards,
Michael


On 12/26/21 6:26 AM, Dorian ROSSE wrote:
> |Hello,
> 
> 
> I fall on error following :
> 
> root@ubuntu-ThinkPad-X250:/etc/apt/sources.list.d# 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")})
> |
> 
> how to run fully apache cassandra ?
> 
> Thank you in advance,
> 
> Regards.
> 
> 
> Dorian ROSSE.