On initial start-up, each node must be started one at a time, starting with your seed nodes.
Start the Cassandra Java server process starting with the seed nodes:
$ cd <install_location> $ bin/cassandra (in the background - default) $ bin/cassandra -f (in the foreground)
Packaged installations provide startup scripts in /etc/init.d for starting Cassandra as a service. The service runs as the cassandra user.
To start the Cassandra service, you must have root or sudo permissions:
$ sudo service cassandra start
Note
On Enterprise Linux systems, the Cassandra service runs as a java process. On Debian systems, the Cassandra service runs as a jsvc process.
To stop the Cassandra process, find the Cassandra Java process ID (PID), and then kill the process using its PID number:
$ ps auwx | grep cassandra $ sudo kill <pid>
To stop the Cassandra service, you must have root or sudo permissions:
$ sudo service cassandra stop