*nix Thread, Upgrade via SSH in Technical; I have purchased some dynamic cloud hosting and imaged it to Ubuntu 8.04 LTS- the latest Ubuntu OS available from ...
31st March 2010, 01:22 AM #1
Upgrade via SSH
I have purchased some dynamic cloud hosting and imaged it to Ubuntu 8.04 LTS- the latest Ubuntu OS available from the host.
I've been trying to upgrade it to 9.10 via SSH but had several unsuccessful attempts where I've had to start again.
I've been trying to update within the version and then do-release-upgrade from the most up to date subversion, after do-release-upgrade reboot I lost the ability to connect to the server via SSH.
Similarly just doing do-release-upgrade without the apt-get upgrade broke the server between 9.04 and 9.10.
Can anyone give me any advice on upgrading within SSH?
Sadly waiting for 10.04 LTS on 29th April isn't really an option at the moment.
31st March 2010, 09:52 AM #2
If your using server edition:
Originally Posted by Ubuntu Wiki
2 Thanks to Arcath:
pwds (31st March 2010), RabbieBurns (31st March 2010)
31st March 2010, 11:50 AM #3
That is in fact exactly what I'm doing.
I have on several attempts rebooted when prompted and found I subsiquently could not SSH into the machine. I could ping it but not SSH.
Even allowing half an hour for boot it was unavailable.
Where I may be going wrong is opting to package maintainers versions instead of the default action of keeping the file on the computer.
Other that I'm at a loss as to why I'm losing server access.
31st March 2010, 11:52 AM #4
I take it you don't have out of band management of the system to see what is happening here?
I can run through a 8.04-LTS to 9.10 upgrade here in a VM if you want me to see if I get the same issues?
Can you issue dpkg -l > blah.txt and PM/email me the content of this so I can be running the same apps you have.
31st March 2010, 11:53 AM #5
Can you telnet onto the box at all? Or are you in any position to attach a screen and see what error messages are cropping up?
Last edited by painejake; 31st March 2010 at 12:00 PM.
31st March 2010, 12:59 PM #6
Vanilla image, that's why it's so baffling.
Are you looking for screenshots showing the failed connection attempts or taken during the upgrade?
31st March 2010, 01:59 PM #7
If you could get any errors that output through the upgrade it could help alot (However re-reading it would be hard to attach a screen to the cloud )
Originally Posted by pwds
Im sure i have read about some issues upgrading to 9.10 via ssh on the ubuntu forums let me see if i can dig up the posts again..
Edit: Btw could you telnet into it at all?
This any help too? http://alestic.com/2009/10/how-not-t...-on-amazon-ec2
Last edited by painejake; 31st March 2010 at 02:13 PM.
25th August 2010, 06:16 PM #8
- Rep Power
I'm glad to see someone has exactly the same problem as me. Now I am trying to upgrade from 8.04LTS to 10.04LTS on my cloud server but loose all connection to the box even though status says online. As the only way I can control it is via ssh the only thing I can do is a remote reformat to 8.04LTS. I can then ssh into the box and try the upgrade again but each time I loose ssh.
Can anybody help please.
27th August 2010, 11:31 AM #9
Could it be that its just not auto-starting the SSH service after it does the upgrade?
Perhaps manually adding it to the start up after the upgrade finishes but before you reboot?
Have you checked the ubuntuforums.com to see if this is a common issue?
27th August 2010, 12:39 PM #10
Sounds a very likely cause
Originally Posted by RabbieBurns
27th August 2010, 01:40 PM #11
What virtualisation system does your cloud providor use? Many (e.g. Amazon) use Xen, with Linux running as a "paravirtualised" VM. This requires a Linux kernel compiled with Xen support. 2.6.18 and 2.6.26 are commonly available (because they're available from Debian), but Ubuntu 10.04 requires a newer kernel version, otherwise you get an error on boot and it drops in to busybox (so your VM still looks like its running, but it isn't really doing anything). I just solved this problem by using Debian instead of Ubuntu for our virtual machines, which probably doesn't help you much.
Originally Posted by lor
27th August 2010, 08:40 PM #12
- Rep Power
Does seem to be a kernel problem. All versions of Ubuntu up to and including 9.1 will run on the default kernel, 18.104.22.168-20091124a .
Any other kernel seems to stop the server booting.
Any image above 9.1 will not work at all.
29th August 2010, 07:52 PM #13
Is there anywhere that hosts newer Xen-enabled kernels, or do we have to compile our own? Is there a guide / easy-to-use system for compiling your own Xen-enabled Ubuntu kernel, and does anyone know how much diskspace it takes to do so?
Originally Posted by lor
2nd September 2010, 02:03 PM #14
Xen as a Dom0 is not supported in Ubuntu 10.04 (Lucid Lynx) by Canonical.
2nd September 2010, 03:14 PM #15
Last Post: 11th February 2009, 10:55 AM
Last Post: 13th November 2008, 12:25 PM
By Joedetic in forum Wireless Networks
Last Post: 6th August 2007, 12:56 PM
By Joedetic in forum Windows
Last Post: 23rd June 2006, 02:16 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)