You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Francisco Dalla Rosa Soares <da...@gmail.com> on 2014/01/10 06:20:59 UTC

Can't start service with error: java.lang.IllegalStateException: Unable to contact any seeds

Hello everyone,

I've tried to google all I could and also asking at ServerFault first but
as I got no answer I decided to come to the list.

I have 6 machines that I want to use to make a cluster using Cassandra 2.0

Cassandra start in the machines, however it dies after a while with the
error

java.lang.IllegalStateException: Unable to contact any seeds!

I've set the hostname in cassandra-env.sh and set the ip address of the
machine in cassandra.yaml (rpc_address, listen_address) but still nothing.

Weird enough, I have one machine that seems stays alive, however I can't
connect (not even with telnet) to the service or to port 7000.

There's no firewall up.

For the logs and environment details please check:

http://serverfault.com/questions/566044/cassandra-cant-start-service-with-error-java-lang-illegalstateexception-unab

Re: Can't start service with error: java.lang.IllegalStateException: Unable to contact any seeds

Posted by Francisco Dalla Rosa Soares <da...@gmail.com>.
Hey,

I reinstalled Cassandra and got it working properly. It seems to be related
to this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1019841


On Fri, Jan 10, 2014 at 10:18 PM, Jason Wee <pe...@gmail.com> wrote:

> Hi, did you configured ip address in the setting "seeds:" in
> cassandra.yaml?
>
> Jason
>
>
> On Fri, Jan 10, 2014 at 1:20 PM, Francisco Dalla Rosa Soares <
> dallarosa@gmail.com> wrote:
>
>> Hello everyone,
>>
>> I've tried to google all I could and also asking at ServerFault first but
>> as I got no answer I decided to come to the list.
>>
>> I have 6 machines that I want to use to make a cluster using Cassandra 2.0
>>
>> Cassandra start in the machines, however it dies after a while with the
>> error
>>
>> java.lang.IllegalStateException: Unable to contact any seeds!
>>
>> I've set the hostname in cassandra-env.sh and set the ip address of the
>> machine in cassandra.yaml (rpc_address, listen_address) but still nothing.
>>
>> Weird enough, I have one machine that seems stays alive, however I can't
>> connect (not even with telnet) to the service or to port 7000.
>>
>> There's no firewall up.
>>
>> For the logs and environment details please check:
>>
>>
>> http://serverfault.com/questions/566044/cassandra-cant-start-service-with-error-java-lang-illegalstateexception-unab
>>
>
>

Re: Can't start service with error: java.lang.IllegalStateException: Unable to contact any seeds

Posted by Jason Wee <pe...@gmail.com>.
Hi, did you configured ip address in the setting "seeds:" in
cassandra.yaml?

Jason


On Fri, Jan 10, 2014 at 1:20 PM, Francisco Dalla Rosa Soares <
dallarosa@gmail.com> wrote:

> Hello everyone,
>
> I've tried to google all I could and also asking at ServerFault first but
> as I got no answer I decided to come to the list.
>
> I have 6 machines that I want to use to make a cluster using Cassandra 2.0
>
> Cassandra start in the machines, however it dies after a while with the
> error
>
> java.lang.IllegalStateException: Unable to contact any seeds!
>
> I've set the hostname in cassandra-env.sh and set the ip address of the
> machine in cassandra.yaml (rpc_address, listen_address) but still nothing.
>
> Weird enough, I have one machine that seems stays alive, however I can't
> connect (not even with telnet) to the service or to port 7000.
>
> There's no firewall up.
>
> For the logs and environment details please check:
>
>
> http://serverfault.com/questions/566044/cassandra-cant-start-service-with-error-java-lang-illegalstateexception-unab
>