+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
*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 ...
  1. #1
    pwds's Avatar
    Join Date
    Dec 2008
    Location
    Derby
    Posts
    279
    Thank Post
    73
    Thanked 48 Times in 38 Posts
    Rep Power
    20

    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.

  2. #2
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    If your using server edition:

    Quote Originally Posted by Ubuntu Wiki
    Network Upgrade for Ubuntu Servers (Recommended)


    Install update-manager-core if it is not already installed:
    sudo apt-get install update-manager-core
    Launch the upgrade tool:
    sudo do-release-upgrade
    Follow the on-screen instructions.

  3. 2 Thanks to Arcath:

    pwds (31st March 2010), RabbieBurns (31st March 2010)

  4. #3
    pwds's Avatar
    Join Date
    Dec 2008
    Location
    Derby
    Posts
    279
    Thank Post
    73
    Thanked 48 Times in 38 Posts
    Rep Power
    20
    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.

  5. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,692
    Thank Post
    352
    Thanked 797 Times in 716 Posts
    Rep Power
    347
    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.

  6. #5
    painejake's Avatar
    Join Date
    Jan 2009
    Location
    Birmingham
    Posts
    100
    Thank Post
    38
    Thanked 8 Times in 8 Posts
    Rep Power
    14
    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 11:00 AM.

  7. #6
    pwds's Avatar
    Join Date
    Dec 2008
    Location
    Derby
    Posts
    279
    Thank Post
    73
    Thanked 48 Times in 38 Posts
    Rep Power
    20
    Vanilla image, that's why it's so baffling.

    Are you looking for screenshots showing the failed connection attempts or taken during the upgrade?

  8. #7
    painejake's Avatar
    Join Date
    Jan 2009
    Location
    Birmingham
    Posts
    100
    Thank Post
    38
    Thanked 8 Times in 8 Posts
    Rep Power
    14
    Quote Originally Posted by pwds View Post
    Are you looking for screenshots showing the failed connection attempts or taken during the upgrade?
    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 )

    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 01:13 PM.

  9. #8
    lor
    lor is offline

    Join Date
    Aug 2010
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.
    Chris

  10. #9

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,525
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    199
    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?

  11. #10
    scholarpack's Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    191
    Thank Post
    12
    Thanked 30 Times in 20 Posts
    Rep Power
    38
    Quote Originally Posted by RabbieBurns View Post
    Could it be that its just not auto-starting the SSH service after it does the upgrade?
    Sounds a very likely cause

  12. #11

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,646
    Thank Post
    1,255
    Thanked 781 Times in 678 Posts
    Rep Power
    236
    Quote Originally Posted by lor View Post
    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.
    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.

    --
    David Hicks

  13. #12
    lor
    lor is offline

    Join Date
    Aug 2010
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Does seem to be a kernel problem. All versions of Ubuntu up to and including 9.1 will run on the default kernel, 2.6.27.39-20091124a .
    Any other kernel seems to stop the server booting.
    Any image above 9.1 will not work at all.
    Chris

  14. #13

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,646
    Thank Post
    1,255
    Thanked 781 Times in 678 Posts
    Rep Power
    236
    Quote Originally Posted by lor View Post
    Does seem to be a kernel problem.
    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?

    --
    David Hicks

  15. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Xen as a Dom0 is not supported in Ubuntu 10.04 (Lucid Lynx) by Canonical.

    http://jdpfu.com:82/2010/05/14/ubunt...d-xen-dom0-not

  16. #15

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    And here's more info into the whys and wherefores.

    https://bugs.launchpad.net/ubuntu/+s....3/+bug/301102

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [Fedora] SSH Problems
    By Gatt in forum *nix
    Replies: 11
    Last Post: 11th February 2009, 09:55 AM
  2. Batch files for ssh/linux...
    By boomam in forum *nix
    Replies: 4
    Last Post: 13th November 2008, 11:25 AM
  3. Reverse proxying SSH...
    By Joedetic in forum Wireless Networks
    Replies: 7
    Last Post: 6th August 2007, 11:56 AM
  4. SSH Client for Windows Mobile 5
    By Joedetic in forum Windows
    Replies: 5
    Last Post: 23rd June 2006, 01:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •