book
Article ID: 315937
calendar_today
Updated On:
Issue/Introduction
Symptoms:
- When running the reset admin password script, li-reset-admin-passwd.sh, via CLI you get the below error:
Connection error: ('Unable to connect to any servers', {'127.0.0.1': AuthenticationFailed('Remote end requires authentication.',)})
ERROR: unable to get salt
Environment
VMware vRealize Log Insight 4.7.x
Cause
The password script fails to login to the Cassandra database in vRealize Log Insight 4.7 because of authentication being required in this version. The default li-reset-admin-passwd.sh script does not attempt to authenticate against Cassandra, thus it fails to reset the password.
Resolution
Follow the below steps to reset the admin user's password in vRealize Log Insight 4.7:
- Download the file li-reset-admin-passwd-47.sh attached to this KB.
- Via SCP or SFTP as root to the vRealize Log Insight nodes, copy the file li-reset-admin-passwd-47.sh to /opt/vmware/bin/.
- SSH as root to the corresponding vRealize Log Insight nodes and change the permissions to 755 by issuing the command chmod 755 /opt/vmware/bin/li-reset-admin-passwd47.sh.
- Run the new script by issuing the command /opt/vmware/bin/li-reset-admin-passwd-47.sh on a vRealize Log Insight node.
- The script will output a temporary admin password that can be changed once logged into the product UI.