root@juju-64cbea-25-lxd-0:~# netstat -tulpn | grep 9042 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 100.86.0.169:9042 0.0.0.0:* LISTEN 19491/java root@juju-64cbea-25-lxd-0:~# service cassandra restart * Restarting Cassandra cassandra /etc/init.d/cassandra: 71: ulimit: error setting limit (Operation not permitted) /etc/init.d/cassandra: 72: ulimit: error setting limit (Operation not permitted) ...done. root@juju-64cbea-25-lxd-0:~# netstat -tulpn | grep 9042 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 100.70.0.134:9042 0.0.0.0:* LISTEN 6463/java root@juju-64cbea-25-lxd-0:~# tail -n 20 /var/log/juju/unit-cassandra-analytics-0.log 2017-08-29 10:17:52 INFO juju-log cluster:0: Cassandra is running 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 INFO juju-log cluster:0: Credentials created 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG juju-log cluster:0: Requirement RequiresLiveNode: True 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 INFO juju-log cluster:0: coordinator.CassandraCoordinator Publishing state 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 DEBUG worker.uniter.jujuc server.go:179 hook context id "cassandra-analytics/0-cluster-relation-changed-8419107795412098647"; dir "/var/lib/juju/agents/unit-cassandra-analytics-0/charm" 2017-08-29 10:17:52 INFO juju-log cluster:0: *** cluster-relation-changed Hook Done 2017-08-29 10:17:52 INFO juju.worker.uniter.operation runhook.go:113 ran "cluster-relation-changed" hook 2017-08-29 10:17:52 DEBUG juju.worker.uniter.operation executor.go:100 committing operation "run relation-changed (0; cassandra-analytics/2) hook" 2017-08-29 10:17:52 DEBUG juju.worker.uniter.operation executor.go:89 lock released 2017-08-29 10:17:52 DEBUG juju.worker.uniter resolver.go:121 no operations in progress; waiting for changes 2017-08-29 10:17:52 DEBUG juju.worker.uniter agent.go:17 [AGENT-STATUS] idle: 2017-08-29 10:17:52 DEBUG juju.worker.uniter resolver.go:121 no operations in progress; waiting for changes