OpenVZ/Proxmox Container: rsyslog problems after dist-upgrade

Submitted by Nikolaus Polak on Fri, 05/02/2014 - 09:29

Right after a update of Ubuntu Server I faced that rsyslog used 100% CPU and that /var/log/syslog got filled up with following line, which was repeated almost every second:

[rsyslog] imklog: error reading kernel log - shutting down: Bad file descriptor

The problem is, that rsyslog tries to log kernel messages, which is as OpenVZ/Proxmox Container default not possible - to fix this, remove/comment out following line in the file /etc/rsyslog.conf (here already done):

Apache 2.2 with PFS on Debian 7 wheezy and Ubuntu 12.04

Submitted by Nikolaus Polak on Sat, 04/12/2014 - 17:16

During I was changing all ssl keys because of the heartbleed bug I thought it is a good time to enable PFS on my Debian 7 und Ubuntu 12.04 LTS servers (ECC keys and ECDH ciphers). Here is a step by step howto, when its not your first time to install something from source it shouldn't be that hard:

1. Preperation - download source and needed tools

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 :)

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:

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 :-)

Subscribe to Ubuntu