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.


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 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:


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

org.apache.cassandra.config.ConfigurationException: localhost/ 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