Axel's root Blog

for nerds only - little stories from the everyday sysadmin life with problems and their hard-to-find solutions
Archive for November 2009

Rails locking across multiple forms

2009-11-24 by Axel Reinhold, tagged as rails
In a rails application i needed to lock an object across multiple forms. When i tried to increment lock_version the locking code prevented it.

Read more »

no ssh login because of currupt /dev/null

2009-11-10 by Axel Reinhold, tagged as linux, network
After a reboot i could no more login via ssh to a hosted server. The reason was /dev/null being an ordinary file instead of a character special device.

Read more »

OpenVZ with VEs in different subnet

2009-11-08 by Axel Reinhold, tagged as network, openvz
My hosting company supplies additional IPs for my server in a different subnet as the main IP for the server. This is not directly supported by OpenVZ.

Read more »