problem on starting cassandra

Babak Mehrabi picture Babak Mehrabi · Sep 21, 2011 · Viewed 30.3k times · Source

I download apache-cassandra-0.8.5 for ubuntu and extract it.I read the readme file. I try bellow command in shell:

bin/cassandra -f

But it said: Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: node24.nise.local: node24.nise.local

what should I do?

Answer

Dunaril picture Dunaril · Sep 21, 2011

What does your /etc/hosts file contain? Maybe add localhost and node24.nise.local as a name at the 127.0.0.1 line.