Symptoms:
'Cannot execute /bin/appliancesh: No such file or directory' message
sh: /opt/vmware/share/vami/vami_ovf_process: No such file or directory'
VMware vRealize Orchestrator 8.x
The issue can occur when the default shell for the root user has been altered.
To resolve the issue validate that the root users default shell is set to: /bin/bash
1. Access the appliance in single user mode using steps 1-4 contained in knowledge base article 325916.
2. Open the /etc/passwd file with command:
vi /etc/passwd
3. In the file, search for a line for root which potentially has '/bin/appliancesh' at the end of the line, change the end of the line to be '/bin/bash'
Save the file and then then reboot the VM:
:wq!
For example:
root:............:/bin/appliancesh
Would need to be:
root:.............:/bin/bash
4. Validate the ssh/console using the root user is accessible.
5. Note: If the root password has been changed in order to sync the control center password to match the new root password, perform additional steps 3-5 outlined below knowledge base article 325999.