WordPress/twentyten header image

Had some trouble with the built-in twentyten images. The header image is saved inside a serialized hash in the database complete with the protocol and server name as well as the blog home URI. The problem with this is if there are two different URLs under which the blog can be reached, the one under which the header image was set will be fine, but for the other one the header image will always be loaded from the alternate one.

My fix was to set the define HEADER_IMAGE in wp_config.php with full path and reset the header image in the twentyten settings:

define('HEADER_IMAGE' ...

// Oliver

Posted in EN, IT Security, Programming, Software | Tagged | Leave a comment

Some changes to the blog

Despite the server change, which you may not even have noticed, I’m also blocking any and all login attempts, renamed the admin user name (some people were apparently trying to get in) and the administration area is entirely off limits. This should not impede my readers’ ability to comment. But if it does, please let me know via the contact page.

// Oliver

Posted in /dev/null, EN, IT Security | 3 Comments

More issues with MariaDB

… but solved.

When trying to install WordPress 3.1 as a vanilla installation, it failed:

WordPress database error: [Invalid default value for 'comment_date']

… this got repeated for several columns in several tables and obviously table creation failed. However, WordPress reported success despite all the errors. Of course nothing worked. After turning to the #maria channel over at irc.freenode.net, I was smarter: sql_mode was apparently set too strict.

I have installed 5.2.5-MariaDB-mariadb99~squeeze-log and the default setting in my.cnf was this:

sql_mode = NO_ENGINE_SUBSTITUTION,TRADITIONAL

… turns out that the TRADITIONAL “expands” to several other restrictions, including NO_ZERO_IN_DATE and NO_ZERO_DATE and those seem to be the problem in that they cause the DB engine to not accept 0000-00-00 00:00:00 as a default datetime value.

Given that WordPress – although it is clearly at fault here – is an application I wanted to run on this server, I decided to relax the sql_mode and of course the installation succeeded after that. My new sql_mode is:

sql_mode = NO_ENGINE_SUBSTITUTION

Hope it helps someone else.

// Oliver

Posted in Linux, Unix and unixoid | Tagged , , , | 6 Comments

100000 Jahre alt

… bin ich jetzt. Ach übrigens, mir wurde mitgeteilt, daß es Leute gibt die binär lesen können und solche die es nicht können :mrgreen:

Posted in /dev/null, DE | 4 Comments

Installing MariaDB on Debian 6 (Squeeze)

Had some trouble installing MariaDB on Debian 6. The system was pretty much a vanilla Lenny (hadn’t used it much that’s why) upgraded to Squeeze only one week ago – and I wanted to install MariaDB instead of MySQL.

This KB entry at AskMonty gave me some guidance, but apt-get simply did not want to install mysql-common from the MariaDB package repository. Now, with the help of knielsen from the #maria channel over at irc.freenode.net, I managed to figure out how to work around it. Instead of apt-get I used aptitude. Continue reading

Posted in EN, Linux, Unix and unixoid | Tagged , | 1 Comment

Debian bug 581612

etckeeper (go look it up, it’s very useful) is a tool I use. Now, some behavior in cron changed recently in Debian and apparently also Ubuntu, causing my log files to show the same as fetchmail in the bug report.

Turns out etckeeper returns an exit status of 1, if nothing has changed. Therefore whenever no changes would show up, I’d see this warning message but could not discern any details from it.

The fix was easy enough and is described in a reply to the bug report.

// Oliver

Posted in EN, Linux, Unix and unixoid | Leave a comment

Visual Studio 2003 and DEP

Some time ago I enabled the alwayson setting for the noexecute switch in boot.ini. Turns out some older programs don’t like it. I had already found out at some point for Borland C++ Builder 6, but this time it was Visual Studio 2003.

Whenever opening the properties of a project I would get an exception (access violation). This was consistently so in Visual Studio 2003 but none of the newer versions exhibited the same behavior. Hence I decided to exclude Visual Studio 2003 (the devenv.exe) from DEP … and it works. Mystery solved.

// Oliver

Posted in EN, Programming, Software | Leave a comment

Du meine Güte

Ich kann nicht behaupten Fan von Guttenberg zu sein, aber diese Vorverurteilungen und die Kampagne unter Bloggern gegen ihn ist schon irgendwie traurig und bedenklich.

Mir ist es eigentlich egal ob er nun abgeschrieben hat oder nicht. In etwa so egal wie der Doktortitel. Nicht egal ist mir das Führen von Adelsnamen in Deutschland, was meiner Meinung nach abgeschafft werden sollte. Nur: was hat das alles mit seiner Arbeit zu tun?

Wenn es um die Ausübung seines politischen Amtes geht und jemandem dort das eine oder andere nicht gefällt, könnte man doch eine sachorientierte Diskussion führen, oder? Wenn ich mich über die Politik der Kanzlerin aufrege dann doch nicht wegen ihrer hängenden Mundwinkel oder des vernarbten Gesichtes unseres Außenministers.

Ob jemand für ein Amt geeignet ist, hängt doch nicht davon ab ob er bei der Doktorarbeit woanders abgeschrieben hat.

Ich finde es befremdlich wie leicht sich die Bevölkerung doch von den eigentlichen Brennpunktthemen ablenken läßt. Wie war das noch mit dem Hartz-IV-Satz? Was ist mit dem Dioxin-Skandal? Was mit der Überschuldung der Kommunen? Was ist überhaupt mit all den Themen die vor jeder Wahl angeblich die entscheidenden sind und danach in der Versenkung verschwinden?

Manchmal scheint mir, die Aufmerksamkeitsökonomie (man könnte auch von Aufmerksamkeitsplanwirtschaft sprechen) nur deshalb funktionieren kann, weil die Mehrheit der Menschen auch heute noch danach lechzt den nächsten Übeltäter am Pranger oder am Galgen hängend zu sehen … nur daß die Pranger und Galgen heute scheinbar zivilisierter sind und wir uns deshalb auf die Schulter klopfen und wissend zunicken können. Denn wir sind ja aufgeklärt, informiert, immer in Verbindung miteinander. Uns kann doch keiner mehr etwas vormachen …

// Oliver

PS: siehe auch der TP-Artikel hier.

Posted in DE, Gedanken | 5 Comments

Ernsthaft?

Plagiatsvorwurf gegen Guttenberg? Hat Deutschland plötzlich keine anderen Probleme mehr? Ja liebe deutsche Medienvertreter, seid ihr alle bescheuert?

Und daß ein Doktortitel schmückt, wie Frau Slomka im ersten (!) Beitrag des Abends (2011-02-16) meinte, würde ich durchaus nicht so stehen lassen. Warum auch? Nur weil einer nen Doktortitel in Theologie hat, kennt er sich mit EDV noch lange nicht aus, darf den Titel aber im Zusammenhang mit seiner EDV-Firma ohne weiteres führen. Einfach lächerlich – und damit meine ich nicht einmal die Wissenschaft zum Thema Himmelspapi (alias “Theologie”), sondern die Tatsache, daß dieser Titel ohne Fachbezug geführt werden kann und wird.

Ich dachte ohnehin immer, daß Adlige ihre Doktorarbeit schreiben lassen 😉

// Oliver

Posted in DE, Gedanken | Leave a comment

Na mal sehen …

… wann der Kampf gegen die Korruption in den Lobbykratien westlicher Ausrichtung auf die Straße getragen wird.

// Oliver

Posted in DE, Gedanken | 1 Comment

Irgendwas ist immer

Nach der heute-Sendung vom 2011-01-26 habe ich das Gefühl, daß es nicht so sehr um ein spezielles Problem wie Zensursulas Steckenpferd KiPo geht, sondern darum irgendwie die Infrastruktur für Internetzensur einzuführen – egal wie. 🙄

Da wird von einer diffusen Webseite geredet, auf welcher man anonym andere beleidigen kann. Großartig. Der letzte Satz lautete dann auch, daß man es nicht verbieten könne, weil es in Deutschland keine Internetzensur gäbe. Schaaaade. Na dann müssen wir doch schnell eine einführen, oder? 😕

Beleidigungen mögen ein Problem sein. Zumal bei Kindern/Jugendlichen. Ich entsinne mich (nicht als einziger) an mindestens einen Vorfall wo irgendwelche Kinder ein ganzes Forum aus “Rache” lahmlegten. Da denke ich doch eher an vorpubertäres Verhalten und “Kindergarten”. Warum also nicht einfach Internet unter 16 Jahren verbieten und ansonsten Internetkundeunterricht einführen. Für Sexualkunde klappte das doch auch … 😆

// Oliver

Posted in DE, Gedanken, Ich, der Zyniker | Leave a comment

fdupes

To remove all but the first of a number of duplicate files in a subfolder on Linux, use:
yes 1|fdupes -rd <folder>

Posted in EN, Linux, Software, Unix and unixoid | Leave a comment

DCOM error

Just got the following error in the event log on XP (SP3):

Source: DCOM
EventID: 10000
User: NT AUTHORITY\NETWORK SERVICE
Description: Unable to start a DCOM Server:
{1F87137D-0E7C-44D5-8C73-4EFFB68962F2}.
The error: "Access is denied. "
Happened while starting this command:
C:\WINDOWS\system32\wbem\wmiprvse.exe -secured -Embedding

My suspicion was immediately, that my hardlinking of identical files on the system drive caused the problem. Hardlinking is a fine thing, but the hardlink will contain the ACL (file permissions) of one of the originating files (depending on the method used). So both instances of the file would receive the same ACL, even if one of them was more restrictive than the other. Hence I was looking for a permission problem.

Looking at the permissions of wmiprvse.exe, it turned out that the hardlinking process had screwed up the inheritance. So the network service (built-in) account did not have the right to execute that particular binary. What to do? Well, nothing easier than that, I took the containing folder and told it to reset permissions on all child elements. Voila, problem solved.

Since the permission problems may be more far-reaching, I decided to follow the instructions here to reset all the file permissions.

// Oliver

PS: for hardlinking I used DFHL in order to save space for the VM. As I said, I knew about the risk and decided to take it. Just be aware of it and don’t take the risk if you can’t judge the consequences …

Posted in EN, IT Security, Software | 1 Comment

Whoa … disgusting

I hardly ever go to McDonalds (not a big stunt, given they left Iceland due to the kreppa – but I never went to them in the two years I could have either :mrgreen:). But yes, I used to go to them occasionally. I think that has now changed from occasionally to never.

Have a look at this and this. Disgusting. What was I eating when I ate there? 😯 *barf*

// Oliver

PS: this challenges the above linked views on the topic. Perhaps the bun and burger dry out to quick to allow mold to grow? Retry with a McRib or Filet-O-Fish? 😉

Posted in EN, Thoughts | Tagged , , , | 1 Comment

Program too big to fit in memory

Today I got this message on a 32bit Windows XP. Of course first I tried a web search in order to figure out what’s wrong. Nothing useful came up among the numerous matches.

Next I tried to decompress the .exe file (using 7-zip) and what I got were numerous files with familiar names. Next I checked the biggest file and it turned out to be an MS cabinet file, so I unpacked it. Inside I found files in the typical naming scheme for MSIs. So after inspecting the files and finding most of them to be DLLs or EXEs, I took the original “.exe” file, renamed it to .msi and checked whether it opens in Orca. Of course it did, so it turned out to be an MSI installer and could simply be installed.

Lesson learned: check whether the file is really what it pretends to be. The website had offered it as .exe file, but that was wrong.

Maybe this helps someone else,

// Oliver

Posted in EN, Software | 2 Comments

Category five shitstorm …

… schade, daß es dafür keine deutsche Übersetzung gibt. Aber Euroweb hat laut Heise.de eine relativ populäre .de-Domain pfänden lassen und will diese nun auf Ebay versteigern.

Siehe dazu auch hier und hier.

Auch ich habe schon mittelbar schlechte Erfahrungen mit Euroweb gemacht. Wenn ich mal die Zeit finde, schreibe ich dazu vielleicht sogar mal etwas mehr (spätestens wenn sie mit der juristischen Keule kommen sollten ;)) …

I reckon they’re in for a category five shitstorm :mrgreen:

// Oliver

Kleiner Nachtrag: der Blogger hat sich natürlich auch ein wenig dusselig angestellt indem er nicht auf die Abmahnung reagierte und nicht zu einem Anhörungstermin erschien (siehe Heise-Artikel).

Posted in DE, Gedanken | Leave a comment

Auweia, Auweier …

… möchte man sagen, wenn man sich die derzeitige Herumeierei zum Thema Dioxin in Eiern anguckt. Meine Familie hat das Problem nicht, weil meine Oma vier Hühner (O-Ton Oma: “Puttel” oder “Puttchen” :mrgreen:) hat, die fleißig Eier legen.

Feine Sache das 😛

// Oliver

Posted in DE, Gedanken | Leave a comment

Hilarious …

Kangaroos fighting back. You have to read this, if you’re a geek (or even just a software developer) 😉

// Oliver

Posted in /dev/null, EN, Software | 2 Comments

Gruselig: 2030 – Aufstand der Alten

Eine fiktive Dokumentation auf ZDFinfokanal (nicht ZDF, siehe Kommentar unten).

Unbedingt anschauen! Laut Mediathek wird am 2011-01-09 um 20:00 (dt. Zeit) gesendet.

Posted in DE, Gedanken | 8 Comments

Christen angegriffen?

Aha, Christen – genauer Kopten – wurden also in Ägypten angegriffen. Ein Aufschrei geht durch die christliche Welt ungeachtet ihrer tiefen Spaltung. Seltsam.

In den Nachrichten klang es für mich direkt nach einem Angriff auf Menschen. Als ob das nicht schlimm genug wäre, wird hier weiter diskriminiert (also unterschieden) und je nach der eigenen Agenda von Christen oder Kopten geredet. Egal ob von Ratzinger oder von Merkel. Und das wo doch Diskriminierung in anderem Zusammenhang gern verurteilt wird.

Es geht eben scheinbar doch mehr um die Agenda der jeweiligen Person welche das Wort ergreift, nicht darum daß hier Menschen – übrigens aufgrund der gleichen Diskriminierung welche in der Rhetorik auf beiden Seiten benutzt wird – angegriffen wurden. Wie unterschiedlich die Meßlatten doch sein können … 🙄

// Oliver

Posted in DE, Gedanken | 1 Comment