Bad interpreter: no such file or directory error when installing PEC
search cancel

Bad interpreter: no such file or directory error when installing PEC

book

Article ID: 94941

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

When installing the PEC component of SCM on a Linux or Unix platform, sometimes you will see an error message:

./INSTALL.SH: /bin/ksh: bad interpreter: No such file or directory 


How can this be fixed so that PEC can be installed?

Environment

Harvest Software Change Manager 12.6 and up
Linux or Unix platforms

Cause

The reason for this is that the PEC installation script is written to operate in the "korn" shell. If this shell is not available on the Linux or Unix computer to which you want to install, you will see an error message as described above.

Resolution

The following command will correct the INSTALL.SH script by changing it's shell

sed -i 's/ksh/sh/g' INSTALL.SH