cqlsh
:$cqlsh
If Cassandra is not running, or can not be reached, a message similar to the following will appear:
Connection error: ('Unable to connect to any servers',
{'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)].
Last error: Connection refused")})
$service --status-all
A list of all services will appear with a [-]
for Cassandra if it is not running, [+]
otherwise:
...
[ ? ] apport
[ + ] atd
[ - ] cassandra
[ ? ] console-setup
[ + ] cron
[ - ] dbus
...
$tail /var/log/cassandra/debug.log
$tail /var/log/cassandra/gc.log.0.current
$tail /var/log/cassandra/system.log