cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: Fatal configuration error, so how to change listen_address:storage_port in cassandra.yaml ?
Date Fri, 11 Mar 2011 05:14:33 GMT
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
>     
>    

Mime
View raw message