'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

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Symptoms:

  • Attempts to SSH using the 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 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.