1827817 Members
1601 Online
109969 Solutions
New Discussion

PSP install on RHEL 4

 
SOLVED
Go to solution
David Mundy
New Member

PSP install on RHEL 4

I'm trying to install the PSP 7.5.2 on a DL360 G4p running RHEL ES 4 Update 4. The install script seems to fail immediately with these errors:

[user@server psp752]# ./install752.sh --nui
: bad interpreter: No such file or directory

[user@server psp752]# bash install752.sh --nui
: command not found 10:
: command not found 13:
: command not found 17:
: command not found 19:
: command not found 27:
: command not found 31:
: command not found 45:
: command not found 47:
: command not found 62:
: command not found 66:
: command not found 69:
: command not found 89:
: command not found 102:
: command not found 111:
: command not found 112:
: command not found 151:
: command not found 161:
: command not found 175:
: command not found 179:
: command not found 183:
'nstall752.sh: line 185: syntax error near unexpected token `
'nstall752.sh: line 185: `function createRamDisk()

Any ideas what I'm doing wrong or missing?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: PSP install on RHEL 4

Shalom,

The first line of the script, the command interpreter is not present. Therefore the rest of the script fails.

You need to check that line and adjust it to something that is present in your system. Seems maybe PHP is not present, but I'd need to see the script to know for certain.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
David Mundy
New Member

Re: PSP install on RHEL 4

I've attached the install script that came with the PSP.

I'm using a minimal install of RHEL and then I added the components that are specified as required in the PSP documentation. The bash shell is being used.
Mike Stroyan
Honored Contributor
Solution

Re: PSP install on RHEL 4

You have somehow added carriage returns to the end of every line in the script. When you run it as "./install752.sh" the error message is complaining that there is no "/bin/bash^M" program. When you run it as "bash install752.sh" the blank lines result in error messages like "command not found 10: ^M".

You could use dos2unix to fix the script. I would be concerned about what has happened to other files that you transferred in a similar way.
David Mundy
New Member

Re: PSP install on RHEL 4

Thanks Mike, that was definitely the problem. Copied a fresh copy of that script to the server and then it worked no problem.
David Mundy
New Member

Re: PSP install on RHEL 4

Mike's suggestion that the script was corrupted was correct