Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30563 invoked from network); 11 Mar 2011 05:15:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 05:15:12 -0000 Received: (qmail 32446 invoked by uid 500); 11 Mar 2011 05:15:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 32317 invoked by uid 500); 11 Mar 2011 05:15:10 -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 32297 invoked by uid 99); 11 Mar 2011 05:15:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 05:15:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a41.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 05:15:02 +0000 Received: from homiemail-a41.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTP id 43DC744C058 for ; Thu, 10 Mar 2011 21:14:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=subject :references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; q=dns; s= thelastpickle.com; b=ZwrgWcIr3adkLcVXlc+l0+Y5mMXjBusUnxSR1P4dDdI +/NRZAxpPSXMAT9rIXfEu4lAS/aTBeLhJSGzRxnSH7mfN1/gBKRxs/Ut7e3N3Nmj ZFzQamcErv9En3def8rETaP0z96onAGdOULmBv1n0f9CGKZ9Kl8WFswyFDSE3og8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= subject:references:from:content-type:in-reply-to:message-id:date :to:content-transfer-encoding:mime-version; s=thelastpickle.com; bh=zSQv0nVpxZybdmdpyIhbG/Cf/U0=; b=CY13QvY74qtOk2Orsyv+7oJA4YPi Vn6+dwgt6ybHsinUPo2M+hhTUuPgM7dQ2+Eb17Lto3cG9BmCrP5BW1DBdB4gtMJR SL6Mxg3ky8T+Pp0f/mGVLrM6on5CQPJGYILcWkvSq/z1UyK0n9KP271a5Fywu6wC RJUmIEUT03hio2U= Received: from [115.189.252.145] (unknown [115.189.252.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTPSA id 6559144C055 for ; Thu, 10 Mar 2011 21:14:38 -0800 (PST) Subject: Re: Fatal configuration error, so how to change listen_address:storage_port in cassandra.yaml ? References: From: Aaron Morton Content-Type: multipart/alternative; boundary=Apple-Mail-2--609262829 X-Mailer: iPad Mail (8F190) In-Reply-To: Message-Id: Date: Fri, 11 Mar 2011 18:14:33 +1300 To: "user@cassandra.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPad Mail 8F190) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2--609262829 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Something else is using the port, perhaps an existing Cassandra process? Use "lsof -i | grep 7000" to see what is. If you need to change it, you are looking for storage_port in the config. Aaron On 11/03/2011, at 3:43 PM, Bob Futrelle wrote: > Now that I've made the JMX_PORT change cassandra will attempt to run. > (Dumb me, I didn't need to ask - the answer about changing JMX_PORT was al= ready in the archives. I'm getting with it now, so I know to look there fir= st. Just finding my way around cassandra....) >=20 > Made the change: >=20 > JMX_PORT=3D"8080 > to > JMX_PORT=3D"9980" > in cassandra-env.sh >=20 > Then ran > sudo ./bin/cassandra -f -p pidfile > threw a Fatal configuration error: >=20 > org.apache.cassandra.config.ConfigurationException: localhost/10.0.1.3:700= 0 is in use by another process. Change listen_address:storage_port in cassa= ndra.yaml to values that do not conflict with other services >=20 > In cassandra.yaml the line causing the problem is >=20 > listen_address: localhost >=20 > Problem is, I have no idea what to change it to ??? > Maybe localhost:8000? > And in addition, do I then need to make other changes? >=20 > - Bob Futrelle > Northeastern University > CCIS > =20 > =20 --Apple-Mail-2--609262829 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8
Something else is using the port, perhaps an existing Cassandra process?

Use "lsof -i | grep 7000" to see what is.

If you need to change it, you are looking for storage_port in the config.

Aaron

On 11/03/2011, at 3:43 PM, Bob Futrelle <bob.futrelle@gmail.com> wrote:

Now that I've made the JMX_PORT change cassandra will attempt to run.
(Dumb me, I didn't need to ask - the answer about changing JMX_PORT was already in the archives.  I'm getting with it now, so I know to look there first.  Just finding my way around cassandra....)

Made the change:

JMX_PORT="8080
to
JMX_PORT="9980"
in cassandra-env.sh

Then ran
sudo ./bin/cassandra -f -p pidfile
threw a Fatal configuration error:

org.apache.cassandra.config.ConfigurationException: localhost/10.0.1.3:7000 is in use by another process.  Change listen_address:storage_port in cassandra.yaml to values that do not conflict with other services

In cassandra.yaml the line causing the problem is

listen_address: localhost

Problem is, I have no idea what to change it to ???
Maybe localhost:8000?
And in addition, do I then need to make other changes?

  - Bob Futrelle
    Northeastern University
    CCIS
    
   
--Apple-Mail-2--609262829--