Entries Categorized as 'Linux'

MySQL: Error 127 when reading table

Date January 12, 2010

After today’s little hiccup, I noticed the random image in the top right of my page throwing an error message, something about ERROR_STORAGE_FAILURE. A little digging about, I stumbled across an error in the daemon.log file…

mysqld[4478]: 100112 20:31:04 [ERROR] Got error 127 when reading table g2_ItemAttributesMap

Fortunately, most of the times, this is relatively easy [...]

Corral those processes…

Date January 12, 2010

Running on from today’s outage, I’ve put a few more safety measures in place. I’ve always had old faithful Nagios watching over my servers, however sometimes a little more is needed. Introducing Monit into the picture…

Tinkering with Temperature (Part Deux)

Date August 1, 2009

As a follow up to the previous Tinkering with Temperature post, here is more on what I did, and how.

Technorati Tags: 1-wire, Electronics, instructable, make, temperature

Random Mail Stats

Date July 20, 2009

I’ve been meaning to get some proper stats setup for my mail server, but until then, I’ve been mostly content with reading the LogWatch reports from my server. It has been dutifully analyzing my log files, and giving me all kinds of useful data, such as the mail stats from Saturday, 18th July…

Debian Lenny, and tab auto-complete

Date June 28, 2009

I’m currently working on rebuilding a server on a project, and went to hit the tab key to auto-complete, when I was presented a delightful error… $ vim RE-sh: <( compgen -d — ‘RE’ ): No such file or directory -sh: <( eval compgen -f -X ‘*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)’ [...]

Sad Day…

Date April 7, 2009

Today I’ve decided to finally shut down a trusty server.  It’s been the office firewall for 4+ years, happily chugging away on an old HP desktop, running Gentoo linux. $ uptime 08:44:48 up 267 days, 17:51,  1 user,  load average: 0.00, 0.00, 0.00 It’s [...]

Bash One-Liners

Date February 4, 2009

I love one-liners to make my life easier.  Today I decided to clean up a directory full of CSV files, and compress them down.  After all, a 2MB CSV file can be reduced quite substantially, and I had 300 of them.

Technorati Tags: Bash, Scripting

Mail Relaying in Sendmail

Date August 15, 2007

I’ve always been in favor of removing the standard Sendmail install on most Linux boxes, in favor of Postfix. I’ve found it easier to use, and easier to configure. Having a simple configuration file that doesn’t need compiling is always helpful too. However, in some cases, you really don’t like to touch [...]

Bash magic to save you time…

Date May 20, 2007

How do you turn a 12 (or more) hour job into 40 minutes? Script it…

The “gotchas” of upgrades

Date March 6, 2007

On Sunday I wrote up a “brief” little record of my upgrade nightmare. Today, I got an email from Bill reporting his anti-spam comment plugin was broken. So I decided to check in on it. I had assumed there was an issue with the PHP build I had created after the installs. [...]