Site Archives Servers

Debugging MailScanner: cleaning messages

Posted by plattapuss on December 19th, 2008

Last week I did a short post on testing MailScanner to be sure it was scanning properly. An alert reader pointed out that I missed the easy solution, which was to simply use 'MailScanner --lint' to check if MailScanner was running properly.
Since I wrote that article, I found that my MailScanner was again hogging the [...]

Test your servers Virus filters – don’t assume

Posted by plattapuss on December 16th, 2008

On one of our RHEL5 servers running Ensim, we noticed after the last big update of RHEL using 'yum update', that MailScanner was capped out, using tons of our CPU power. In the past when this happens I usually find it is ClamAV acting up. However, we were using on this server a free version [...]

Install custom Pear packages on 1and1

Posted by plattapuss on December 16th, 2008

Canadians find the weather really interesting. Don't we? I mean, after all, it changes every day from a cool -19°C in the morning to a toasty +6°C in the afternoon. Okay, so maybe not every day do we get extremes like that, But Canadians still seem fascinated with the weather.
For me, I am fascinated [...]

Block spam bots and evil web scrapers

Posted by plattapuss on November 12th, 2008

I noticed on one server today a huge CPU load. A quick look at Netstat showed that most of the current traffic was coming from someone in Africa. I crossed referenced the IP address from Netstat with the access log files on the various sites on the server and saw that it had a UserAgent [...]

Setting up my own RHEL server… again

Posted by plattapuss on May 6th, 2008

If you have followed my story over the past few months, you will know that I got out of hosting. This has been an excellent move over all as it frees up a lot of my time to do what I like best, develope websites and tinker.
As I have a fair number of sites [...]

Don’t do it, do even fix it right. Don’t pay Dreamhost

Posted by plattapuss on April 4th, 2008

Short post tonight. Really tired after fighting a long cold and stressful weak. However, I just wanted to say:
Don't do it, Don't even fix it right. Don't pay the Dreamhost man! (ala Chris de Burgh's Ferry man).
I wanted to try a few different hosting companies. Dreamhost looked interesting as it offered SVN repositories, for $8 [...]

Getting Ensim sendmail to listen on an alternate port

Posted by plattapuss on March 29th, 2008

Updated: March 30th 2008
Setup a new server today! This time, instead of using port 465 and setting up the SSL certs etc, I wanted something a little easier to use. So, according to RFC 2476 at this link, I can use port 587.
On our Ensim 10.3 box which runs on RHEL 5, this is an [...]

Merging SVN repos while retaining history

Posted by plattapuss on March 11th, 2008

Here is a quick little how-to on merging separate Subversion (SVN) repositories into one, while keeping the history in tact. Note that the checkin ID's will change, but you do have a little control over how Subversion will show the change logs.
For this tutorial, we want to merge:
old1, old2, old3 and old4
into a new single [...]

Use fuser to diagnose umount issues

Posted by plattapuss on May 8th, 2007

This morning I discovered that a drive on one of my machines was in read only mode. So I figured the easiest way to resolve the issue is to unmount the drive and re-mount it again. When I tried to umount the drive I got this error:
PLAIN TEXT
CODE:

# umount /mnt/sdb

umount: /mnt/sdb: device is busy

A [...]

Kill A Watt part III

Posted by plattapuss on February 27th, 2007

Well, a week has passed and I have my consumption usage for my computer set up. With normal usage, my entire computer set up, not counting my large Tektronix color laser printer, uses a whopping 63KWh each week. Or 3276KWh per year. Now, lucky for me, I live in Quebec and our electricity only [...]