View unanswered posts | View active topics It is currently Tue Dec 12, 2017 9:53 am



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
 mkesxiaio_3.9.sh script will not run 
Author Message

Joined: Sun Feb 07, 2010 6:03 am
Posts: 5
Reply with quote
Post mkesxiaio_3.9.sh script will not run
Hello from a linux newbie (first install 72 hours ago). I am trying to run the mkesxiaio_3.9.sh script to create an install CD for ESXi 4.0U1 with a custom OEM.TGZ, and have followed all the steps I can find, but I still get errors when trying to run it. I am sure it is something I have not done properly, but can not figure it out. I have installed Ubuntu 9.10 64bit and this is what I get when I try to run the script:

gary@gary-desktop:~/esxi$ ls -1
inetd.conf
mkesxiaio_3.9.sh
oem.tgz
VMware-VMvisor-Installer-4.0.0.Update01-208167.x86_64.iso
gary@gary-desktop:~/esxi$ sudo sh mkesxiaio_3.9.sh
: not found.9.sh: 4:
: not found.9.sh: 21:
: not found.9.sh: 22:
: not found.9.sh: 28:
: not found.9.sh: 29:
: not found.9.sh: 34:
: not found.9.sh: 39:
: not found.9.sh: 44:
: not found.9.sh: 48:
: not found.9.sh: 52:
: not found.9.sh: 56:
: not found.9.sh: 60:
: not found.9.sh: 64:
: not found.9.sh: 72:
: not found.9.sh: 78:
: not found.9.sh: 82:
: not found.9.sh: 86:
: not found.9.sh: 91:
: not found.9.sh: 95:
: not found.9.sh: 100:
: not found.9.sh: 104:
: not found.9.sh: 108:
: not found.9.sh: 112:
: not found.9.sh: 116:
: not found.9.sh: 123:
: not found.9.sh: 130:
mkesxiaio_3.9.sh: 132: Syntax error: "(" unexpected
gary@gary-desktop:~/esxi$


Does anyone have any suggestions on what I may be missing? I have not seen a post with any issues running this script so I am sure the script is OK, it's me that's the problem.

Thanks,
Gary


Sun Feb 07, 2010 6:15 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
Ops, try to download it again

And run it as sudo ./mkesxiaio_3.9.sh or sudo bash mkesxiaio_3.9


The file was in wrong format,

_________________
Dovie'andi se tovya sagain,



Sun Feb 07, 2010 11:21 am
Profile WWW

Joined: Sun Feb 07, 2010 6:03 am
Posts: 5
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
Thanks for the quick response. I tried to download it again, but it still fails. It goes a bit farther with the output, but this is what I get in addition to the first failure:

: command not foundine 142:
: command not foundine 154:
: command not foundine 168:
: command not foundine 173:
: command not foundine 194:
: command not foundine 205:
: command not foundine 207:
: command not foundine 214:
: command not foundine 216:
: command not foundine 218:
: command not foundine 220:
'kesxiaio_3.9.sh: line 221: syntax error near unexpected token `{
'kesxiaio_3.9.sh: line 221: `function esxi_auto_a(){
gary@gary-desktop:~/esxi$

When I downloaded the file, I made sure to put it into a new folder to ensure I did not use the old one by mistake. I also took the .conf file again just in case.

-Gary


Sun Feb 07, 2010 11:48 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
Hmm strange

and you start the file use ./filename ?

_________________
Dovie'andi se tovya sagain,



Sun Feb 07, 2010 11:55 am
Profile WWW

Joined: Sun Feb 07, 2010 6:03 am
Posts: 5
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
When I try the ./ I get an error, but the sudo bash seems to run:

gary@gary-desktop:~/esxi$ sudo ./mkesxiaio_3.9.sh
sudo: unable to execute ./mkesxiaio_3.9.sh: No such file or directory
gary@gary-desktop:~/esxi$ sudo bash mkesxiaio_3.9.sh


chmod +x was also run to make the .sh executable.

-Gary


Sun Feb 07, 2010 11:57 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
I just tried wget http://zedde.mine.nu/esxi/mkesxiaio_3.9.sh

then bash mkesxiaio_3.9.sh

I got the first version question and then the first menu

_________________
Dovie'andi se tovya sagain,



Sun Feb 07, 2010 11:59 am
Profile WWW

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
To run it with just ./ you need to chmod +x first

_________________
Dovie'andi se tovya sagain,



Sun Feb 07, 2010 12:02 pm
Profile WWW

Joined: Sun Feb 07, 2010 6:03 am
Posts: 5
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
That worked! I am in the first menu (much farther then I have been before!).

Thanks! I will see how far I get, and hopefull post a success story!

-Gary


Sun Feb 07, 2010 12:03 pm
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
Good luck

_________________
Dovie'andi se tovya sagain,



Sun Feb 07, 2010 12:07 pm
Profile WWW

Joined: Sun Feb 07, 2010 6:03 am
Posts: 5
Reply with quote
Post Re: mkesxiaio_3.9.sh script will not run
Success!!

ESXi 4.0 Update 1 is installed on a EVGA X58 SLI LE, with the onboard Reatek NIC. I am installing my first VM on the ESXi server (over the network using VMWare Go) as I type this.

Thank you very much for the help!

-Gary :mrgreen:


Sun Feb 07, 2010 1:15 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.