0
我正面臨着這個問題。我已經開始了cassandra,但我不明白爲什麼我要面對這個錯誤。Cassandra錯誤JAVA
[email protected]:~$ sudo service cassandra start
sudo: /etc/sudoers.d is world writable
[email protected]:~$ sudo service cassandra status
sudo: /etc/sudoers.d is world writable
● cassandra.service - LSB: distributed storage system for structured data
Loaded: loaded (/etc/init.d/cassandra; bad; vendor preset: enabled)
Active: active (exited) since Thu 2016-11-24 19:12:59 PST; 15min ago
Docs: man:systemd-sysv-generator(8)
Process: 14796 ExecStop=/etc/init.d/cassandra stop (code=exited, status=0/SUCCESS)
Process: 16659 ExecStart=/etc/init.d/cassandra start (code=exited, status=0/SUCCESS)
Nov 24 19:12:59 aims systemd[1]: Starting LSB: distributed storage system for structured data...
Nov 24 19:12:59 aims systemd[1]: Started LSB: distributed storage system for structured data.
Nov 24 19:28:19 aims systemd[1]: Started LSB: distributed storage system for structured data.
[email protected]:~$ cd cassandra/
[email protected]:~/cassandra$ bin/cassandra
[email protected]:~/cassandra$ OpenJDK 64-Bit Server VM warning: Cannot open file bin/../logs/gc.log due to No such file or directory
Error: Could not find or load main class org.apache.cassandra.service.CassandraDaemon
請讓我知道爲什麼我面臨這樣的問題。
這是我的JAVA所在:
[email protected]:~/cassandra$ echo $JAVA_HOME
/home/aims/java/bin
希望聽到的解決方案給我。
了'JAVA_HOME'而應是'/家庭/目的/ java' –
'出口JAVA_HOME = /家庭/目的/ java',然後再次嘗試 –
@NicolasFilotto謝謝..讓我檢查一下。 –