• The CD/DVD-Drive and the Paperclip (a.k.a. how to get your DVD out of your computer when the power is off)

    i-f4ce84bfa48c95db31fee8adca57a754-paperclip_before-thumb.jpg“D’arghhh!” said the man as he’d once again forgotten to take his favourite DVD out of his computer before turning the machine off. Now, he’d have to turn the power on to get the DVD out. Being a good man, he couldn’t possibly turn the power off until windows had fully started, the disk had ejected and he could use the windows software shutdown button, lest he damage his data. It looked as though he’d be leaving late again… unless he just goes without the DVD… hmm, he pondered momentarily.

    “But Wait!” said his friend, “you can still leave in a hurry AND take the DVD with you by using one of my magic paperclips”

    “Magic paperclips! Don’t make me laugh, I can’t get my DVD out of my computer unless I turn the power on” said the man dismissively.

    “Then watch, dear friend…”said the mans friend, as he bent the magic paper clip out of shape. He pushed one end of the part straightened paper clip into a little round hole on the front of the man’s CD/DVD drive,i-c00b69f068f924214ebb41694fee916f-paperclip_after-thumb.jpg

    “I’ve never noticed that hole before” said the man, at the same moment as the drive magically popped open revealing the much desired DVD. “Wow!” said the man.

    “You’re welcome”, said the friend, returning his quite ordinary but now mishappen paperclip back into his desk drawer.


  • Phases of Life

    I half mentioned before (my post about secret lives) how I’m finding that life goes in phases. For example, at the moment I am (once again) in my book reading phase. I’ve been devouring hundreds of pages a night in an effort to sleep (I’m also in my not sleeping phase, which, I remember having both phases in my teens).

    Last summer I had a running phase which stopped almost completely over Christmas but for which I felt the urge to start again last week (a 20 minute run was a killer!). I’m also back in an ATC Phase (I was an Air Cadet, now I’m at the local Air Cadet squadron as an instructor), I’m missing my Cycling phase (in my late teens I used to cycle miles, especially at weekends). My guitar phase is ongoing though without lessons and without having written any new songs.

    There’s another phase which I’ve been in for many years which I feel is about to end, at the same time I’m finding others are trying to start (hey, one day I will learn how to program in Java and write that game I’ve always wanted too).

    I’ve only noticed these phases as I’ve got older. When younger I guess I didn’t know any different. “Plus a Change, Plus C’est La Mme Chose” – remembering my French phase.

    Note to self: I’m sure this post isn’t very good English – even though the google spell check was happy. Perhaps I’m finally getting sleepy.


  • The Big Server Move

    Phew! What a Christmas. While many spent the time enjoying Christmas TV, I spent the time migrating from one web server to a new web server.

    Easy? I was hoping so. Way before the move, I installed RedHat on my laptop to test the setup to ensure it went smoothly. It worked fine so my 3 days (24 hours) of set aside time [to set up new server, copy across all the web sites (approx 10Gb of data), transfer IP addresses from old server to new server] seemed an over estimate.

    Unfortunately, a simple mistake in the file /etc/hosts stopped ColdFusion MX (the software used to run the business web site) from installing properly. It was slow, it wouldn’t initialise Java. It gave me many many hours of grief. It worked perfectly when I installed on the laptop. The problem was simple the wrong IP address in /etc/hosts. That tells the server what it’s address on the internet is (you can find out your address current internet address by going to http://whatismyip.com). Now, the server was set up BEFORE the firewall was put in place. So when set up it’s ip address was something like 212.100.224.135. When the server has a firewall, the firewall takes the public IP address and forwards things on a private network to the server. So the address in /etc/hosts should have been change to 192.168.1.135.

    I often find that things as simple as one line or dot out of place can create a computer nightmare. If only I knew what the problem was before I spent the 12 hours looking for it!

    After that, most things went OK, although it took a few hours to get the server encryption working properly (I had to rewrite several parts of the ColdFusion code as RedHat ES4 has some different user names than RedHat ES2 did – which is what our previous server ran on) and some of the default PHP settings had changed which took me a few more hours to locate. The simple job of transferring IP’s from old server to new server to far longer than expected.

    Finally, it’s all up and running. Though there are a few things I want to spend a little more time on.

    The server upgrade was due to ColdFusion playing up. The new server has a faster processor (64bit AMD!) and 512Mb Ram. The old server had 256mb (the minimum recommended for ColdFusion). 512mb may not sound like a lot, but servers don’t have monitors and don’t need to display graphics. All they do is crunch data and deliver the results over a network connection. At the moment, all of the programs are running in Memory with no swap space being used. Therefore visitors should get to see pages slightly quicker.

    Now that’s all done, I can move onto my next project…


Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories