Category: Jake

cPanel, ClamAV and MailScanner

This is totally for my information in the future, but might be useful to somebody.

I have MailScanner installed (via this great package) and ClamAV setup to scan mail that comes through this server. The problem is that lately, ClamAV was sucking up a lot of CPU power when scanning messages. After a ton of searching around on the cPanel forums, I basically came up with this solution which dropped my load considerably. But long story short, you’re changing Mailscanner to use the clamavmodule virus scanner versus the clamav one.

  • Run these comments from the command line (if you don’t know what they do, don’t bother with this at all):

    up2date -i bzip2-devel

    up2date -i gdbm-devel

    /scripts/perlinstaller Mail::ClamAV

  • Edit your MailScanner.conf (probably in /usr/mailscanner/etc/MailScanner.conf). Look for “Virus Scanners = clamav” and change it to “Virus Scanners = clamavmodule”.
  • Then run “killall MailScanner”, wait a bit to make sure all the child processes are killed, and then “/usr/mailscanner/bin/check_mailscanner”.

So far, the load on the server has gone down significantly (at least so far) and made pages load faster as now Apache and MySQL have more breathing room.

Why I’ve Always Liked Giro Helmets

Way back in my youth (before I got into distance running), I was a road bike racer. I always swore by my Giro helmet, as they were light, aerodynamic, cool, and strong and they offered replacements for when you were in wrecks (as you should always replace your helmet after a wreck, no matter how minor). If I ever get back into riding again, I’m going to buy another Giro, especially after reading this:

A white paneled delivery truck ran over a UW-Madison graduate student’s head on Division Street Friday afternoon and, except for a concussion, he wasn’t hurt.

[…]

“I didn’t see it coming, but I sure felt it roll over my head. It feels really strange to have a truck run over your head.”

His helmet, a Giro, was crushed, but Lipscomb’s head was fine.

Just a reminder to Oregon bike riders: If you’re under 16, state law requires you to have a helmet on, period. It annoys me to this day to see kids riding down the hills near my house stupidly fast without their helmets on. They’re going to eat it once and then regret it.

A Few Tweaks At Bend Blogs

Going through and deleting a few old feeds on Bend Blogs today (there are a lot of ones that have gone private or haven’t updated in over a year, so expect many feeds to disappear), but a couple things that you might notice over there:

    No Categories Tab: I’ve gotten rid of the “Categories” tab on the left side, as I never seemed to be able to get it to work right with feeds that had categories. Everything’s going to tags instead. Speaking of tags, remember you can submit your own tags to any entry on Bend Blogs — like I added the tag Liquor to this post. When you click on the [edit] link to submit a tag, it will offer suggestions, if it can, based on del.icio.us tags, if available.

  • I’ve added ads in a few more spots. Sorry, but it has to be done. The site’s getting more and more popular, and the server’s getting pushed harder and harder.
  • Aforementioned removal of feeds (work in progress).
  • But the biggest thing (and the thing I’m probably going to have to tweak a bit to make it less MySQL-server intensive) is the feeds list on the left side now sorts by the latest updated blogs (or at least close to it — it all depends on when the feed’s latest item was grabbed), making it far easier to keep track of blogs that update locally more often than the rest (their www and syndicating feeds links are right there).
  • A few tweaks here and there to make the site easier to browse in general.

If you have any more bright ideas or suggestions, feel free to post a comment here (and yes I know the design is a bit stale, but haven’t had time to really get down and dirty with the CSS).

Ah The Joys Of Geekdom…

I’m sure every geek has had moments like this.

I went to one of our remote offices to move some equipment around as they were going to be doing some remodeling. Computer moved fine, but when I picked up the printer, I noticed something really wet on the bottom of it. It was blank ink — the cartridge inside at sprung a leak. It was now all over my hands, and had sprayed black ink all over the desk and all inside the printer. I tried to open the printer cover, and it was stuck a bit, so I gave it a firm yank, and the thing flew open, throwing ink all over the place — including on my face. Knowing that this stuff is a pain to wash off when it dries, I sprinted to the bathroom and scrubbed my face as hard as I could to get it all off. I did, but now my face is red from the scrubbing (better than black from the ink, however).

That printers going to the garbage, as there’s no way it can be cleaned out easily. It’s an old crappy HP Deskjet and was past it’s prime anyway.

Now to get to all these RSS feeds I’ve been missing over the last few days…(and yes, the concerts went fine, I’m just really exhausted after three nights of concerts on a stupidly hot stage).

Offline Until Through Monday

Just an FYI: I’m going to be mostly offline the next few days, as I was today, as I have concerts all weekend. If anybody reading this plans on making it to the concerts, feel free to find me during intermission and say “Hello.”

Update On Monday: OK, so I originally said “until” today, but I was slammed at work today after taking yesterday off, so will get back to blogging tomorrow as I have another symphony concert tonight. Hopefully I will see some of you, and don’t be shy like Barney — yell at me, assuming we’re not playing.

Business Card Design Input Needed

I’m in the process of trying to think up some creative personal business card ideas for myself, and came across these cool ideas. Obviously, many of those are far too expensive and the printer I use (who’s doing the printing for free as I send them a ton of jobs) can’t do some of those oddball materials.

They’re going to be full color printing, double sided. I’m thinking I’m basically going to design a simple postcard with my name, email, phone, and three words (or pairs of words) that describe me (I like simplicity on business cards). I was thinking about following the lead from my LinkedIn profile where I sell myself with a title of “Geek, Blogger, Crazy Person.”

So this is where you come in, dear readers (and obviously if you don’t know me, you might not be able to help much): I want you to fill in the blank (as crazy person isn’t quite right, but still casual, which is what I want):

Geek, Blogger, _________

Or think of three other words for me. Nutjob, a**hole, Local, Hater-of-tourists, etc…. are all fair game. Just help me find the right word.

Ideas?

Cheap Plug

My wife’s uncle always tells the best stories, and he’s finally gotten around to writing a book (his family’s been nagging him for quite a while). I haven’t read the book yet, but considering the stories he tells of his childhood, I’m sure it’s a great read. And anybody who’s interested in local history (he grew up in Sisters) will enjoy it. So go buy, buy, buy so he’ll write the follow up he’s promising. Here’s the book’s description on Amazon:

The Musings of an ex-Moleque by Jeff Smith Jeff Smith’s life can easily be summarized by two distinct periods of time. “The Musings of an ex-Moleque” tell the story of the first period. This time-frame is the first eighteen years of his life where Jeff truly was the product of his family’s “old school” influence and the small town rural environment in which he was raised. In the 1950’s and 60’s, Sisters, Oregon was a small mill town of about 500 souls. Being situated in the very heart of Oregon and nestled at the foot of the Cascade Mountain Range, it offered a unique setting for a young lad to live a life of unfettered adventure, joy, and security. Jeff’s story is the story of perhaps thousands of young American lads raised in a bygone era, one which probably will never be enjoyed again as our culture continues to change so drastically, leaving no room for little rascals to run free and wild. Author’s Biography Jeff Smith was born on August 11th in the year 1952 in Redmond, Oregon. Jeff was the last of six children born to William Ray and Naomi Belle Smith. Though born in Redmond, Jeff was raised in the nearby town of Sisters. As Sisters was so small it had no hospital, so most babies in those days were born either in Redmond’s newly built hospital or in neighboring Bend. Jeff was definitely a product of his familial upbringing and the small town rural environment in which he spent the first eighteen years of his adventurous life. Shortly after high school graduation in 1970 Jeff entered a missionary training center in Bend, Oregon in pursuit of his dream of being a minister of the Gospel of Jesus Christ in Brazil. That dream was interrupted by a two year tour of duty in the US Army, having been drafted number 34 in the end of the old lottery draft system.

OK, done with the cheap plug.

Need UK Cell Phone Help

My sister-in-law is going on month-long trip to Europe starting later next month. They are going to mostly be in Airdrie, Scotland, but might go to Edinburgh, Glasgow, Stirling, and St. Andrews and London. She’d like to have a cell phone over there — just a simple, pre-paid phone that she can use in emergencies over there. Her current phone is a Tracfone Motorola v120c, so I doubt it can be used over there (I don’t think it operates on the same frequencies, nor is the SIM card removable, as far as I know).

Since I’ve never left the US (other than a few trips to Mexico), I don’t have the slightest idea how things work over there. I’ve heard of companies like Telestial that offer pre-paid international cell phones, but wanted to know if there are other options or if it’d be cheaper to just buy one when she gets over there.

I know I have some European readers here, folks, so time to come out of the woodwork and speak up.

Update: Updated with her current phone’s model number.

“No, your episodes of ‘Prison Break’ can not be stored on the file server.”

This has been a long few days. First, I had the folks who were getting all miffed at me because I couldn’t help them with their web-based application, and now things have gotten more annoying.

I had a co-worker complain that the tape-backup drive in our small file server upstairs wasn’t actually backing anything up. After tweaking the tape settings, the job setting and finally watching through the logs as the thing ran, I come to find out that the DDS-3 tapes were full and that’s why the backup wasn’t finiishing completely — there was too much data on the server and not enough tape. I thought to myself “How could that be? This server is barely used and the 18GB SCSI drives have never been more than half full.” Open up “My Computer”, sure enough, the C:\ drive only has about 300 megs free. So something on the server was taking up a ton of space. Time to find out what it was.

I downloaded and installed a copy of WinDirStat which gives you a pretty graphical representation of the files on your machine. After I let it scan all the files, I noticed a crapload of *.m4v files, which are MPEG4 video files. After opening up the folder containing the files, and plugging the names into Google (as I couldn’t play them on the file server as it obviously doesn’t have a media player), I come to realize that the files are the first 16 episodes of season two of Prison Break. At about 600 megs a piece, it was taken up 9GB of space on the server. I deleted them, and, magically, the back up was able to run just fine. While there is hardware compression that will theoretically compress the tape’s data so it can fit 24GB of data, m4v files are already compressed, so there was no way it would all fit in the tape’s native 12GB capacity.

The staff has gotten a stern warning about this from the boss, so hopefully it shall not happen again.

Need Printer Recommendations — Can anybody help?

Anybody know printer catalogs better than I? I need recommendations for a multi-function printer. My requirements:

  • Fax
  • Copy
  • Print
  • Networked (RJ45)
  • Sheet-feed (no single feed for copy/fax)
  • Job Accounting.

The job accounting is what typically drives the price up, but basically this office I’ll be setting this up at will be shared by two companies (three employees from each) and I need to have job accounting so that the individual companies can be billed properly for print usage (per the boss folks of the companies that are hiring me to set this whole mess up).

Print volume will be (at most) 4000 pages/month. Color printing is not a requirement. Laser preferred over inkjet, as is the availability of cheaper consumables, but I’m open to options.

Unfortunately, this is something you easily find and expect on stupidly high-end lasers, but finding it on multi-function devices (especially when you have about a $600 budget) involves just digging through a bunch of documentation online — which is no fun at all.

Anybody know of a mult-function device that has all of the above — new or old — so I can hunt it down for prices?