Stuff…

I know I will forget.

Stuff… header image 4

Entries from February 2009

Regenerating the Cobalt RAQ550 stats

February 18th, 2009 · No Comments

Had to rebuild the webstats for a client on a RAQ550 as for some reason the stats had been corrupted.
The URL to view the stats was: http://www.site.com/stats/
Checking the crontabs showed that there was a script that ran nightly: /etc/cron.daily/webalizer.pl
The script ran through all the sites and built the stats pages for them along with various [...]

[Read more →]

Tags: Linux · Operating System

Plesk backup temporary file filling disk

February 10th, 2009 · No Comments

It appears that the Plesk backup utility (pleskbackup Linux) writes to a temporary file prior to moving it to the final destination you’ve specified on the command line.
ie. When running:
/usr/local/psa/bin/pleskbackup all /mnt/nfsshare/pleskbackup.bak
Plesk writes the whole backup file to the local disk in /var/lib/psa/dumps/tmp/:
# ls -lah /var/lib/psa/dumps/tmp/
total 1.9G
drwx—— 2 psaadm psaadm 4.0K 2009-02-09 18:38 .
drwxr-xr-x 3 [...]

[Read more →]

Tags: Coding · Control Panels · Linux · Windows

Correct form equals no pain

February 10th, 2009 · No Comments

Second week of the VJB program and I’ve worked out that even if my knees are feeling a bit tired/wobbly after Sunday night bball I can still do squats without the knees hurting.
Correct form reduces any aches.  The following appears to work for me whilst doing squats with assistance of the smith machine:

Position yourself under [...]

[Read more →]

Tags: Sport

Quick CLI SMTP AUTH script to test authentication

February 9th, 2009 · No Comments

I was getting a bit bored of manually testing SMTP AUTH details for people so wrote a quick little script in perl (with help of modules) to test.
#!/usr/bin/perl -w
use Net::SMTP_auth;
use Getopt::Std;
%options=();
getopts(“u:p:h:”,\%options);
my $_USAGE= <<END_USAGE;
test_auth.pl   -  Check SMTP authentication
Usage:   test_auth.pl -u user -p pass -h hostname
License: This software is released under the same terms as perl itself.
END_USAGE
die [...]

[Read more →]

Tags: Coding · Protocols · SMTP

National rail site down

February 2nd, 2009 · No Comments

It appears that the national rail ( www.nationalrail.co.uk ) website has been down all morning, obviously, due to the bad weather across the country. You would imagine with bad weather during the years (wrong type of rain, leaves on the track, snow) that they would have expected this sort of traffic on their website during [...]

[Read more →]

Tags: Uncategorized