since last time

i’ve worked a lot, broke my longboard, it rained a lot, the cats have been terratorial pissing, shaved my beard, arranged to borrow a nice car, decided to sell the clio rather than the micra (£600 anyone?), worked in london for a day, regrown my beard, learned loads of plone stuff, picked up my guitar (still not happening), gave wife an emergency "i’ve been up since 4am and husband has driven to suffolk kit" weekend survival kit, containing junk food and heat magazine. drove 5 hours to a stag do in suffolk, (got drunk, slept in car, drove back from stag do), wore through another left shoe skate commuting, watched in amazement at how fast a previously stationary small person can move, learned how to make a wasp trap using honey in a jar, built a fedora linux server, started eating dinner at the table rather than in front of TV, spent more money than I earned, stopped buying skate magazines (just a quick read through in borders now), ate far too many crisps (not my fault – there were loads left over from company BBQ – complete ban coming up), watched balloons from my back garden, filled out far too many tricky forms, skated in the dark, ate a fantastic curry, ripped gusset in my favourite combat trousers (happened skateboarding, not related to the curry), arranged to sell my bass amp (ampeg portaflex B15 -T 100 Watt flip-top combo £250 anyone?) via a shop, got depressed at constant rain, been reading Jack Kerouac’s Big Sur, and er… loads of other stuff.

Posted in Uncategorised

mysql ended

just did an install of redhat fedora core 2, including mysql.

when attempting to start mysql with safe_mysqld &, I was getting a message mysql ended. Attempting to open mysql was then resulting in the message: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ .

I’ve had this before and I know it is related to permsions – the mysql user (created during install) needs to be able to write to /var/lib/mysql/. So I did the following:-

# chmod -R 755 /var/lib/mysql
# chown -R mysql /var/lib/mysql
# chgrp -R mysql /var/lib/mysql

(apparently this might be overkill but this was only for a server on local network)

I also did this:-

# mysql_install_db

(not sure what order or whether I needed to!)

It still wasn’t working so checked error log /var/log/mysqld.log

There was a problem with InnoDB (not sure what that even is, sure i’ll find out soon enough…), followed intructions in error log to resolve, which involved adding a line to /etc/my.cnf under the mysqld section:-

innodb_data_file_path = ibdata1:10M:autoextend

(the alternative is skip-innodb if "you do not want to use transactional InnoDB tables"

still didn’t work, repeated some of earlier steps, then it started OK 🙂

Posted in Uncategorised

installing plone2 on fedora core 2

hmm.. I think I have managed to install Plone2 on fedora core 2 from RPM’s, it runs but haven’t done much with it yet so can’t tell if it is broken.

It was failing on a dependency:- python2.3-devel >= 2.3.3 is needed by Plone2-2.0.3-2

as FC2 comes with python 2.3.3 I decided to chance it and force the install by adding argument –nodeps

I’ll update this entry when any problems occur.

Also worth looking at comments on

Posted in Uncategorised

trying fedora core 2

downloaded isos and burnt fedora core 2 install disks last night – the plan is to resurrect my former redhat 8.0 box (that I stole disk and RAM out of of for failed build of new dual boot box). I have been undecided recently which linux distro to go with – somebody demonstrated fedora to me the other day and was particularly impreswsed that you can use debian apt-get thing to keep packages up to date, so this is the one i’m going for.

Machine in shed in bits though…. and time limited!

I feel it is justified as I need at least one spare machine and I need to keep myself fluent with *nix

Posted in Uncategorised

how to do md5sum on windows xp

download a copy of md5sum.exe to c:windowssystem32

(I got mine from

open command prompt (start -> run -> ‘cmd’)

cd to the directory where the file you want to check is e.g. cd c:downloads

type md5sum

This will return a string of numbers and letters – compare to the one listed against the file you downloaded (i.e. the one usually listed somewhere on the page where you downloaded the file from)

Posted in Uncategorised

redirect in zope or plone

create a python script with something like the following and save it as index_html in the folder you want to redirect from.

return context.REQUEST.RESPONSE.redirect('foo')

Posted in Uncategorised