IT

switching servers

572 days were accounted for in the output of uptimed but I had this same Linode allocated to me since oct 20th 2008, thats about 30 months that it has been up and run a variety of distros starting with Gentoo, then CentOS 5, Debian, and now I am switching to a new linode running Ubuntu server LTE 10.04.


root@steni / $uprecords
     #               Uptime | System                                     Boot up
----------------------------+---------------------------------------------------
     1   236 days, 23:10:44 | Linux 2.6.18.8-x86_64-li  Tue Oct 27 18:48:32 2009
     2   220 days, 09:51:07 | Linux 2.6.18.8-x86_64-li  Mon Jun 21 19:00:39 2010
     3   109 days, 15:10:44 | Linux 2.6.18.8-x86_64-li  Fri Jul 10 00:29:42 2009
->   4    11 days, 05:28:18 | Linux 2.6.18.8-x86_64-li  Fri Jan 28 09:14:53 2011
----------------------------+---------------------------------------------------
1up in    98 days, 09:42:27 | at                        Wed May 18 01:28:29 2011
no1 in   225 days, 17:42:27 | at                        Thu Sep 22 09:28:29 2011

The justification for deploying to another server instead of keeping this one came from the fact that I wanted to switch to a 32bit OS and also wanted to run Nginx ...

 

Dvorak Keyboards

I saw a article on Dvorak Keyboards today and i had to give them a try.
(btw, this article is also being typed on a querty keyboard, it wasn't that easy to pick up after all.)

I knew about Dvoark for some time but I have never bothered to try it before, but I was sold when I read that when using Dvorak, 70% of the keystrokes were on the home row as opposed to 32% with qwerty. Also, to improve the speed that people type, the vowels are on one side of the keyboard so that you can alternated from right and left hands when you type words with alternating vowels and constants.

I decided to jump in and add the keyboard layout for Dvoark and used http://learn.dvorak.nl/ to practice typing. I was surprised how many words that were type able with out moving your fingers off the home keys. At the end I was given a summary of how I did. In my defense, there might be a couple of minutes counted in there when I was changing the keyboard layout but I might of refreshed before I started. Regardless, either way I have ...

 

Syncing a Nokia N95 with Ubuntu Lucid Lynx aka 10.4

Getting your SyncML phone working with Ubuntu just got a lot harder in their newest release, but fortunately it is still possible with a bit of work.  In the latest release, they moved from libsoup 2.2 to 2.4 and didn't leave the old version in the repositories, so to get it working, you need to download the .deb packages for karmic and install them side by side.


When installing libsyncml0, i had to install libwbxml2-0 which can be gotten from aptitude.  Also there are a couple of other programs you should also get.

So, to get your phone working (in my case a Nokia Symbian 3rd edition phone) you need to do the following things.

aptitude install libwbxml2-0 multisync-tools multisync0.90 opensync-plugin-evolution


and then install the deb packages from the previous links in their listed order.  From there on you can use hcitool scan to get the MAC address of your phone, and then sdptool browse MAC to make sure that your phone uses channel 10 for syncing with SyncML.

After you have that information you can go ...

 

django cisco phonebook

Yesterday I was fooling around with python and trying to serve
some XML to a Cisco 7960 I have.  I spent a lot of time getting
my web server set up to serve a dynamic XML page which I could pop
my phone book information into and when I finally got it done it
wouldn't work.  Searching online I found out that the latest
firmwares from Cisco, 9.*, has a couple of bugs in it dealing with
XML.  Unfortunately I don't remember where I found this information
but I can give out the sparks notes on what I saw.

When I was served the page from a web server, if it responded
HTTP/1.0 OK, no good, the phone would only accept if it was
HTTP/1.1 .  I was getting some cryptic 404/BTXML errors but I could see
that the files were fine by loading it on to the production
server as a static file. Sure enough the phone was able to parse
it, so I actually moved the dynamic parts to the production
server to see if it would work as well.

After moving it, the phone can read it fine but I am ...

 

Overview of Unix Process Managers

When you first turn on your computer the BIOS kicks in and searches for instructions on your master boot record or MBR. From there it is able to locate the boot loader which in turn figures out which kernel to run and then loads it into memory and that is the point you start actually running your flavor of UNIX. At this stage your computer is just running a kernel and has no interactivity or running services.

You are most likely used to using your computer to do something, and to do that, you need to run processes. While at this point you could have your computer launch a shell, you would still have a lot of setting up to do such as mounting hard drives, bringing up your network adapters, starting services, launching a GUI or what ever else you want to do. This is tedious and beyond the ability of most people so instead of running a shell the first process your computer runs is some kind of process manager. Traditionally this has been the init program which is the parent of every process that is executing.

Init is controlled by a handful of scripts that in turn ...

 

fileserver woes <Solved>

My filesyserver at home is a opensolaris box using raidz under zfs and right now it is having some problems. Recently I had to replace a drive that did not fail but it was making some clicking noises. After repplacing it the first resilver left me with an error about a snapshot that i didn't need being damaged. okay i can live with that, so i just need to delete the snapshot and bring the pools redundancy back up. well, it reslivered everything, but it didn't seem like the pool was running completely. i cleared the error and it started to resilver again. same thing happened again but now i am getting a warning for something else <0x5c>:<0x64d62> and now the resilver is going past 100% and copying more then the amount of data i have. some posts online suggest disabling snapshots because they are keeping it from completing. didnt work so i reboot the computer and when it comes back online it starts resilvering automatically. again it goes to 100% and keeps working but this time it takes two files with it, the one before and <0x2b3>:<0x64d62>. looking to another post i see to upgrade ...

 

about the server

Just sent to PROD a copy of my personal site.  PROD is a 20$ vps currently hosting two websites and it is running open source software which is important.  thanks to jamescarnley[http://jamescarnley.com] for doing some beta testing.