TurnKey Linux Virtual Appliance Library

Webshell Connection closes unexpectedly

Jomy Muttathil's picture
When I connect to my server via webshell, it works initially and allows me to enter a username and password. I get the whole Ubuntu into message but the I get "Session closed." Any ideas? I am running the LAMP appliance on a Rackspace Cloud VPS. Everything else is working great: Webmin, PhpMyAdmin, etc...
Liraz Siri's picture

How did you get TurnKey on Rackspace?

Sorry for the late reply. We were in a fierce development cycle for TKLBAM (our new automated backup/restore service) and after slipping the schedule a few times cut the cord with the rest of the world to focus on pushing it out. Announcement next week.

Anyhow, it sounds like you're having a problem reaching the shell. That might be a login restriction (e.g., pointing root to /usr/sbin/nologin) of some kind.

BTW, supporting Rackspace has been on our todo list for a while now. I didn't know we already had users there! If I knew more about how the appliance got there I might be able to help you out. Maybe something got lost in the translation.

Jomy Muttathil's picture

Back to the matter at hand...

Anyhow, it sounds like you're having a problem reaching the shell. That might be a login restriction (e.g., pointing root to /usr/sbin/nologin) of some kind.

I'll be perfectly honest.  I'm a bit of a noob at this stuff and learning as I go.

The webshell was working great at first when I first set up the TKL server.

I'm not sure at what point it may have been broken.

I did update Webmin and install a remote monitoring tool(istatd).  I'm not sure if one these installs may have caused the problem.

Due to my lack of experience with this stuff I'm not even sure where to start looking.

Jomy Muttathil's picture

How I got TKL on Rackspace

It is basically a 3 Step process:

1.  Install TKL on a local virtual machine.

a.  After installation, shut down the VM(we want it to run for the first time on the RSC not in the local VM.

b.  Mount the VM disk image to your local file system so you can copy to files.

2. Create a Rackspace Cloud Server using the the same distro.

a. Use the RSC web interface to create a new cloud server using Ubuntu 8.04.3 LTS

3. Put the RCS into recovery mode and replace the contents of the RCS image with your local TKL image.

a. Put the newly created cloud server into recovery mode.

b. Mount the server image on the recovery server

c. copy the /etc/network/interfaces file from the cloud server to your local machine.

d. delete the entire contents of the cloud server's disk image

e. install rsync on the recovery server

f. replace the interfaces file from the local VM disk image with the one from the cloud server.

g. use rsync to copy your TKL image to the empty disk image on the recovery server

h. unmount the server image

i. exit recovery mode.

When the server reboots you should have a fully functional Turnkey Linux installed on a Rackspace Cloud Server.

 

Liraz Siri's picture

Wow that's complex

I can't see anything in here that would prevent webshell from working...

BTW, that's a hell of a process you just described. I'm impressed you went to all that trouble to get TurnKey on Rackspace! Don't worry we intend to make this a fully automated one step process supported by the Hub. So you'll get the same wonderful usage experience but won't have to go to all this trouble.

Jomy Muttathil's picture

On a side note...

I participated in the Turnkey hub private beta and had a wonderful experience.  The only problem was that Amazon was too expensive for me.  At rackspace I am only paying 1.5 cents/hour vs. 8.5 cents/hour at Amazon.  This forced me to move to rackspace.

Basil Kurian's picture

.

Have you checked that webshell immedietly after transfering files from VM to cloud ?


Jomy Muttathil's picture

Yes everything was working initially

 

Yes everything was working initially (Webmin, Webshell & PHPMyAdmin).
 
At some point it stopped.  Since I normally use a different terminal app, I am not certain at what point it stopped working.
Basil Kurian's picture

offtopic

Are you from Kerala (India) . On seeing your name I feel so. Just a matter of curiosity :)


Jomy Muttathil's picture

South India born and raised...

Yes I was born in Kerala, have been in the USA since 1978.

Where are you?

Basil Kurian's picture

I 'm also a Keralite ... :)

I 'm also a Keralite ... :)


Liraz Siri's picture

Yes, Rackspace supports smaller instance sizes

In Amazon's defense for 8.5 cents you get a much larger machine than you get on Rackspace for 1.5 cents. I admit though I wish Amazon EC2 supported smaller instance sizes. In my opinion 1.7GB RAM and 160 GB storage as a starting point is too large for some low-end usage scenarios. Eventually we'll support all the major cloud providers so if Amazon doesn't support this you'll be able to get it from someone who does.

this is what is stopping me using turnkey

I love my turnkey lamp for web development - but ec2 is just too expensive - and my small business clients cannot pay for it. they get max 50 - 100 visitors a day.

rackspace 256mb ram instance is just what they need.

I end up using dreamhost URGH!!!

CANNOT wait for rackspace support on hub

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)