Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 24807 invoked from network); 1 Dec 2010 21:12:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 21:12:15 -0000 Received: (qmail 28863 invoked by uid 500); 1 Dec 2010 21:12:13 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28835 invoked by uid 500); 1 Dec 2010 21:12:13 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 28827 invoked by uid 99); 1 Dec 2010 21:12:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 21:12:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joshua.java@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 21:12:07 +0000 Received: by fxm9 with SMTP id 9so6176149fxm.31 for ; Wed, 01 Dec 2010 13:11:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=ARiDGH6XtU83s73TQ/yiH+F5CCV9vYnNeRftzplyu/w=; b=iUFHGtEtSJp9mcMWpSKHjzvD3htoS2hmFt7yVDxZIFWF5seYGLfXs4u388302gntUZ k1maLEjNAXYLTmfGNSJLxcLtbAgUyVcXWWskRF1zDTcrhZjtvThURbByu+r0JA0pLs1G 24nTCiIUAI9TpWWrVvFno5vHNa0FZTdZ0N17E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=SOIwbLzDQPd7BccTACKmkt2PqUtAo26J2yU7TbDHLOeGVeSPOw/QuS4T61gAF/if+x k9Lkm8lGu0YH4grsJauudWAX9c02HaOfo2qMV+TKkabrS4yOTGS5PnYAUc36VzgkgFZH jVsohyJWeTsWimWNLxWB1cwdCDw5hlDCWAJgQ= MIME-Version: 1.0 Received: by 10.223.86.130 with SMTP id s2mr2654781fal.66.1291237907423; Wed, 01 Dec 2010 13:11:47 -0800 (PST) Sender: joshua.java@gmail.com Received: by 10.223.117.199 with HTTP; Wed, 1 Dec 2010 13:11:47 -0800 (PST) In-Reply-To: References: Date: Thu, 2 Dec 2010 08:11:47 +1100 X-Google-Sender-Auth: a9GLVpy7x-AVmL4V8h7UDjSSrlY Message-ID: Subject: Re: Can not connect to cassandra 0.7 using CLI From: Joshua Partogi To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3054a457cae2e504965fc029 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a457cae2e504965fc029 Content-Type: text/plain; charset=ISO-8859-1 It is set to localhost I didn't change it and it is the same as configured in 0.6.8. Why doesn't it work out of the box? Thanks heaps. On Thu, Dec 2, 2010 at 7:49 AM, Aaron Morton wrote: > Take a look at your cassandra.yaml file at the rpc_address this is the > address it's listening to connections on. The comments there should help, if > you set it to 0.0.0.0 it will bind to all interfaces. Probably not what you > want in production but handy for dev. > > Hope that helps. > Aaron > > On 02 Dec, 2010,at 09:40 AM, Joshua Partogi wrote: > > Hi Brayton. > > Thanks for the reply. It was running find on 0.6.8 on the same box. > > Kind regards, > Joshua > > On Thu, Dec 2, 2010 at 1:05 AM, Brayton Thompson wrote: > >> All of the times I have had similar issues the problem has always been >> misconfigured iptables. You said it was running fine on 0.6.8 though? >> On the same box or a different box? >> >> >> On Dec 1, 2010, at 6:29 AM, Joshua Partogi wrote: >> >> Hi there, >> >> I just downloaded cassandra 0.7rc1. I started it using bin/cassandra >> without making any configuration changes. >> >> I then tried to connect using the CLI with command like this: >> >> foo@ubuntu:~/Applications/apache-cassandra-0.7.0-rc1$ bin/cassandra-cli >> Welcome to cassandra CLI. >> >> Type 'help' or '?' for help. Type 'quit' or 'exit' to quit. >> [default@unknown] connect localhost/9160; >> Exception connecting to localhost/9160. Reason: Connection refused. >> >> Why am I getting connection refused? I didn't experience this with >> cassandra 0.6.8. >> >> Thank you in advance for your help. >> >> Kind regards, >> Joshua. >> >> -- >> http://twitter.com/jpartogi >> >> >> > > > -- > http://twitter.com/jpartogi > > -- http://twitter.com/jpartogi --20cf3054a457cae2e504965fc029 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It is set to localhost I didn't change it and it is the same as configu= red in 0.6.8. Why doesn't it work out of the box?

Thanks heaps.<= br>
On Thu, Dec 2, 2010 at 7:49 AM, Aaron Mor= ton <aaron@= thelastpickle.com> wrote:
Take a = look at your cassandra.yaml file at the rpc_address this is the address it&= #39;s listening to connections on. The comments there should help, if you s= et it to 0.0.0.0 it will bind to all interfaces. =A0Probably not what you w= ant in production but handy for dev.

Hope that helps.=A0
Aaron

On 02 Dec, 2010,at 09:40 AM, Joshua Partogi <jpartogi@scrum8.com> wrote:

Hi Brayton.

Thanks for= the reply. It was running find on 0.6.8 on the same box.

Kind regar= ds,
Joshua

On Thu, Dec 2, 2010 at 1:05= AM, Brayton Thompson <thompsbp@grnoc.iu.edu> wrote:
All of the times I have had similar issues the problem= has always been misconfigured iptables. You said it was running fine on 0.= 6.8 though?
On the same box or a different box?


=
On Dec 1, 2010, at 6:29 AM, Joshua Partogi wrote:

Hi there,

I just downloaded cassandra 0.7rc1. I = started it using bin/cassandra without making any configuration changes.
I then tried to connect using the CLI with command like this:

fo= o@ubuntu:~/Applications/apache-cassandra-0.7.0-rc1$ bin/cassandra-cli
Welcome to cassandra CLI.

Type 'help' or '?' for hel= p. Type 'quit' or 'exit' to quit.
[default@unknown] conn= ect localhost/9160;
Exception connecting to localhost/9160. Reason: Conn= ection refused.

Why am I getting connection refused? I didn't experience this with = cassandra 0.6.8.

Thank you in advance for your help.

Kind reg= ards,
Joshua.

--
http://twitter.com/jpartogi




--
http://twitter.com/jpartogi



--
http://twitter.com/jpartogi
--20cf3054a457cae2e504965fc029--