December 2009 Archives

SugarCRM-, Apache- und Browserschmerzen

  • Posted on December 30, 2009 at 10:58 pm

Ich habe gerade stundenlang Upgrades auf einem Webserver gemacht. Im Prinzip ist es ganz einfach, da es ein LAMP System ist. Wegen besonderen Richtlinien wird dort Apache, PHP und MySQL durch den Compiler gejagt. Macht ja nichts, ist recht straightforward. Nach etlichen Segmentation Faults mußte ich dann herausfinden, daß beim Build PHP die alte MySQL-Library bevorzugt. Im phpMyAdmin sieht man dann eine schöne Warnung. Führt tatsächlich zu Crashes. Nachdem dann alles funktionierte, habe ich mit SugarCRM angenommen.

Die SugarCRM Webseite ist grottenschlecht. Das ganze Machwerk muß ein Unfall gewesen sein. Man findet das passende ZIP Archiv mit den Upgrade-Versionen nur mit Google und viel sinnlosem Herumklicken. Wenn die Download-Seite eine URL nicht auflösen kann, dann wird man zu einem Download-Portal geleitet wo es natürlich keine Links zu den Upgrades gibt. Es gibt nur einen Upgrade-Wizard, der Golfbälle durch Gartenschläuche saugen kann (sprich nach wenigen Klicks ist man so ratlos wie zuvor; er reicht einem aber ein Handbuch). Nach Studium des Manuals kann man dann tatsächlich von 5.0.0 auf 5.2.0 und letztlich auf 5.5.0 gehen. Man muß dazu nur bestimmte Einstellungen in der php.ini verändern (20 MB Upload „Limit”, sehr hohe Execution Time, etc.).

Die Sahnehaube auf der Aktion war die Involvierung mehrere Browser, denn

  • mein Iceweasel (Firefox) auf meiner Workstation im Büro hat ein defektes Profil und zickt mit JavaScript und so herum,
  • der Konqueror anfangs die SugarCRM Seite (vor dem Upgrade) nicht laden wollte,
  • nur der Opera alles konnte (aber nur bis kurz vor Ende des Upgrades),
  • der Konqueror dann doch die SugarCRM Seite lud,
  • irgendwie aber trotzdem der Upgrade Wizard nicht ganz fertig war,
  • und ich schließlich auf den Iceweasel auf meinem Laptop ausweichen mußte.

Ist doch toll, oder? Wenn das Web die Zukunft ist, dann können wir bald den Laden dichtmachen. Browser sind scheiße – und zwar alle. Gilt ebenso für Betriebssysteme, also macht euch keine Illusionen von frischem Obst.

We have Dragons in the office!

  • Posted on December 28, 2009 at 9:21 pm

We’re sitting in the office and watch the streams from 26C3. Now that’s what I call cool! The streams are quite stable (except for the rush hours).

Speaking of dragons, I just upgrade the main virtualisation server to Linux kernel 2.6.32.2 and qemu-kvm 0.12.1.1. Hooray! In addition the main web server was upgraded from Debian 4.0 to Debian 5.0. It worked like a charm! That’s what I like about Debian.

Back to the dragons! Shhhh!

Who are you?

  • Posted on December 19, 2009 at 12:19 pm

Do you know the most difficult question in the Universe? Well, have you ever ask someone who she or he is? I do not speak about the superficial information like name, appearance or accents. Who are you as a being? What is driving you? What is your set of rules you go by? What do you like, what do not like, what’s important to you? What’s your point of view and why? How did your experiences shape your opinions? What does it take to piss you off? Where are your limits? Do you believe in tea pots or gods?

A being is mightily complex. Any simple answer to the question „Who are you?” is a lie at worst or the start of a very, very long story at best. There is no easy way of getting to know someone. It takes months, years and often a whole lifetime. And you need more than words. You also need deeds and observation and patience. Not everyone speaks through the mouth. Some express themselves in countless of other ways. That means that the question can even be answered by not talking at all, too.

I was wrong. „Who are you?” is a lot easier to answer than „Who were you?”. If you cannot ask anymore, then it gets really hard. Archaeology and forensics can never replace the language of the living. So you use it while you can.

Farewell, Oneup.

  • Posted on December 17, 2009 at 12:41 am

X-Mas: Bah, humbug. It seems that I quoted these word too lightly. I just read the news that Oneup, a hacker from Metalab also known as Florian H., ended his life today. Light a light for him. May our thoughts be with you, friend.

“X-Mas: Bah humbug”

  • Posted on December 15, 2009 at 9:06 pm

Everyone is suddenly keen on getting a thousand things done before Christmas. What a joy! Miracle Max from The Princess Bride comes to my mind.

You rush a miracle man, you get rotten miracles.

Mark my words. And the title of this posting is wildly out of context. The zombie mobs are running on the streets. Do not leave your house or go to a shopping mall! It’s not worth the risk.

  • Comments are off for “X-Mas: Bah humbug”
  • Tags:

Bumper stickers on the web

  • Posted on December 10, 2009 at 7:26 pm

Care for a bumper sticker? Here’s one.

andrew-eldritch-debian

The colours suck, but hey, he supports Free Software! I found the link to the news site with this nugget in Cygenbock’s soup. Very important information that. Keep this in mind. Intellectual love gods who use Debian are good for the world’s karma. Trust me.

„VMAC not found”

  • Posted on December 8, 2009 at 11:31 pm

Well, the new Linux kernel 2.6.32 has a new crypto module called VMAC. It is a 64 bit hash that can be computed on 64 bit platforms – and this very fast. So I decided to look up what VMAC really does. I ended up in the CryptoLounge wiki. And there I clicked on a link to Wikipedia. And then I noticed that the article pointing to the VMAC algorithm had been deleted.

The lost page of VMAC in the English Wikipedia.

The lost page of VMAC in the English Wikipedia.

Note the Thanks, Wikipedia. sign on top of the missing item. Really, thanks a lot. In the meantime I’ll have a look at the C source code in my new kernel. Fortunately my filesystem doesn’t delete items on its own (maybe because I got the admin rights).

“Report what happened to us!”

  • Posted on December 6, 2009 at 9:02 pm

Mendel Szajnfeld

“Report what happened to us!” cried the prisoners who dragged themselves up the death hill of Plaszow concentration camp. Mendel never forgot the desperate cries of his fellow prisoners. And he fulfilled their last wish.

Mendel Szajnfeld was a Polish-born Jew. He was born on 2. August 1922 in Sosnowiec, but grew up in the small Polish town of Lysowiec on the east of Krakow. Mendel was the youngest of seven siblings.

His father worked in a mill and Mendel began with fifteen an apprenticeship as a shoemaker. Later he changed to the plumbing industry.

When Hitler invaded Poland in September 1939, the whole family fell into the hands of the Nazis. At the outbreak of Second World War the Jewish population in Poland consisted of about 3.5 million people. Nearly six years later more than 90% were no longer there. Most of them were murdered, according to the Nazi plan of “cleansing” Europe.

Mendel’s family had to leave their homes and were accommodated in a ghetto.
They were given a large room of about 10 square meters. His mother, father and four children had to live there. The oldest children already moved out before they were sent to the ghetto. There were strict rules about how long the Jews were allowed to stay outside the ghetto. In practice the city was turned into a prison camp. Problems were manifold:

“We had many concerns, such as hunger, cold and ghastly sanitary conditions. It was virtually impossible to obtain clean water so it was very difficult to keep ourselves clean and wash our clothes.” Mendel writes in his book.

On 10 April 1941 Mendel was moved out of the ghetto, together with other unmarried, able-bodied young men. He had not the faintest idea what lay ahead of him.

After a long and arduous train ride Mendel ended up in the Rakowicki concentration camp outside of Krakow. He was informed that he was selected for construction work and various other mechanical labour. During his time at Rakowicki he fared relatively well, according to the circumstances. But in July 1943 he was transferred to a concentration camp named Plaszow, which would get well-known by Steven Spielberg’s film “Schindler’s List”.

“There were many worse alternatives, and only a few were better than than that. But that was little consolation. If only half of the rumours about Plaszow were true, it would get bad enough.” writes Mendelsohn.

Upon their arrival in the camp, the prisoners were rushed to a wash barrack. They were forced to strip naked and were all shaved. Then they were smeared with a disinfectant ointment, the stench was horrible and so aggressive that it almost burnt through their skin. After that they had to shower and they had to wear thin prisoner’s clothing. Mendel got the prisoner number 12219. It was literally vital to memorise this number immediately. One’s own name was now insignificant, only the number was used to address a prisoner. Not reacting to the number meant to get beaten by the guards or worse. Mendel had just turned 21 when he came into this camp.

In July 1943, there were 15,000 prisoners in Plaszow, even though the camp only measured approximately 60 hectares. During Autumn the area was increased to 80 hectares and the number of prisoners rose to 25,000.

Mendel began to work in the sheet workshop in barrack 84. His work consisted of smashing large tubs, buckets and containers into pieces and to straighten these pieces into metal sheets. He also had to fetch material from a huge stack 10 to 15 metres away from the barrack’s entrance.

One day he was out there, and a group of prisoners came by. He saw several familiar faces among the men, who were led to the “death hill”.

You could gather from the sight of these prisoners that this was their last way, that they only had to live for a few minutes. Most of them waved to me and called: “Farewell, hang in there!” And as they walked a bit further they called: “Report what happened to us!” This view left a vivid impression on Mendel and haunted him for all of his life.

An indefinable revolting stench covered the camp. Mendel wondered what this smell could be, and he asked a fellow prisoner:

“Do you really don’t know what this smell is?” the prisoner interrupted. “These are the fires of burning corpses. Every day they burn dead bodies, at all times, because there is no room for the dead. I know some prisoners who work there. At the bottom they put heavy wooden beams, then comes a layer of corpses, on top of that there’s a layer of wood again, and so forth. The Germans are even generously supplying gasoline, so that everything burns well, despite their complains of having not enough fuel for their war machinery. Don’t worry about the stench, you will get used to it!”

On 9 October 1943 Mendel was relocated again. He was put in civilian clothes and got an extra ration of bread. The journey went by train in cattle waggons. It ended in the future Warte munitions factory in Czestochowa. Mendel joined a group that was ordered to work in the plumber workshop. They were to build water-closets, basins and water heaters for the camp supervisors – of course the prisoners had no access to proper sanitation.

In late Autum in 1944 the Russian Red Army approached. On New Year’s Eve a group of Russian-Ukrainian prisoners were brought away from the camp. Despite the the rumours churning in the mill the life in the munitions factory went on as before.

But on 19 January 1945 something was different. The prisoners were told that they must not work on this day, because the production had been halted in the meantime. Later in the afternoon a small group of prisoners were called for being transported. No one knew where they were sent. The remaining prisoners got no notice on what would become of them. They sat in their barracks and waited. Outside there was no noise and there was no sign of the German guards. Did they understand that the front was near, had they fled?

Mendel acted quickly and saw an opportunity to escape.

It was dark and quiet in the German part of the camp early in the morning on 23 January 1945. Most inmates in the prison lay exhausted and apathetic on the ground. Many were dead. Mendel was still strong enough to clearly assess the situation and to escape from the camp. But he had no food and where should he go?

Together with three other prisoners he set off. The others were too weak and stayed behind in a barn while Mendel continued on his own. He wanted to go home to his village.

Several days later he arrived there. He stood on the veranda of his childhood home, but he could not muster the courage to open the door. His feet felt like being nailed to the flagstones, he was afraid, but he did not understand why.

Eventually he opened the door. Inside a neighbouring family sat around a table which was built by Mendel’s father years ago. They were aghast to see him. They stared at him full of arrogance and distaste, and they made no effort to let him in.

The reunion with the village he grew up in was depressing. All Jews were gone; shops, schools, workshops and meeting places were deserted. A community of several thousand human beings had been totally eradicated.

Mendel’s parents and several of his siblings died in the camps during the war.

Mendel was one of the 400 Jewish refugees that came to Norway in May 1947. He settled in Oslo, where he found work in Thune’s mechanic workshop.

He became aquainted with a Norwegian woman named Olfried and married  her. In 1957 he got the Norwegian citizenship.

Mendel made no secret of the fact that the experiences of the war tortured him:

“It was hard to come back to life, but you become used to everything. All the years I have lived with it. The thoughts and experiences will haunt me for the rest of my life. But fortunately the youth nowadays is fantastic. I have sincerest belief in the youth of today. We only have to remind them steadily of everything that happened, so that they can tell the story of our history to the next generation.” Mendel said in the documentary, that was made about this life.

Mendel dedicated the last years of his life to spreading his experiences during the war and with the persecution of Jews. He visted schools all over Norway and was an irreplacable contemporary witness for the foundation Hvite busser til Auschwitz (“white busses to Auschwitz”).

In 1993 Mendel Szajnfeld published the book ”Fortell hva som skjedde med oss” (“Report what happened to us!”) with Gyldenhal publishers.

Mendel Szajnfeld died on Sunday, 21 May 2000.

// Translated by René Pfeiffer v.k.a. Nightlynx, errors excepted.

// Anyone who does not learn from history is doomed to repeat it.

Ruby On Snails Rant

  • Posted on December 4, 2009 at 10:56 pm

Ganz toll. Ich habe gerade stundenlang schlechte Dokumentationen gelesen, um eine simple Webapplikation zu installieren. Der Code läuft auf Schienen, weil es Ruby on Rails ist. Soweit ist das ja noch ganz gut. Man kann nun die Applikation mit einem Standalone Web Server laufen lassen. Das wollte ich nicht, weil ich einen Apache brauche. Macht ja nichts, gibt ja den Passenger. Als Fan von Dexter mag ich zwar keinen Apache mit einem Passenger haben, Ruby läßt mir aber nur schlechtere Wahlen. Die Installation vom Passengermodul möchte gerne das Installationsskript mit root Rechten ausgeführt haben. Krank. Im Web setzt bei vielen sofort das Hirn aus.

Jedenfalls gab es dann den Passenger, einen Apache, SSL/TLS Support und eine Konfiguration, um die Applikation einzuhängen. Stundenlange 404 später gab mir ein Blog den entscheidenende Tip. Man lösche einfach das mitgelieferte .htaccess und schon geht alles. Tatsächlich, es stimmt. Ganz toll, dafür braucht man Stunden, weil es 1001 Anleitung gibt wo die Leute alles anders machen. Natürlich ist PHP auch die Hölle, aber da werfe ich zumindest alles in ein Verzeichnis und es geht halbwegs (will heißen es wirft keinen 404).

Ich freue mich schon auf die nächsten Upgrades on Rails.

Top