Archive for the ‘Ubuntu’ Category

How to fix an inaccessible ec2 instance after upgrading to Ubuntu 10.04

Monday, May 31st, 2010

I’ve been hosting this server on an EC2 instance since New Year. Over the long weekend I decided to upgrade it to Ubuntu 10.04. When all the upgrade is done and the instance is restarted, I find myself locked out of the server – can’t ssh, can’t even ping. The instance actually fails to boot up (I found out about that by attaching the root volume to another instance and examining the logs). So it’s clearly a mismatching kernel issue – the instance still boots with the 9.10 stock kernel, which wouldn’t work when the rest of the system has been upgraded to 10.04.

I fixed the problem by following Eric Hammond’s article on how to Move a Running EBS Boot Instance to New Hardware on Amazon EC2. His original article was for scenarios where the instances become inaccessible due to power failures, but the methodology worked out in my case just fine.

Hardy to Intrepid

Sunday, November 2nd, 2008

I was planning on giving it a week before upgrading my desktop to the new Ubuntu 8.10 Intrepid Ibex, but couldn’t find better things to do on the mild sunny classic Virginian Saturday afternoon than hunching over a computer in the darkest corner of a basement… more…

Ubuntu 8.04 Upgrade Goes Well, Not Without Issues

Saturday, May 3rd, 2008

Upgraded from 7.10 to 8.04 last week. The Upgrade went quite smooth, especially considering I have been running a mixed kde 4/kde 3 setup, with the kde 4 pulled directly from the kde.org repo.
more…

Dual-booters, beware the XP installer.

Monday, November 5th, 2007

About this time last year, I decided to switch to Linux. I lived happily ever after in (K)Ubuntu, with my original Windows still kept around (one word: games). So after upgrading my workhorse desktop at home a couple of weeks back, I had the opportunity to reinstall both OS’s in a dual-boot setup. The experience from the two setup processes was unbelievably radically different. more…

Watch out when you move /var in Ubuntu

Thursday, June 14th, 2007

When I was installing my Ubuntu, there was this part where an experienced admin would spend some time devising a plan for which part of file system should be mounted from which partition. I decided to skip it and kept everything except /home on one single partition – just to keep it simple. Well, at an unfortunate moment during the past weekend, it suddenly hit me that I should stop being such a noob, and “make things proper”. more…

Ubuntu Network Manager – Feisty… Fowl-up?

Wednesday, April 25th, 2007

I couldn’t wait until the Feisty release, and upgraded to the beta a couple of weeks before the release date. Everything else went through quite well, except for the new Network Manager. more…

Build Subversion 1.4.3 in Ubuntu Edgy

Sunday, February 11th, 2007

You’d (I did) think now that we have all figured out how to build 1.4.2 in Edgy, building 1.4.3 should be just some rather boringly repeated procedure. Nope.

For the APR and APR-UTIL packages required by subversion, there are libapr0, libapr1.0, and libapr1 and their corresponding libaprutil* in Synaptic. Despite that the libapr0 description says that it is “currently used by Apache2, Subversion…”, or that 1.4.2 was happily built with libapr1.0, you want to get libapr1/libapr1-dev/libaprutil1/libaprutil1-dev, and use this configure line: (I don’t care much about accessing through webdav)

  1. ./configure --with-ssl --with-apr=/usr/bin/apr-config --with-apr-util=/usr/bin/apu-config

Build Subversion 1.4.2 in Ubuntu Edgy

Saturday, January 6th, 2007

The standard Ubuntu repository has only 1.3.2. Higepon’s tips worked very well. In addition to the packages listed, I had to also install ‘expat-dev’.

My Ubuntu Experience: Email

Monday, January 1st, 2007

Oddly, in this age of GUI, I’m seriously thinking about using mutt to handle emails. I tried both Evolution and Thunderbird. Neither turned out satisfactory at handling the multiple IMAP accounts I have. The Linux version of Thunderbird is particularly slow – compared to the Windows version. more…

My Ubuntu Experience: I Broke It!

Saturday, November 18th, 2006

So after getting myself comfortable enough in the new Ubuntu home, I thought it was time to expand it – quite literally – I wanted to carve a new partition out of what was now one big 66GB NTFS partition, and to move /home to there so that it would be kept separately from the rest of the system. more…