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...
Forum: 
Liraz Siri's picture

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

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

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

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

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.

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

Jomy Muttathil's picture

 

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.

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

Jomy Muttathil's picture

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

Where are you?

I 'm also a Keralite ... :)

Liraz Siri's picture

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.

Add new comment