OpenEMM-Installer-1.2 - Cant get this to run on Centos 5

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

cyberfab007
Posts: 5
Joined: Sat Aug 28, 2010 3:20 pm
Location: Toronto

OpenEMM-Installer-1.2 - Cant get this to run on Centos 5

Post by cyberfab007 »

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?
cyberfab007
Posts: 5
Joined: Sat Aug 28, 2010 3:20 pm
Location: Toronto

DOS2UNIX

Post by cyberfab007 »

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
Post Reply