I am trying to run the scritp on a centos 5 box, I run this first :
[root@server tmp]# chmod u+x OpenEMM-Installer-1.2.sh
Then this :
[root@server tmp]# sh OpenEMM-Installer-1.2.sh
I get this :
: command not found.2.sh: line 8:
'penEMM-Installer-1.2.sh: line 10: syntax error near unexpected token `{
'penEMM-Installer-1.2.sh: line 10: `{
Also if I run this way:
./OpenEMM-Installer-1.2.sh
I get this :
-bash: ./OpenEMM-Installer-1.2.sh: /bin/bash^M: bad interpreter: No such file or directory
I am using CentOS 5.4 in a virtual machine, I have sucessfully install the New Webmin , but this install script has got me stuck right now , Can someone please help me?
OpenEMM-Installer-1.2 - Cant get this to run on Centos 5
Moderator: moderator
-
- Posts: 5
- Joined: Sat Aug 28, 2010 3:20 pm
- Location: Toronto
-
- Posts: 5
- Joined: Sat Aug 28, 2010 3:20 pm
- Location: Toronto
DOS2UNIX
For everyone who runs into this issue on CentOS, You must do this
yum install dos2unix
dos2unix OpneEMM-Installer-1.2.sh
then run the script ,
thanks
cyberfab007
yum install dos2unix
dos2unix OpneEMM-Installer-1.2.sh
then run the script ,
thanks
cyberfab007