'Cannot execute /bin/appliancesh: No such file or directory' message when attempting root login to Aria Automation Orchestrator
search cancel

'Cannot execute /bin/appliancesh: No such file or directory' message when attempting root login to Aria Automation Orchestrator

book

Article ID: 314863

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Attempts to SSH using teh root user account results in access denied
  • When attempting root login to the Aria Automation Orchestrator console the following messages are briefly displayed, before it redirects to the blue screen:

'Cannot execute /bin/appliancesh: No such file or directory' message
sh: /opt/vmware/share/vami/vami_ovf_process: No such file or directory'

  • login to Control Center using root credentials is working fine
  • The root account is not locked, the password is not expired and resetting the root user password does not resolve.


Environment

VMware vRealize Orchestrator 8.x

Cause

The issue can occur when the default shell for the root user has been altered.

Resolution

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 76530

 2. Open the /etc/passwd file with command:
 vi /etc/passwd

3. In the file you would see 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 & you can then reboot the VM:
:wq!


For example:
root:............:/bin/appliancesh

Would need to be:
root:.............:/bin/bash

4. Validate if you can now ssh/console using the root user.

5. Note: If the root password has been changed  in order to sync the control center password to match the new root password you will need to perform additional steps 3-5 outlined below knowledge base article 78183.