I use CCM to create a three node Cassandra cluster on a single machine. When I use ccm start at a linux terminal, I see this error:
ccmlib.common.UnavailableSocketError: Inet address 127.0.0.1:9042 is not available:
[Errno 98] Address already in use; a cluster may already be running or you may
need to add the loopback alias
There could be several reasons:
ps -aux|grep -i cassandrathat you don't have other Cassandra processes running already on localhost