Its Snowing Again Here In The UK

Was snowing heavily last night and the result can be seen below.  Now its still snowing here which means that the UK will be in turmoil as a little bit of snow makes it impossible to get around as us Brits are never prepared.  I have dug out (no pun intended) an old photo of the snow from about 3 – 4 years ago so we can see if we are getting more snow or less. 

4 years ago approx.

today

Mr May Comes and Visits

My old chum finally made it down to the Farrow residence to visit, first time in nearly 6 years of being here in our current property.

He immediately got on with Scruffy and both posed for a photo, although as you can see, Chris was a little distracted, he was busy hacking one of the neighbour’s wireless networks with his Psion 5 (has he still got that thing – time warp or what !!).

(taken with SPV C500)

How to Reset Webalizer

Looking at my hosting site I noticed there is quite a lot of traffic looking for how to reset the open source project webalizer so here is what I do to reset it.

Basically under Fedora the webalizer package is installed in /var/lib/webalizer, and in there (if you have run it already) will be two files webalizer.current and webalizer.hist you will need to delete both of them for it to reset itself. 

The webalizer.current documents the last known position so it doesnt go back over the same stats when it runs and the webalizer.hist file actually holds the statistics.

PHP, Eclipse, PTTY and CVS

Okay fresh install of PHP and got this error …

Error registering XML parser services.

Then realised that the howto is slightly out of date as you need to install the 1.4 java runtime not the 1.3 as the how to says.

Also I then couldnt figure out how to get eclipse to pick up the php plugin as the documentation here is a little bit sketchy but you need to unzip the php plugin under the top level eclipse directory then if you have already started eclipse you need to start it with the -clean option then it will pick up the new plugins and you should then be able to create a new project of type php.

It also took me a little while how to figure out how to get ptty, cvs and eclipse to work and thanks go to this guys site for helping

http://www.gnegg.ch/archives/135-Eclipse,-CVS-and-putty.html

Apache2 and PHP5 and missing apxs file on Fedora Core 3

Ok next problem that I bumped into today while trying to install PHP5 on Apache2.  In the php instructions it tells you to use the –with-apxs2 and point that to the apxs file.  Now the standard install of Fedora 3 doesnt install this file for you, so you need to install the httpd-devel package.  This can be done easily using up2date with this command.

up2date httpd-devel

and this will install the apxs file which for should now sit in /usr/sbin

then to configure the php5 issue the command

./configure –with-apxs2=/usr/sbin/apxs –with-mysql

hope that helps

Checkpassword-0.90 Compilation Error on Fedora Core 3

Ok now next problem that I ran into in trying to get qmail running on the distrubution is that checkpassword-0.90 doesnt want to compile and looking on the web there is 1 arabic website explaining how to get around this which I cant understand but with again more pain I have finally cracked it.

In the source directory of checkpassword you will need to change the error.h file to include errno.h just after the line extern int errno like so…

extern int errno;

#include

then recompile and everything should work.