시스템은 Linux 14.04.1-Ubuntu x86_64, 200GB 공간, 8GB 메모리입니다. 모든 것은 루트와 사용자 모두에서 수행됩니다.cassandra가 서비스로 실행되지 않음
$ apt-get update
$ apt-get install datastax-ddc
그러나, 카산드라가 서비스로 시작되지 않은 : 우리는 다음과 같은 명령을 사용하여 datastax에서 카산드라 버전 3.6.0를 설치 (: http://docs.datastax.com/en/cassandra/3.x/cassandra/install/installDeb.html 웹 사이트에서 지시에 따라).
[email protected]:~# nodetool status
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
[email protected]:~# service cassandra start
[email protected]:~# service cassandra status
* Cassandra is not running
우리는 수동으로 명령을 사용하여 카산드라를 시작할 수 있습니다
$ cassandra -R -f
...
INFO 18:45:02 Starting listening for CQL clients on /127.0.0.1:9042 (unencrypted)...
INFO 18:45:02 Binding thrift service to /127.0.0.1:9160
INFO 18:45:02 Listening for thrift clients...
INFO 18:45:12 Scheduling approximate time-check task with a precision of 10 milliseconds
[email protected]:~# nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 127.0.0.1 153.45 KiB 256 100.0% 28ba16df-1e4c-4a40-a786-ebee140364bf rack1
그러나, 우리는 서비스로 카산드라를 시작해야합니다. 문제를 해결하는 방법에 대한 제안이 있으십니까?
문제는 카산드라의 다른 버전을 사용하여 해결됩니다. 이전 버전은 Apache Cassandra ™ 3.x의 DataStax Distribution입니다. 이제 Apache Cassandra ™ 3.0을 사용하고 있으며 문제가 해결되었습니다. 다음은 현재 사용중인 버전입니다. [http://docs.datastax.com/en/cassandra/3.0/cassandra/install/installDeb.html] (http://docs.datastax.com/en/cassandra) /3.0/cassandra/install/installDeb.html) – Lauraishere