Tag Archives: Helden der Technik

Sonos Megafail

I’ve been a Sonos fan for some years now. No more. Two weeks ago I sent in my defective ZP100. Had to pay a service fee of € 103,08 to get it fixed or a replacement unit. Today the replacement unit arrived. Oh boy, how happy I was. Now I’d finally be able again to listen to music while working – or so I thought.

So I wired the device but when I plugged in the power cord there was this faint “brzzzt!” sound. “BRZZT?!?” I thought and did a closer inspection of the box sent to me. As I feared, the voltage switch on the back was set to 110V. 110V!

WHO THE FREAKING FUCK SENDS OUT REPLACEMENT UNITS SET TO 110V IN **GERMANY** ??? Without attaching anything like a little note or a sticker to the unit, saying something in the way of “WARNING, Check voltage setting on the back!”. Oh well, so now I paid € 103,08 for a ZP100 that never had a chance to play some music. And I’m so pissed that I consider selling off all my remaining Sonos stuff. Any takers? but will keep the other stuff nevertheless.
Continue reading

Give more threads to Varnish

When running my preferred proxy cache Varnish on Linux I realized that I couldn’t start enough threads on heavily accessed systems. As I found out, reducing the stack size is the key to get to the number I need. Oh well, if everything would be easy, I wouldn’t get paid I guess ;)
Continue reading

Move it, move it (a.k.a. “Screw it up the IBM way”)

I work with web sites for a living. I give them a place to live, I trash them when they’re no longer needed and I also move them. And believe me, moving a site is the trickiest of the jobs. But in all of my professional life, I’ve never ever seen a blunder like this (output shortened for brevity):

crow:~$ dig developer.lotus.com
; < <>> DiG 9.6.0-APPLE-P2 < <>> developer.lotus.com
;developer.lotus.com.		IN	A

developer.lotus.com.	127	IN	CNAME		0	IN	A

Really. Did they outsource the last thinking person in their networking department? Ok, maybe they fixed it and the change just hasn’t trickled down. So let’s try a different approach (again, shortened:)

Continue reading

Interesting searches: readynas uninstall togglessh

For reasons unknown to me, I get a lot of hits from searches for “readynas uninstall togglessh”. Obviously a lot of people who tried the ToggleSSH addon for their ReadyNAS found that it didn’t suit their needs and now want to uninstall it. Ok, so I’m going to tell you how to fix your problems ;)

Continue reading

Resolved: “ld: fatal: file values-Xa.o: open failed: No such file or directory” when compiling on (Open)Solaris

Ah well. Compiling software on Solaris could be really easy if it weren’t for the small problems all the time. Today I was faced with

ld: fatal: file values-Xa.o: open failed: No such file or directory

when trying to compile Subversion 1.6.5 on OpenSolaris.


pkg install SUNWarc


MySQL Tuning: The PHP Auto-Reconnect Patch

Now this would be really funny if it weren’t so sad in so many aspects: I know of more than one company running MySQL. Ok, no news there. But the MySQL servers of said companies are dropping connections. Not twice a week or once a day but two or three times every bloody second. Investigation of the cause is underway but obviously that doesn’t help to fix the problem at hand.
Since the major platform in said companies is PHP, there’s another problem: Tests have shown that if a connection failed a subsequent connection request will go through just fine. While not ideal, the best solution for the moment would therefor be to enable the auto-reconnect feature built into every MySQL client. But for PHP, there is no option to do just that.

That’s because even while PHP is using the


function – which is needed to enable auto-reconnect – internally, nobody cared to make it available as part of PHP’s language. Maybe it would be easy to do just that, but I found it easier to patch PHP directly to enable auto-reconnect by default. You want to know how? Read on.

Continue reading

CentOS5/RHEL5 fix for ImageMagick “cpio: MD5 sum error” and “cpio: read”

Back on CentOS 5 for a customer I stumbled across a little problem while installing RMagick for Ruby. Said interface between Ruby and the Image Magick tools requires Image Magick in a version greater then 6.3.5 to be installed on one’s system. However, CentOS 5 and RHEL 5 only provide version 6.2.8. Even more unfortunate is that while there are RPMs to be found on ImageMagick.org, they’re all for Fedora. So when trying to install the binary .rpm file, all you’ll get is something like this:

[root@testsys rpms]# rpm -Uvh ImageMagick-6.5.5-6.i386.rpm 
error: Failed dependencies:
	libHalf.so.4 is needed by ImageMagick-6.5.5-6.i386
	libIex.so.4 is needed by ImageMagick-6.5.5-6.i386
	libIlmImf.so.4 is needed by ImageMagick-6.5.5-6.i386
	libImath.so.4 is needed by ImageMagick-6.5.5-6.i386
	libcdt.so.4 is needed by ImageMagick-6.5.5-6.i386
	libfftw3.so.3 is needed by ImageMagick-6.5.5-6.i386
	libgraph.so.4 is needed by ImageMagick-6.5.5-6.i386
	libgvc.so.5 is needed by ImageMagick-6.5.5-6.i386

No problem you might say. Just grab the source rpm and rebuild from there. Alas, this will lead to another problem:

[root@testsys srcrpm]# rpm -Uvh ImageMagick-6.5.5-6.src.rpm 
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file 
4aa10a8f: cpio: read

With older archives you’ll get a similar message:

[root@testsys srcrpm]# rpm -Uvh ImageMagick-6.5.5-5.src.rpm 
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file 
4aa10b19: cpio: MD5 sum mismatch

The reason is that Fedora uses newer RPM utilities than the ones found on CentOS 5 / RHEL 5. This is the reason for the broken MD5 sums. Also, they recently switched from providing .tar.bz2 packed archives to .lzma packed archives which RPM on CentOS 5 / RHEL 5 doen’t know anything about.

Google wasn’t of any help to solve this particular problem without installing everything from source.

But fear not, there’s an easy solution. Just read on.

Continue reading

Real Internet Gaming

An attack by a Chinese online game provider meant to cripple the servers of its rivals ballooned to cause an Internet outage in much of the country in May.

[ More &#187 ]

We’re back

Thanks to some very strange procedures at my provider, the server was taken down on Sunday but it took them ’til now to realize that they actually did it and that they thus were indeed able to put it back online. Wonderful world.


PEAR broken in PHP 5.2.10

While trying to upgrade a customers installation to PHP 5.2.10 I learned that hard way that PEAR is broken in this release. This isn’t specific to any OS as the bug reports show but rather seems to be a general problem that slipped Q&A (who is laughing there?). All you’ll get is

"Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391"

when trying to install PEAR.
So, for the time being, better not upgrade to PHP 5.2.10 if you need to use PEAR.


Yes, that’s why we use SVN

How to use SVN productively - Not

How to use SVN productively - Not

Why bother with descriptions? You can always go back some arbitrary number of versions.


Nokia, Intel: Hey, us too!!

ofonoI’m not really sure where, but I believe I heard a quite similar sounding statement already from somewhere else:

Nokia and Intel have launched a joint project called oFono which aims to build an open source telephony framework for the Linux platform. It will serve as an abstraction layer, providing a rich high-level API for application developers and a plugin API for snapping in cell modem software.

Continue reading


t4_kombiinstrument_steckverbindung_loetseiteHeute hatte ich endlich mal Zeit, ein schon länger anstehendes Projekt durchzuziehen: Das Nachlöten der Steckkontakte im Tacho meines VW-Bus T4. Weil zufällig bin ich im T4-Wiki darüber gestolpert, dass kalte Lötstellen die Ursache für die ständige blinkende Kühlwasser-Kontrolleuchte sein könnten. Das Ergebnis:

Continue reading

Management is undecided but the Situation is critical

Found in ZenOss while doing some performance testing on my local network.