Start a Conversation

Unsolved

This post is more than 5 years old

1040

April 20th, 2011 14:00

How do I install RM Agent on RHEL 5.3 LINUX

When I run the setup.sh -silent command on a Linux host (as an agent) I receive the following message:

[root@hostname rm]# ./setup.sh
bash: ./setup.sh: /bin/sh^M: bad interpreter: No such file or directory

Any ideas?

April 22nd, 2011 22:00

The CTRL-M (^M) suggests that somewhere along the way this was first opened in a Windows environment.  Did you untar the file you downloaded from PowerLink from within Windows first and/or you did you possibly open up the shell script in Windows and save it?

If any of the above explains it, upload the tar file to your Linux host and untar it there instead and/or if you are possibly modifying the shell script for whatever reason, save it within a Linux environment and not within Windows.

There are ways of removing ^M's of an affected file, but at this point best to just start over with the tar file as it is unknown what other files might be affected.

No Events found!

Top