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 6B27D19C57 for ; Tue, 19 Apr 2016 19:40:17 +0000 (UTC) Received: (qmail 26547 invoked by uid 500); 19 Apr 2016 19:40:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 26507 invoked by uid 500); 19 Apr 2016 19:40:15 -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 26460 invoked by uid 99); 19 Apr 2016 19:40:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2016 19:40:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7CCC8C0B4D for ; Tue, 19 Apr 2016 19:40:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.299 X-Spam-Level: *** X-Spam-Status: No, score=3.299 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pdf-com.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id TVXl7OfWjS_M for ; Tue, 19 Apr 2016 19:40:12 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 857095F282 for ; Tue, 19 Apr 2016 19:40:11 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id p188so22228159oih.2 for ; Tue, 19 Apr 2016 12:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=FhAZUIo4F2sCuPgodh5n3bWwzDXMwCoq6idF49XBUBc=; b=RgJQKZM6GjtgFuENAdP0Iq7STZsVa3FawrnRnRmEgxkPL4jrtEaTls2jNE6U5kdgAn zzfPEc6ts6WvOfLoMoj43XWClXhYM17bVcmrMzONVTNEEgG3/BkCQcw/NBFU3cu18lCW O9muvTcw/FRyNgd40LkDdLzRqAPSK924shq2Z6NMHWs1o5maDi/vsmrrY7Cfw+u77O0z Vtmv/QzMnRvaJ+eu4Xnw11QAR9/j8eNBM4LgHZDSW1Eu7N9vntUfxvEhg4l0cTLSVmWW EcIaNct8aakDnbya0pLg4DeMSZ7AFV5Gjja0FCFKba+F4hN5ENeqmj4x+n1sJP1E96T1 xpPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=FhAZUIo4F2sCuPgodh5n3bWwzDXMwCoq6idF49XBUBc=; b=FVQsnP5ctpySGWB/AlKT83x0nKOsgnEd0K6a7BuUTEu0IC3g52jHtlqROBqA8PKDxo Xhp3gK95L6EHOpd17elgY/ZkPxYY2jPaCLA3IP+gzJ8yKF8LrjG6JJuJbBgZOMJXpiRm /T5oPx1ZDs2dFoKz/Jg8u1WUO8hrADtaOyI/i8MHbhZw4L9ZKuL9jUqhGfTpeE8Sya8T GL45JoPMVCM4STKwbvoHH7Up/z+FfxNyuqINZgu9TUtb/drtgOuf6pomNqISjZEn3zLA EkI2G3be0QSu+waPdpM1RQQw+2IhCW7nQBbApA4xQJoowb7kOyu2SIUryOp97/TkMq8q K9fg== X-Gm-Message-State: AOPr4FW1WBhOS45xDAXyfrtuGD/yTsYjBZtQ3Sos7dBJslG0QGRP2XEc48P5NAOW86bH5huleHm0NGU6ovPYS1tu35MCdtLhOkVXoZheueDNrqatgFXpPuDdcbPtIxhsjOVfbXLOvEB9+kmWN46+5ofM MIME-Version: 1.0 X-Received: by 10.157.52.72 with SMTP id v66mr2153416otb.113.1461094810262; Tue, 19 Apr 2016 12:40:10 -0700 (PDT) Received: by 10.202.71.7 with HTTP; Tue, 19 Apr 2016 12:40:09 -0700 (PDT) Date: Tue, 19 Apr 2016 12:40:09 -0700 Message-ID: Subject: nodetool -h fails Connection refused From: "Alaa Zubaidi (PDF)" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1141781e26377d0530dba571 --001a1141781e26377d0530dba571 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I am trying to run nodetool remotely. but its not working: I am running Cassandra 2.2.5 on CentOS 6. listen_address: is set to rpc_address: is set to 0.0.0.0 broadcast_rpc_address: is set to I changed the following in cassadnra-env.sh JVM_OPTS=3D"$JVM_OPTS -Djava.rmi.server.hostname=3D" -Dcom.sun.management.jmxremote.port=3D7199 -Dcom.sun.management.jmxremote.ssl=3Dfalse -Dcom.sun.management.jmxremote.authenticate=3Dfalse "nodetool -h -p status" results in: failed to connect to 'hostname' - Connection Exception: 'Connection refused= " netstat -nl | grep 7199 tcp 0 0 127.0.0.1:7199 0.0.0.0:* LISTEN ONLY "nodetool -h localhost" works Any idea how to fix it? Thanks, Alaa --=20 *This message may contain confidential and privileged information. If it=20 has been sent to you in error, please reply to advise the sender of the=20 error and then immediately permanently delete it and all attachments to it= =20 from your systems. If you are not the intended recipient, do not read,=20 copy, disclose or otherwise use this message or any attachments to it. The= =20 sender disclaims any liability for such unauthorized use. PLEASE NOTE that= =20 all incoming e-mails sent to PDF e-mail accounts will be archived and may= =20 be scanned by us and/or by external service providers to detect and prevent= =20 threats to our systems, investigate illegal or inappropriate behavior,=20 and/or eliminate unsolicited promotional e-mails (=E2=80=9Cspam=E2=80=9D). = If you have any=20 concerns about this process, please contact us at * *legal.department@pdf.com* *.* --001a1141781e26377d0530dba571 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to run nodetool remotel= y. but its not working:
I am running Cassandra 2.2.5 on CentOS 6.=
listen_address: is set to <host IP>
rpc_addr= ess: is set to 0.0.0.0
broadcast_rpc_address: is set to <host = IP>

I changed the following in cassadnra-env.sh=
JVM_OPTS=3D"$JVM_OPTS -Djava.rmi.server.host= name=3D<hostname>"
-Dcom.sun= .management.jmxremote.port=3D7199 -Dcom.sun.management.jmxremote.ssl=3Dfals= e -Dcom.sun.management.jmxremote.authenticate=3Dfalse

"nodetool -h <hostname or ip> -p <port= > status" results in:
failed to connect to 'hostname&= #39; - Connection Exception: 'Connection refused"

netstat -nl |=C2=A0grep 7199
tcp =C2=A0 =C2=A00 =C2=A0 = =C2=A00 =C2=A0 =C2=A0127.0.0.1:7199 = =C2=A0 =C2=A00.0.0.0:* =C2=A0 =C2=A0LISTEN

ONLY &q= uot;nodetool -h localhost" works

Any idea= how to fix it?

Thanks,
Alaa
<= br>

This message may contain confidential and privileged information. If i= t has been sent to you in error, please reply to advise the sender of the e= rror and then immediately permanently delete it and all attachments to it f= rom your systems. If you are not the intended recipient, do not read, copy,= disclose or otherwise use this message or any attachments to it. The sende= r disclaims any liability for such unauthorized use. PLEASE NOTE that all = incoming e-mails sent to PDF e-mail accounts will be archived and may be sc= anned by us and/or by external service providers to detect and prevent thre= ats to our systems, investigate illegal or inappropriate behavior, and/or e= liminate unsolicited promotional e-mails (=E2=80=9Cspam=E2=80=9D). If you = have any concerns about this process, please contact us at legal.department@pdf.com. --001a1141781e26377d0530dba571--