Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 487 Vote(s) - 3.46 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cassandra: Command Not Found

#1
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?
Reply

#2
**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
Reply

#3
On macOS,
You must in the `dse` folder, after that `bin/cqlsh`.
Reply

#4
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.
Reply

#5
You should go first on your Cassandra installation location or folder.
<tarball_installation>/
bin/

Then try to run below command:-

bin/cassandra or bin/cassandra -f

But if you have done package installation then you should try below command:-
sudo service cassandra start

Please go through below link for more details about all other way to start Cassandra.

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through