I am currently working on the Cassandra tutorials about data modeling. I cannot understand why whenever I try to run the cassandra service from the bin folder I receive the error:
"Cassandra: command not found".
The same happens if I try to run nodetool, or cqlsh utilities. Can anybody help me to resolve the problem?
All the cassandra binary are in the $CASSANDRA_HOME/bin
folder.
If you run command from the CASSANDRA_HOME
then use :
bin/cassandra
bin/cqlsh
bin/nodetool
I know is too late now, but for anyone experiencing this problem, while you are already in the bin directory, use ./cqlsh < IP >. Also if you configured a multi node cluster, use ./nodetool status and check if you have all the IPs there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With