apt-get update: procps ... start: Job failed to start

Submitted by Nikolaus Polak on Wed, 10/16/2013 - 16:49

Seeing an error message during a server upgrade is something you don't want to see - but it seems many people are hit by that Ubuntu bug. Seems my systems were hit because I use OpenVZ (or, better said, Proxmox) for virtualizing my servers.

In the bugreport comments #5 and #11 you'll find the solution: comment out kernel.kptr_restrict = 1 or (re)move the file /etc/sysctl.d/10-kernel-hardening.conf

Now the update process can complete :)

htmLawed configuration for Drupal's teaser break

Submitted by Nikolaus Polak on Sat, 05/18/2013 - 01:17

When upgrading a website from Drupal 6 to Drupal 7 I suddenly saw "<!--break-->" as plain text inside the teaser, instead of hinding the following text - what happened?

htmLawed does its job very well - inside HTML tags there are no comments allowed, so you've to configure it to do so:

Under text formats (/admin/config/content/formats) edit the text format which has this problem and add following in the htmLawed configuration field:

, 'comment'=>1

Done :-)

Gentoo as OpenVZ guest - UDEV Problems

Submitted by Nikolaus Polak on Sat, 03/02/2013 - 15:05

During the last weeks I tried to skip the udev update on my Gentoo-OpenVZ- guests (which are running since some years), because the needed kernel versio for OpenVZ-host systems simply doesn't exists. Now I searched for the perfect solution, tried some others - and found the nicest in the in the German Gentoo-Wiki:

Stop udev from starting during system boot:

StatusNet too much log entries

Submitted by Nikolaus Polak on Wed, 10/10/2012 - 12:13

Since a few years I've a StatusNet Microblog site, where the logging into syslog generated about 1GB entries a day. I found nowhere a nice solution, even in the StatusNet forum many people asked about the same problem - and got almost no useable answer.

Today I played around with some settings, and it seems these two changes are removing almost every logging - not very nice, but it works for me:

Ubuntu 12.10 and Amazon suggestions

Submitted by Nikolaus Polak on Fri, 10/05/2012 - 09:52

During the first two beta releases of Ubuntu 12.10 there was a lot of excitement, as the main lens of Unity suddenly showed not only your installed programs and files, there were also Amazon search results. Mark Shuttleworth answered within hours , but some people didn't understand it completely, they thought there will be no easy way to deactivate this new feature.

Android Tools on Ubuntu 12.10

Submitted by Nikolaus Polak on Tue, 09/25/2012 - 11:21

If you are sometimes installing custom ROMs and/or debug over USB, you had to install the full Android SDK manually or add a PPA. Now, on Ubuntu 12.10 thats much easier: In the Ubuntu Software Center are the two most needed tools - search for "Android", click on "technical items" on the left lower corner, and install "android-tools-adb" and "android-tools-fastboot".

Even faster with terminal:

Root for Xperia P ICS and many more Android phones

Submitted by Nikolaus Polak on Sat, 09/15/2012 - 14:53

This week bin4ry from theXDA-forum released a nice ROOT-method for many ICS-Android phones, working with a Windows computer. Because I'm almost only on Linux, I've ported his tool to Linux: Root MANY Android for Linux.

Tested it with my Xperia P without problems, hopefully my ported script helps others too :-)

Gimp 2.8 on Ubuntu 12.04

Submitted by Nikolaus Polak on Mon, 06/11/2012 - 11:31

The new version of GIMP didn't make it into the current Ubuntu LTS release, so here are some lines to install it (from an inofficial repo) easily:

sudo apt-get remove gimp
sudo apt-get autoremove
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp

Then your installed GIMP can do YMCK, one-window-mode and much more :-)

Update to Drupal 7 - Toolbar-menu empty?

Submitted by Nikolaus Polak on Sun, 04/15/2012 - 19:50

Had this problem today, the solution is rather simple.
Open Phpmyadmin, execute following SQL on your Drupal database:

DELETE FROM menu_links WHERE module = 'system'

Then clear the cache within your Drupal site ("/admin/config/development/performance").

Background: Seems this happens, when you've altered the system menus in Drupal 6.

Subscribe to