Problem with Amahi-Ubuntu Install in Virtualbox

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Problem with Amahi-Ubuntu Install in Virtualbox

Postby hec1152 » Tue Nov 20, 2012 9:00 am

I'm trying to install Amahi ubuntu under Virtualbox in preparation for moving to actual hardware. Following instructions here at http://docs.amahi.org/ubuntu-12.html install goes uneventfully until I get to the wget for the amahi installer. When I run installer, I get:

hec@Geordi:~$ sh install-amahi
install-amahi: 2: install-amahi: Syntax error: newline unexpected

I suspect that the download didn't work as expected. Here's the info from that process:

hec@Geordi:~$ wget http://u12/amahi.org/install-amahi
--2012-11-20 10:40:31-- http://u12/amahi.org/install-amahi
Resolving u12 (u12)... 67.215.65.132
Connecting to u12 (u12)|67.215.65.132|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://guidetest.a.id.opendns.com/?url= ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://guidetest.a.id.opendns.com/?url= ... ll%2Damahi
Resolving guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)... 67.215.67.10
Connecting to guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.guidetest.b.id.opendns.com/? ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.guidetest.b.id.opendns.com/? ... ll%2Damahi
Resolving w10.guidetest.b.id.opendns.com (w10.guidetest.b.id.opendns.com)... 67.215.67.10
Connecting to w10.guidetest.b.id.opendns.com (w10.guidetest.b.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.guidetest.c.id.opendns.c ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.w10.guidetest.c.id.opendns.c ... ll%2Damahi
Resolving w10.w10.guidetest.c.id.opendns.com (w10.w10.guidetest.c.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.guidetest.c.id.opendns.com (w10.w10.guidetest.c.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.w10.guidetest.d.id.opend ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.w10.w10.guidetest.d.id.opend ... ll%2Damahi
Resolving w10.w10.w10.guidetest.d.id.opendns.com (w10.w10.w10.guidetest.d.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.w10.guidetest.d.id.opendns.com (w10.w10.w10.guidetest.d.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.w10.w10.guidetest.e.id.o ... ll%2Damahi [following]
--2012-11-20 10:40:32-- http://w10.w10.w10.w10.guidetest.e.id.o ... ll%2Damahi
Resolving w10.w10.w10.w10.guidetest.e.id.opendns.com (w10.w10.w10.w10.guidetest.e.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.w10.w10.guidetest.e.id.opendns.com (w10.w10.w10.w10.hec@Geordi:~$ wget http://u12/amahi.org/install-amahi
--2012-11-20 10:40:31-- http://u12/amahi.org/install-amahi
Resolving u12 (u12)... 67.215.65.132
Connecting to u12 (u12)|67.215.65.132|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://guidetest.a.id.opendns.com/?url= ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://guidetest.a.id.opendns.com/?url= ... ll%2Damahi
Resolving guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)... 67.215.67.10
Connecting to guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.guidetest.b.id.opendns.com/? ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.guidetest.b.id.opendns.com/? ... ll%2Damahi
Resolving w10.guidetest.b.id.opendns.com (w10.guidetest.b.id.opendns.com)... 67.215.67.10
Connecting to w10.guidetest.b.id.opendns.com (w10.guidetest.b.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.guidetest.c.id.opendns.c ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.w10.guidetest.c.id.opendns.c ... ll%2Damahi
Resolving w10.w10.guidetest.c.id.opendns.com (w10.w10.guidetest.c.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.guidetest.c.id.opendns.com (w10.w10.guidetest.c.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.w10.guidetest.d.id.opend ... ll%2Damahi [following]
--2012-11-20 10:40:31-- http://w10.w10.w10.guidetest.d.id.opend ... ll%2Damahi
Resolving w10.w10.w10.guidetest.d.id.opendns.com (w10.w10.w10.guidetest.d.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.w10.guidetest.d.id.opendns.com (w10.w10.w10.guidetest.d.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://w10.w10.w10.w10.guidetest.e.id.o ... ll%2Damahi [following]
--2012-11-20 10:40:32-- http://w10.w10.w10.w10.guidetest.e.id.o ... ll%2Damahi
Resolving w10.w10.w10.w10.guidetest.e.id.opendns.com (w10.w10.w10.w10.guidetest.e.id.opendns.com)... 67.215.67.10
Connecting to w10.w10.w10.w10.guidetest.e.id.opendns.com (w10.w10.w10.w10.guidetest.e.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.website-unavailable.com/?wc= ... ll%2Damahi [following]
--2012-11-20 10:40:32-- http://www.website-unavailable.com/?wc= ... ll%2Damahi
Resolving www.website-unavailable.com (www.website-unavailable.com)... 208.69.32.136
Connecting to www.website-unavailable.com (www.website-unavailable.com)|208.69.32.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.website-unavailable.com attempted to set domain to www.website-unavailable.com
Length: 4122 (4.0K) [text/html]
Saving to: `install-amahi'

100%[======================================>] 4,122 --.-K/s in 0.03s

2012-11-20 10:40:32 (123 KB/s) - `install-amahi' saved [4122/4122]
guidetest.e.id.opendns.com)|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.website-unavailable.com/?wc= ... ll%2Damahi [following]
--2012-11-20 10:40:32-- http://www.website-unavailable.com/?wc= ... ll%2Damahi
Resolving www.website-unavailable.com (www.website-unavailable.com)... 208.69.32.136
Connecting to www.website-unavailable.com (www.website-unavailable.com)|208.69.32.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.website-unavailable.com attempted to set domain to www.website-unavailable.com
Length: 4122 (4.0K) [text/html]
Saving to: `install-amahi'

100%[======================================>] 4,122 --.-K/s in 0.03s

2012-11-20 10:40:32 (123 KB/s) - `install-amahi' saved [4122/4122]

What did I do wrong?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Problem with Amahi-Ubuntu Install in Virtualbox

Postby bigfoot65 » Tue Nov 20, 2012 10:05 am

Could be a corrupt download of the installer. I presume you are manually typing in:

Code: Select all

sh install-amahi
If not, try that as sometimes copy and paste pulls in extra characters. Also before you run the installer, do this to ensure you have connectivity:

Code: Select all

sudo apt-get update
Then once it's done, try the installer again.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Re: Problem with Amahi-Ubuntu Install in Virtualbox

Postby hec1152 » Tue Nov 20, 2012 12:19 pm

Yup. I typed in manually. I didn't use copy paste. Also tried your suggestion. Same result. Tried redownload (twice) but still no joy. Now what?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Problem with Amahi-Ubuntu Install in Virtualbox

Postby bigfoot65 » Tue Nov 20, 2012 12:28 pm

Do you have a good internet connection? Not sure what else you can do. If the install script is corrupt, you may need to pull it on a different machine and copy it across to the VM.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Re: Problem with Amahi-Ubuntu Install in Virtualbox

Postby hec1152 » Tue Nov 20, 2012 12:57 pm

Thanks. Decided to start over with new install from scratch. Everything worked right this time. Thanks for the help.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Problem with Amahi-Ubuntu Install in Virtualbox

Postby bigfoot65 » Tue Nov 20, 2012 3:18 pm

Good to hear. Sometimes starting over is best.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 23 guests