问题
Cassandra does not show any error while running sudo service cassandra start
but when sudo service cassandra status
is checked, it shows active(exited). Tried stopping the service and starting again but encountered with the same error.
Any suggestions or solutions are welcome.
Cassandra version : 2.2.5
cqlsh version : 5.0.1
回答1:
Have you looked in the system.log file and see if any errors are being written? (/var/log/cassandra/system.log). If so can you post them?
回答2:
Thank you for your help. I got it working. The problem was that java was not rightly installed and also datastax Cassandra was not installed. After these two problems were solved, Cassandra started working and showed the status as active.
来源:https://stackoverflow.com/questions/35866112/cassandra-status-changing-from-activerunning-to-activeexited-without-any-err