ab11
ab11

Reputation: 20100

How to troubleshoot Cassandra not starting from Homebrew?

When I try to start Cassandra with brew services start cassandra, I get a message that it has been successfully started. However, when I do brew services list, the Cassandra status is started but the started text is orange (not green).

It seems that Cassandra is not running at all. I am unable to connect to it with cqlsh and get no results when I run ps aux | grep cass.

Any suggestions how to troubleshoot Cassandra not starting from Homebrew?

Upvotes: 1

Views: 1355

Answers (1)

Alex Ott
Alex Ott

Reputation: 87224

This is a problem with Java version - existing releases of the Cassandra do work only with Java 8. Support for Java 9,10,11, ... is added only in Cassandra 4.0 that isn't released yet. You need to install Java 8 and point Cassandra to it.

You can read more about the changes in following blog post.

Upvotes: 3

Related Questions