. mombe.org
home of the mad cow
  Not A Blog
noop :: systems :: hardy
 

Sunday, May 25, 2008

Ubuntu 6.06 LTS to 8.04 LTS on a Xen VPS

I've just upgraded the server hosting this blog from Dapper (6.06 LTS) to Hardy (8.04 LTS). I started by following the instructions, which seemed simple enough.

Unfortunately, as apt started processing the post-install configurations I started seeing a lot of errors Lots of packages (apache, mysql, amavis, etc) had --configure fail with errors like:

Segmentation fault
dpkg: error processing w3m (--configure):
 subprocess post-install script returned error exit status 139

Googling the problem produced this, which suggested the problem was related to the fact that the machine in question was a VPS running under Xen. The suggested solution was to uninstall libc6-i686 and replace it with libc6-xen. Unfortunately I didn't have libc6-i686 installed, and installing libc6-xen didn't help ...

After much head scratching and experimentation, I stumbled across the answer. Or more realistically, I figured out what the failing packages had in common and it triggered a distant memory. All the packages use crypto of some form. SSl or TLS. And I vaugely remember that Xen has a problem with TLS that I had to fix in 6.06.

The suggested solution is to rename /lib/tls to /lib/tls.disabled. I'd already done this in the past (the directory was there as evidence), but the 8.04 upgrade had replaced /lib/tls. Sure enough, removing the directory fixed the problems :-) I then installed libc6-xen, which put in a Xen-friendly /lib/tls.

posted by guy at: 23:58 SAST | path: /systems | permanent link

Bloxsom Powered

© 2002-2005, webmaster@mombe.org
 
 
RSS Valid XHTML 1.0!

Creative Commons License