Skip to content

Instantly share code, notes, and snippets.

@jeremyvdw
Created January 6, 2016 15:16
Show Gist options
  • Save jeremyvdw/2c613a06a83007e8f393 to your computer and use it in GitHub Desktop.
Save jeremyvdw/2c613a06a83007e8f393 to your computer and use it in GitHub Desktop.
CircleCI: Cassandra fails to boot
curl -sSL https://s3.amazonaws.com/circle-downloads/wait-for-cassandra.sh | sh
Attempt 1
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
Attempt 2
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
Attempt 3
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
Attempt 4
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
Attempt 5
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
Cassandra failed to start!!
------ Cassandra info -------
+ ps ax
+ grep -i cassandra
20941 pts/5 Ss+ 0:00 bash -c cd "/home/ubuntu/AKAdserver/"?curl -sSL https://s3.amazonaws.com/circle-downloads/wait-for-cassandra.sh | sh?
21812 pts/5 S+ 0:00 bash -x -c ps ax | grep -i cassandra
21814 pts/5 R+ 0:00 grep -i cassandra
curl -sSL https://s3.amazonaws.com/circle-downloads/wait-for-cassandra.sh | sh returned exit code 1
+ sudo lsof -i4TCP:9042 Action failed: curl -sSL https://s3.amazonaws.com/circle-downloads/wait-for-cassandra.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment