Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F07610233 for ; Thu, 8 Aug 2013 20:05:01 +0000 (UTC) Received: (qmail 71065 invoked by uid 500); 8 Aug 2013 20:04:59 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71040 invoked by uid 500); 8 Aug 2013 20:04:59 -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 71032 invoked by uid 99); 8 Aug 2013 20:04:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 20:04:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 20:04:53 +0000 Received: by mail-ve0-f174.google.com with SMTP id d10so3401859vea.5 for ; Thu, 08 Aug 2013 13:04:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=p7ykMdbVb/kdfLmoD1pLgwoH525wewQvrUF8GAVgwmw=; b=Idp19MHJONRibpI/YREq4HZJWXXpeJS/yM5Hv8huCnalNn2Dw1iK1RPrCoSi3EmhSU +q3znp9J2uhhLfLUnVkVEOX9HgpzBY3fMGi9oI2U2tAk1WhxikJt0gIm8fL7IthNLhkY QZwnf3DnTnpY4qHun3PsDwSW2WUFIXVil8EEXOPK1XEmXOEBgMlEIhwlzr+NMKc7nySx ssmh3N/YRd1A+q64apOf7sxWZRTO+ox4wwHN78DSCRH6RO7L/brC4u2F35i4P7MMm1LH geMfnMZx6zO3cXm45vLiPOp9j6fR8gvgyEnaahD+5oEe0mfgdGWgEXXfyr3ludvaCUzm 9wSQ== X-Gm-Message-State: ALoCoQkDGWRCTgCUbWb/4be6STwCs5h45nWgMGvsK/Wj82qFewzJF2JZ2ZhiN/kyaChCBVG2uSGV MIME-Version: 1.0 X-Received: by 10.58.128.71 with SMTP id nm7mr4148985veb.51.1375992252952; Thu, 08 Aug 2013 13:04:12 -0700 (PDT) Received: by 10.52.37.232 with HTTP; Thu, 8 Aug 2013 13:04:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Aug 2013 14:04:12 -0600 Message-ID: Subject: Re: JmxReporter.java (line 388) Error processing From: David Ward To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b60518c73800804e37529fe X-Virus-Checked: Checked by ClamAV on apache.org --047d7b60518c73800804e37529fe Content-Type: text/plain; charset=ISO-8859-1 What does ifconfig say? use eth0 or eth1's IP or whatever is static. And on that note, setup a static IP ( versus dhcp based ) it will make stopping/starting easier. On Thu, Aug 8, 2013 at 2:01 PM, kohanm wrote: > Thanks Rob. > Now I am getting listen_address in cassandra.yaml errors > I mentioned before the Cassandra runs on VM VitualBox on windows 7 > machine. > On the ERROR text I changed the real ip address to "MymachineIP". > What should I put on the* listen_address:* in *cassandra.yaml* file? > Thanks. > > short output: > > INFO 12:55:45,372 Cassandra version: 1.2.8 > INFO 12:55:45,382 Thrift API version: 19.36.0 > INFO 12:55:45,382 CQL supported versions: 2.0.0,3.0.5 (default: 3.0.5) > INFO 12:55:45,677 Loading persisted ring state > INFO 12:55:45,696 Starting up server gossip > INFO 12:55:45,861 Enqueuing flush of Memtable-local@28263177(251/251 > serialized/live bytes, 9 ops) > INFO 12:55:45,866 Writing Memtable-local@28263177(251/251 > serialized/live bytes, 9 ops) > INFO 12:55:45,961 Completed flushing > /var/lib/cassandra/data/system/local/system-local-ic-18-Data.db (240 bytes) > for commitlog position ReplayPosition(segmentId=1375991740291, > position=53949) > INFO 12:55:46,663 GC for Copy: 292 ms for 1 collections, 7605200 used; > max is 253558784 > ERROR 12:55:46,994 Fatal configuration error > org.apache.cassandra.exceptions.ConfigurationException: Unable to bind to > address /MymachineIP:7000. Set listen_address in cassandra.yaml to an > interface you can bind to, e.g., your private IP address on EC2 > at > org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:444) > at > org.apache.cassandra.net.MessagingService.listen(MessagingService.java:390) > at > org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:589) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:554) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:451) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:348) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490) > Unable to bind to address /MymachineIP:7000. Set listen_address in > cassandra.yaml to an interface you can bind to, e.g., your private IP > address on EC2 > Fatal configuration error; unable to start server. See log for stacktrace. > ERROR 12:55:47,059 Exception in thread > Thread[StorageServiceShutdownHook,5,main] > java.lang.NullPointerException > at > org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:321) > at > org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:370) > at > org.apache.cassandra.service.StorageService.access$000(StorageService.java:88) > at > org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:519) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at java.lang.Thread.run(Thread.java:662) > > --047d7b60518c73800804e37529fe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What does ifconfig say? use eth0 or eth1's IP or whatever is static. = =A0And on that note, setup a static IP ( versus dhcp based ) it will make s= topping/starting easier.

On Thu, Aug 8, 2= 013 at 2:01 PM, kohanm <kohan.massoud@gmail.com> wrote= :
Thanks Rob.
Now I am getting=A0 listen_ad= dress in cassandra.yaml errors
I mentioned before the Cassandra runs on = VM VitualBox on windows 7 machine.
On the ERROR text I changed the real ip address to=A0 "MymachineIP&quo= t;.
What should I put on the listen_address:=A0 in cassandra.yaml= file?
Thanks.

=A0short output:

INFO 12:55:45,372 Cassandr= a version: 1.2.8
=A0INFO 12:55:45,382 Thrift API version: 19.36.0
=A0= INFO 12:55:45,382 CQL supported versions: 2.0.0,3.0.5 (default: 3.0.5)
=A0INFO 12:55:45,677 Loading persisted ring state
=A0INFO 12:55:45,696 S= tarting up server gossip
=A0INFO 12:55:45,861 Enqueuing flush of Memtabl= e-local@28263177(251/251 serialized/live bytes, 9 ops)
=A0INFO 12:55:45,= 866 Writing Memtable-local@28263177(251/251 serialized/live bytes, 9 ops) =A0INFO 12:55:45,961 Completed flushing /var/lib/cassandra/data/system/loca= l/system-local-ic-18-Data.db (240 bytes) for commitlog position ReplayPosit= ion(segmentId=3D1375991740291, position=3D53949)
=A0INFO 12:55:46,663 GC= for Copy: 292 ms for 1 collections, 7605200 used; max is 253558784
ERROR 12:55:46,994 Fatal configuration error
org.apache.cassandra.except= ions.ConfigurationException: Unable to bind to address /MymachineIP:7000. S= et listen_address in cassandra.yaml to an interface you can bind to, e.g., = your private IP address on EC2
=A0=A0 =A0at org.apache.cassandra.net.MessagingService.getServerSocket(Mess= agingService.java:444)
=A0=A0 =A0at org.apache.cassandra.net.MessagingSe= rvice.listen(MessagingService.java:390)
=A0=A0 =A0at org.apache.cassandr= a.service.StorageService.joinTokenRing(StorageService.java:589)
=A0=A0 =A0at org.apache.cassandra.service.StorageService.initServer(Storage= Service.java:554)
=A0=A0 =A0at org.apache.cassandra.service.StorageServi= ce.initServer(StorageService.java:451)
=A0=A0 =A0at org.apache.cassandra= .service.CassandraDaemon.setup(CassandraDaemon.java:348)
=A0=A0 =A0at org.apache.cassandra.service.CassandraDaemon.activate(Cassandr= aDaemon.java:447)
=A0=A0 =A0at org.apache.cassandra.service.CassandraDae= mon.main(CassandraDaemon.java:490)
Unable to bind to address /MymachineI= P:7000. Set listen_address in cassandra.yaml to an interface you can bind t= o, e.g., your private IP address on EC2
Fatal configuration error; unable to start server.=A0 See log for stacktrac= e.
ERROR 12:55:47,059 Exception in thread Thread[StorageServiceShutdownH= ook,5,main]
java.lang.NullPointerException
=A0=A0 =A0at org.apache.ca= ssandra.service.StorageService.stopRPCServer(StorageService.java:321)
=A0=A0 =A0at org.apache.cassandra.service.StorageService.shutdownClientServ= ers(StorageService.java:370)
=A0=A0 =A0at org.apache.cassandra.service.S= torageService.access$000(StorageService.java:88)
=A0=A0 =A0at org.apache= .cassandra.service.StorageService$1.runMayThrow(StorageService.java:519) =A0=A0 =A0at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable= .java:28)
=A0=A0 =A0at java.lang.Thread.run(Thread.java:662)


--047d7b60518c73800804e37529fe--