How to fix error "-bash: /usr/bin/Check_Instance_Running.sh: /bin/ksh: bad interpreter: No such file or directory" while installing RSA Identity Governance and Lifecycle
Originally Published: 2017-10-05
Article Number
Applies To
RSA Version/Condition: 7.0.0+
Issue
[Fri Oct 6 18:15:53 CEST 2017] Start Wildfly to configure and load ear
-bash: /usr/bin/Check_Instance_Running.sh: /bin/ksh: bad interpreter: No such file or directory
Fresh install failed.. deleting /home/oracle/install, /home/oracle/Aveksa_System.cfg and /home/oracle/setDeployEnv.sh as part of cleanup.
Step failed! See /tmp/aveksa-install.log for more information.
Cause
1. You do not have ksh installed on the OS or the ksh shell (/bin/ksh or /usr/bin/ksh) is owned by a user other than root,or
2. It was removed from /bin or /usr/bin/ directory, or
3. The symbolic link was broken (ksh -> /bin/ksh93).
Resolution
- Login as root user and run the below commands to check if the ksh is installed.
rpm -qa | grep ksh
- If there is no output for this command, it indicates there is no ksh in the operating system.
- Download the supported ksh file for the OS (RedHat or SuSE) online and place the file in /tmp directory.
- Run the below command to install the ksh in the system.
rpm -ivh ksh-<version>.rpm
- Replace the <version> field with the version of the downloaded ksh script file.
- Once the ksh is installed, run the command in the first step to confirm ksh is present in the operating system.
- Uninstall RSA Identity Governance and Lifecycle and start a fresh installation with the steps mentioned in the Installation guide.
Related Articles
Purge Status column showing "In Progress" on the Archive page in RSA Identity Governance & Lifecycle 13Number of Views '-bash: /usr/sbin/sesh: No such file or directory' error when starting RSA Identity Governance & Lifecycle 87Number of Views How to move BINs from one FI to another in same region 20Number of Views Can you run kernel updates to fix the security vulnerabilities in RSA Identity Governance and Lifecycle 18Number of Views enVision users need a folder where network users can access saved queries. 18Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?