cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;
Date Wed, 13 Apr 2011 01:59:15 GMT
Can you connect from the local machine using 127.0.0.1 ?
Are you running any sort of fire wall?
Check you can connect from the node to the JMX port (8080 by default) using telnet 

Aaron

On 13 Apr 2011, at 04:25, Ali Ahsan wrote:

> Any one can guide me on this issue ?
> 
> 
> On 04/12/2011 04:07 PM, Ali Ahsan wrote:
>> Hi All
>> 
>> I have migrated my server to centos 5.5.Every thing is up but facing a little issue
i have two cassandra nodes.
>> 
>> 10.0.0.4  cassandra2
>> 10.0.0.3 cassandra1
>> 
>> I am using open jdk with cassandra,We are faing following error when using nodetool.Only
on one server that is cassandra2.Hosts file is also pasted below.I please let me know how
can i fix this issue.
>> 
>> ---------------------------------------------------------------------------------------------------------------------

>> sh  nodetool -h 10.0.0.3  ring
>> Error connecting to remote JMX agent!
>> java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception
is:
>> -----------------------------------------------------------------------------------------------------------------------

>> 
>> 
>> sh  nodetool -h 10.0.0.4  ring
>> Address       Status     Load          Range                                    
 Ring
>>                                       129069858893052904163677015069685590304
>> 10.0.0.3      Up         10.02 GB      104465788091875410298027059042850717029  
 |<--|
>> 10.0.0.4      Up         9.98 GB       129069858893052904163677015069685590304  
 |-->|
>> 
>> 
>> 
>> Hosts file
>> 
>> # Do not remove the following line, or various programs
>> # that require network functionality will fail.
>> 127.0.0.1        localhost.localdomain localhost
>> 10.0.0.4                cassandra2.pringit.com
>> 
>> 
>> #::1        localhost6.localdomain6 localhost6
>> 
>> 
>> 
> 
> 
> -- 
> S.Ali Ahsan
> 
> Senior System Engineer
> 
> e-Business (Pvt) Ltd
> 
> 49-C Jail Road, Lahore, P.O. Box 676
> Lahore 54000, Pakistan
> 
> Tel: +92 (0)42 3758 7140 Ext. 128
> 
> Mobile: +92 (0)345 831 8769
> 
> Fax: +92 (0)42 3758 0027
> 
> Email: ali.ahsan@panasiangroup.com
> 
> 
> 
> www.ebusiness-pg.com
> 
> www.panasiangroup.com
> 
> Confidentiality: This e-mail and any attachments may be confidential
> and/or privileged. If you are not a named recipient, please notify the
> sender immediately and do not disclose the contents to another person
> use it for any purpose or store or copy the information in any medium.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. We do not accept liability for any errors or omissions.
> 


Mime
View raw message