Author |
Message |
TheKlipper
Joined: Sun Feb 07, 2010 6:03 am Posts: 5
|
 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 |
|
 |
Varazir
Joined: Wed Mar 18, 2009 1:32 pm Posts: 455 Location: Sweden
|
 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 |
|
 |
TheKlipper
Joined: Sun Feb 07, 2010 6:03 am Posts: 5
|
 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 |
|
 |
Varazir
Joined: Wed Mar 18, 2009 1:32 pm Posts: 455 Location: Sweden
|
 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 |
|
 |
TheKlipper
Joined: Sun Feb 07, 2010 6:03 am Posts: 5
|
 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 |
|
 |
Varazir
Joined: Wed Mar 18, 2009 1:32 pm Posts: 455 Location: Sweden
|
 Re: mkesxiaio_3.9.sh script will not run
I just tried wget http://zedde.mine.nu/esxi/mkesxiaio_3.9.shthen 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 |
|
 |
Varazir
Joined: Wed Mar 18, 2009 1:32 pm Posts: 455 Location: Sweden
|
 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 |
|
 |
TheKlipper
Joined: Sun Feb 07, 2010 6:03 am Posts: 5
|
 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 |
|
 |
Varazir
Joined: Wed Mar 18, 2009 1:32 pm Posts: 455 Location: Sweden
|
 Re: mkesxiaio_3.9.sh script will not run
Good luck
_________________Dovie'andi se tovya sagain,
|
Sun Feb 07, 2010 12:07 pm |
|
 |
TheKlipper
Joined: Sun Feb 07, 2010 6:03 am Posts: 5
|
 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 
|
Sun Feb 07, 2010 1:15 pm |
|
|