Added new superuser. But unable to login with new superuser.
$ cqlsh Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': AuthenticationFailed('Remote end requires authentication',)})
$ nodetool status Datacenter: us-east-1 ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving/Stopped -- Address Load Tokens Owns (effective) Host ID Rack UN 10.119.20.42 298.13 KiB 8 45.3% fba6d230-64e5-4db0-9af8-4a71ccf790a5 us-east-1a Datacenter: us-west-2 ===================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving/Stopped -- Address Load Tokens Owns (effective) Host ID Rack UN 10.119.43.25 368.72 KiB 8 54.7% b12df92e-b29b-45dc-9f27-4040060c0f62 us-west-2b
$ cqlsh 10.119.20.42 -u cacsadmin -p dse68admin Connection error: ('Unable to connect to any servers', {'10.119.20.42:9042': error(111, "Tried connecting to [('10.119.20.42', 9042)]. Last error: Connection refused")})
$ grep "_address:" cassandra.yaml listen_address: 10.119.20.42 # broadcast_address: 1.2.3.4 # listen_on_broadcast_address: false native_transport_address: localhost # native_transport_broadcast_address: 1.2.3.4
$ netstat -l | grep 9042 tcp 0 0 localhost:9042 0.0.0.0:* LISTEN
EDIT:
/home/cacsuser $ nodetool repair --full system_auth [2020-05-24 17:30:39,693] Skipping anti-entropy repair on tables with NodeSync enabled: [system_auth.role_members, system_auth.role_permissions, system_auth.roles]. [2020-05-24 17:30:39,697] Starting repair command #2 (d06ad9b0-9e05-11ea-8256-cfd5eff2888f), repairing keyspace system_auth with repair options (parallelism: parallel, primary range: false, incremental: false, job threads: 1, ColumnFamilies: {}, dataCenters: {}, hosts: {}, previewKind: NONE, # of ranges: 16, pull repair: false, force repair: false) [2020-05-24 17:30:39,867] Repair completed successfully [2020-05-24 17:30:39,867] Repair command #2 finished in 0 seconds
/home/cacsuser $ cqlsh 10.119.20.42 -u cacsadmin -p dse68admin Connection error: ('Unable to connect to any servers', {'10.119.20.42:9042': error(111, "Tried connecting to [('10.119.20.42', 9042)]. Last error: Connection refused")})