Unable to log into Aria Automation appliance with root account using SSH or vSphere Client Console
When attempting to log in to SSH the root account you get Access Denied
When attempting to log into the Console from vCenter you get Permission Denied
Resetting the password via the grub menu does not work after following https://docs.vmware.com/en/VMware-Aria-Automation/8.18/Administering-VMware-Aria-Automation/GUID-1BC4BD89-73C5-4C2A-875D-B8787418EE85.html
Aria Automation (vRA) 8.16 and earlier
This issue is caused by the /var/log directory running out of space
To gain access to the appliance again with SSH or console again, access the grub menu as per https://docs.vmware.com/en/VMware-Aria-Automation/8.18/Administering-VMware-Aria-Automation/GUID-1BC4BD89-73C5-4C2A-875D-B8787418EE85.html and then instead of updating the password, edit the /etc/pam.d/system-auth to temporarily bypass the pam settings:
#
in front of it: auth required pam_tally2.so onerr=fail deny=3 unlock_time=900 root_unlock_time=900 file=/var/log/tallylog
#auth required pam_tally2.so onerr=fail deny=3 unlock_time=900 root_unlock_time=900 file=/var/log/tallylog
sync
and press Enter to flush the data to disk.umount /
and press Enter.reboot -f
and press Enter.auth required pam_tally2.so onerr=fail deny=3 unlock_time=900 root_unlock_time=900 file=/var/log/tallylog
df -h
to verify the directory that is full, it should be /var/log/.When changing the password after accessing the grub menu, passwd and pam tally commands may not work correctly until space is cleared.
Running pam_tally2 --user root --reset
after editing /etc/pam.d/system-auth and gaining access to the appliance via SSH or console will give a "No Space Left on Device" error.