flama10

bad interpreter: No such file or directory

Blog Post created by flama10 Employee on Feb 26, 2018

This occurs on Linux when KSH is not installed:

 

./smconsole
bash: ./smconsole: /bin/ksh: bad interpreter: No such file or directory

 

Let's See if KSH Is installed:

which ksh
/usr/bin/which: no ksh in (/software/policy/siteminder/bin:/software/policy/siteminder:/software/jdk1.8.0_144/jre//bin:/software/policy/siteminder/CLI/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/root/bin)

 

Yes, We have a problem... lets fix it...

[root@localhost cdrom]# yum install ksh
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ksh.x86_64 0:20120801-19.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package     Arch           Version                  Repository            Size
================================================================================
Installing:
ksh         x86_64         20120801-19.el7          InstallMedia         879 k
Transaction Summary
================================================================================
Install  1 Package
Total download size: 879 k
Installed size: 3.1 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ksh-20120801-19.el7.x86_64                                   1/1
  Verifying  : ksh-20120801-19.el7.x86_64                                   1/1
Installed:
  ksh.x86_64 0:20120801-19.el7                                                  
Complete!

 

Now run SMCONSOLE and get a happy response.

Outcomes