All posts by Ralf Bergs

Geek, computer guy, licensed and certified electrical and computer engineer, husband, best daddy.

Custom paper sizes in Windows…

My girlfriend and I are currently designing a greeting card. The cover of the greeting card will be made using “embossing technique,” and the inlay will be made from a sheet of parchment that we will print using my good, old, trusted HP LaserJet 5MP.

What sounds like an easy job (printing the sheet of parchment) turned out to be not-so-easy. The problem is that the sheet of parchment we bought in a crafting shop is not a standard DIN format, and that the printer driver for my LJ 5MP didn’t seem to allow me to create custom paper formats. No matter how hard I searched for a menu that would allow me to do that, I didn’t find any.

Continue reading Custom paper sizes in Windows…

Grub and root on partitionable RAID1 array

To make a long story short — don’t do it, it won’t work. 🙂

And now the long version of the whole story. The following applies to Debian 4.0 aka “Etch,” but it’s not specific to Debian, since the principles of the whole procedure is the same on all Linux distributions.

For the first time I wanted to use a partitionable RAID1 array, because I wanted to spare myself the trouble of creating multiple partitions on both drives which would then be combined to individual RAID1 arrays. Instead I would have to create a single partitionable RAID1 array and partition it afterwards.

Continue reading Grub and root on partitionable RAID1 array

Monitor number of active connections to MySQL using Nagios

I need to monitor whether the number of active connections against a MySQL server is within a “reasonable” range.

For all my monitoring needs, I use Nagios. Of course, Nagios offers a MySQL monitoring plugin, however, it does not suit my needs. It only allows you to perform queries on tables, which doesn’t allow me to retrieve the number of current connections to the database server (or does it?!).

Continue reading Monitor number of active connections to MySQL using Nagios

A somewhat nightmarish Debian upgrade…

You might remember that I while ago I wrote a post about upgrading my office test-server from Debian Sarge to the almost-ready Etch, and that everything went as smoothly as I’m used to Debian distro-upgrades.

Well, on 2007-04-10 I upgraded my personal production server (that also hosts this blog) to the finally-released Debian 4.0, code-named “Etch.” I sticked pretty closely to the release notes, which always is a good idea even if you’re an experienced user.

At first, all seemed to go well. I performed the pre-upgrade step to pull in the new libc6, and afterwards performed the dist-upgrade that pulled in the remaining packages to be upgraded or to be newly installed in order to satisfy dependencies.

Continue reading A somewhat nightmarish Debian upgrade…

Gott sei Dank gibt es noch vernünftige Leute…

Schön, dass sich eine technikorientierte Website auch mit politischen Themen beschäftigt — soeben sehe ich nämlich wieder einen interessanten Artikel auf heise online zum Thema Onlinedurchsuchung:

heise online – SPD uneins über Schäuble-Pläne

Jörg Tauss und Christoph Matschie beziehen eine Position, die mit meiner weitestgehend übereinstimmen. Auch Wiefelspütz hat zumindest teilweise den Rückwärtsgang eingelegt — nunmehr sagt er deutlich, dass es sich bei der von ihm geäußerten Ansicht “um seine persönliche Meinung” handelt. Wahrscheinlich ist er von den Genossen in Berlin “zurückgepfiffen” worden — gut so!

Kontra kommt wie erwartet vom CDU-Rechtsaußen Wolfgang Schäuble. Diesem ist scheinbar gar nichts heilig — er will die Verfassung ändern, um ihm das “Schnüffeln” zu erlauben. Dazu benötigt er bekanntlich eine Zweidrittelmehrheit; ich bezweifele, dass er diese erhalten wird. In der SPD gibt es zum Glück genug kritische Abgeordnete, die dieses Spiel nicht mitmachen werden.

“SPD-Sprecher: Online-Durchsuchungen kommen auf jeden Fall”

Gerade bin ich über folgenden Artikel bei heise online gestolpert und rege mich nun darüber auf:

SPD-Sprecher: Online-Durchsuchungen kommen auf jeden Fall

Wenn ich allein Sprüche höre wie “Das Internet ist eine Welt, in der jede Sauerei dieser Welt stattfindet”, dann geht mir das Messer in der Tasche auf!!! Wieso sollte das Internet denn “besser” sein als das “reale Leben”?! Erwartet Genosse Wiefelspütz ernsthaft, dass sich im Internet nur “lautere” Menschen rumtreiben?! Natürlich finden im Internet genau die selben “Sauereien” statt wie im wirklichen Leben auch. Es wäre doch illusorisch zu glauben, dass man diese aus dem Internet raushalten kann.

Continue reading “SPD-Sprecher: Online-Durchsuchungen kommen auf jeden Fall”

Debian distro upgrade to Etch

A few days ago I upgraded my personal Debian server in the office from Sarge to Etch, considering that it’s only approximately two weeks until Etch will be officially released, and I wanted to be prepared for what’s to come when I upgrade other (important!) boxes to Etch.

As always I was amazed about how smoothly the upgrade went. I used

apt-get dist-upgrade

to upgrade the box. APT downloaded about 300 packages, if I remember correctly. In the configuration phase that occurred afterwards, it asked me the usual couple of questions about some of the packages in case the existing configuration files didn’t contain all the necessary settings, or in case I had changed config files for which a new version is available in Etch.

Continue reading Debian distro upgrade to Etch

How to convert a techie into a marketing guy… ;-)

We had an all-hands meeting yesterday where our CTO announced another re-org. From April, 1st on (and that’s no April fool’s joke!) our department will be relocated from our company’s technology branch to the marketing branch.

At first this sounded strange, but on second thought this might even be quite a clever move and also of benefit to both the marketing guys and us.

Continue reading How to convert a techie into a marketing guy… 😉

Sudden death to my camcorder… :-(

When we last visited my girlfriend Mona’s parents we wanted to show them the video I made from our car safety training at the ADAC in Grevenbroich. To my great horror (and I mean “horror”) the camcorder refused to load the tape — as soon as I closed the tape loader, I heard the whirring noise of a motor, but the camcorder didn’t load the cartridge (i. e. the cartridge loader didn’t slide down.) Instead an error message “remove tape” was displayed. The same happened to another cartridge I had brought with me, which made me pretty sure the camcorder was broken. 🙁

Continue reading Sudden death to my camcorder… 🙁