Ugh just about sums up my weekend. I spent most of Saturday day, all of Saturday night, and almost all of Sunday, upgrading Ted, the computer that runs axkit.org.
This was problematic for a few reasons:
1. I could no longer get security updates for the version of Linux I was running (Mandrake 7.0). This upsets me a lot, but I guess you get what you pay for (yeah, I know MS also deprecates versions of their OS, so I guess the whole world sucks today
2. I don't own a CD burner, so no CD upgrades. Must be a network upgrade.
3. I wanted to move to an "apt" capable distribution. urpmi is nice, up2date is nice. apt is just nicer.
4. I wanted to play with KDE3. I have this on my laptop and it makes me more productive. Really.
5. I wanted to do the update directly via apt. This worked OK on my laptop so it would work ok on my server, right?
6. All this with minimal downtime required.
I decided to go for a completely new Linux distribution - Conectiva Linux. They are the guys who ported apt to support rpm (instead of dpkg) and they're fully behind apt - to the point that their snapshot distribution is available via apt. So that's what I went for - Conectiva Snapshot. (oh, and Conectiva are so far the only guys who ship AxKit with their distro
So I installed apt and set about doing the upgrade. It took most of the day to download the 500 rpms that needed updating, then a good couple of hours sorting out the broken dependencies. Finally it installed everything. I did a lot of checks to make sure it would come back up, and rebooted. Up she came. But no X. Next time up everything seemed OK, and I installed some necessary bits and bobs to get X up. I got a few lock ups along the way, but I dismissed them as configuration issues that I would iron out.
Once I got X up, I discovered that I couldn't su. It just locked up solid. I tried from the console. Same thing. Then I tried logging on multiple times - and got lock ups once again. Eventually I found out that it was
ioctl(0, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo
...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) ---
--- SIGTTOU (Stopped (tty output)) ---
Over and over and over ad-infinitum.
A search revealed very little - two people had the same problem but with different setups. Two. Bizarre. I'd never seen such strangeness. And I had no idea what SNDCTL_TMR_CONTINUE on STDOUT was supposed to do (there are no docs to be found on this).
I did everything to try and debug this. I installed different kernels (including the stable Red Hat linux 7.2 one). I re-installed RPMs. I recreated
Of course, as always happens, I woke up with ideas. I completely cleaned out
So after that I just had to get everything working again that wasn't RPM based: Perl, Apache, mod_perl, AxKit, qmail, firewall, tinydns, courier imapd, and a few other bits. Oh and of course make sure everything worked from both inside and outside the network.
Well it all took me way too long, but I'm very happy with the results. My desktop feels much faster - like a new computer. I'm now on Perl 5.6.1 (after all that time on 5.00503). And I'm running KDE3 here, which is nice to use.
After all that, our radiators have been making a hell of a racket lately. So I ventured up into the loft to check out the header tank. Needless to say it was full of crap. So I emptied it with a bucket (because I didn't want to send all the crap down the system) and now will have to get some radiator flush. My hands are now full of fibreglass splinters from moving the insulation around.
Ugh.
And now you know... (Score:1)
That being said, I'm going to order Suse Linux 8.0 when it comes out on April 22nd (or maybe I'll just buy it at the store). Easy installation, KDE 3, the works. Dunno if it comes with AxKit or not, though. :)
Re:And now you know... (Score:2)
Personally though I've had exactly the same sorts of problems with various forms of Windows over the years. Only you don't really get a chance to debug it with Windows, so you're stuck with one option: reformat and start again. I don't know anyone who would do a major
Re:And now you know... (Score:2, Interesting)
I'm also intrigued with OSX as it seems to have the best of both worlds, though I would rather BeOS had done wel
Axkit only in Conectiva? (Score:2, Informative)
That's not true. Debian has Axkit in both 'testing' and 'unstable'.
> apt-cache show axkit
Package: axkit
Priority: optional
Section: web
Installed-Size: 1000
Maintainer: Ardo van Rangelrooij
Architecture: i386
Version: 1.5-1
Depends: perlapi-5.6.1, perl (>= 5.6.1-7), libapache-mod-perl, libapache-filter-perl, libapache-requ est-perl, libcompress-zlib-perl, libdigest-md5-perl, liberror-perl, libhttp-ghttp-perl | libw
-biz-
Re:Axkit only in Conectiva? (Score:2)
I think it's not that I don't like debian, but I don't like their installer. The concept of apt definitely has me won over.
Re:Axkit only in Conectiva? (Score:2, Informative)
I was reading your comments, and all through it, I was thinking how debian would have made your life easier. Granted that the installer might not be up to your expectations, but you are going to install the system just once. And you'll never have to reinstall again (just do incremental upgrades).
Re:Axkit only in Conectiva? (Score:1)
Re:Axkit only in Conectiva? (Score:2)
The biggest problem with switching Ted to debian would be you can't (easily) cross upgrade a system from RPM to DPKG. It just plain won't work as far as I can guess. So I picked the next best option. Actually maybe I picked the best option - I'll let you know