Kategorie-Archiv: Linux / Unix

Wkhtmltopdf Segmentation Fault

Wkhtmltopdf ist ein großartiges Tool zum Erzeugen von PDF-Dateien aus Internetseiten bzw. HTML-Dateien. Dank der unter der Motorhaube arbeitenden WebKit-Engine erzeugt Wkhtmltopdf in den meisten Fällen ohne spezielle Anpassungen von HTML und CSS erwartungsgemäße Ausgaben. Das spart Entwicklungszeit und somit Kosten.

Leider wurden meine positiven Erfahrungen mit Wkhtmltopdf vor Kurzem getrübt. Sowohl auf einem aktuellen Debian Squeeze (nativ) als auch auf einer Xen-VM mit Debian Wheezy stürzte die statisch gelinkte Version 0.11.0 RC1 des Tools reproduzierbar beim Erzeugen von PDF-Dateien ab (Segmentation Fault). Weiterlesen

wget untar on the fly

Downloading and extracting large tarballs usually takes plenty of time. Extracting tarballs during the their transfer reduces the waiting time because you a) don’t need to do wait for the transfer to finishes before starting the extraction and b) the machine doesn’t have to read the tarball from the disk while simultaneously writing to it.
Weiterlesen

Solr Multicore: Installation, Configuration

If you start Solr with the default configuration, there will be only one instance running. That’s enough if you have only one website which you want to index but if you have several websites, you probably don’t want them to share an index as you then would get search results from both websites.
Luckily Solr already brings the so called multicore feature with it. It allows you to run multiple instances that use different configuration sets and indexes.

This little howto will show you how to install / configure Solr to make use of the multicore feature.
Weiterlesen

Redmine, Apache, Subversion: Could not read status line

If you use a combination of Redmine.pm, Apache and SVN and are wondering about error messages telling you "COPY of ‘foobar’ : Could not read status line: connection was closed by server" or "COPY of ‘foobar’ : Could not read status line: secure connection truncated" you probably will want to switch to apache2-mpm-prefork to get rid of them.

A combination of Redmine.pm, apache2-mpm-worker and Redmine.pm doesn’t seem to be stable at all.

How-to: Debian: Automatically mounted loopback images with dm-crypt, LUKS, pam_mount

How to create encrypted loopback images with dm-crypt and LUKS + automatically mounting them after login with pam_mount

I recommend using debian squeeze for this scenario as lenny includes a very old version of libpam-mount and I had lots of problems when I tried using it.
Using only the libpam-mount package and its dependencies from squeeze maybe (I didn’t try it and I wouldn’t recommend it either) does the job too, but at least has a very bitter after taste if you take a closer look at the dependencies.
Weiterlesen