Can't start the installation of introscope10.8.0.27linuxAMD64.bin
search cancel

Can't start the installation of introscope10.8.0.27linuxAMD64.bin

book

Article ID: 261552

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

You are trying to start the installation of introscope10.8.0.27 on a Red-Hat 8 server and when executing the bin file, you get error:

./introscope10.8.0.27linuxAMD64.bin -i console
-bash: ./introscope10.8.0.27linuxAMD64.bin: /bin/sh^M: bad interpreter: No such file or directory

It seems the file is corrupted or there is carriage return in the install script?

Environment

Release : 10.8

Resolution

The ^M should not appear there.  A few things can cause this:

  1. The installer uses !/bin/sh.  Check the permissions on the file and also the user that you are using to install it.
  2. The file was transferred to the Linux server not using binary mode for transport.  This would explain the ^M carriage return showing up
  3. If possible, download the file from the Linux server directly.  If you can only download the file from a Windows server, do that and then use scp to do a secure transfer as scp uses binary mode to transfer files to a Linux server.