Ubuntu 10.04 LTS to 12.04 LTS upgrade

I ran a few servers that were Ubuntu 10.04 LTS.  I decided I’d upgrade them to 12.04 LTS now that its out.  Though this doesn’t have anything to do with PeopleSoft, I figured I’d post the how to anyhow.  Here are the steps:

  • Make a backup of what ever you may need for how ever you use your machine.
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install update-manager-core
  • confirm Prompt=lts set in /etc/update-manager/release-upgrades
  • sudo do-release-upgrade -d ; #follow the prompts during the upgrade process.  There may be several depending on your installed applications
  • Your done

I have two items to note after the upgrade. I had to update my squid config.  squid3 was installed, previously I was running squid2.7.  Well the paths changed so my old config was in /etc/squid and the new config was in /etc/squid3 so I had to update that.

The other had to do with the NFS server not being upgraded properly. I found some bug documented about this but it said it was fixed a while ago.  For whatever reason things didn’t work for me so here is what I did to fix it.

After the upgrade all my clients were getting the following buffer overflow

*** buffer overflow detected ***: mount.nfs terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x7fd66ae77c9f]
mount.nfs[0x7fd66b30cb6c]
mount.nfs[0x7fd66b309dc6]
mount.nfs(main+0x5b8)[0x7fd66b30a468]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x7fd66adae994]
mount.nfs[0x7fd66b309729]

I forced rpcbind to install to get me on track

$sudo apt-get install rpcbind
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libtirpc1 nfs-common
The following packages will be REMOVED:
portmap
The following NEW packages will be installed:
libtirpc1 rpcbind
The following packages will be upgraded:
nfs-common

$sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
nfs-kernel-server
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

After that, no more problems from NFS.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *