Axel's root Blog

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

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 »

Rails Environments as Virtual Hosts

2009-10-16 by Axel Reinhold, tagged as apache, rails
Configuring all Rails environments as different virtual hosts in apache with FastCGI almost drive me nuts.

Read more »

Apple is friendly

2009-10-15 by Axel Reinhold, tagged as apple, hardware
Three days ago my son smashed his 2-months old MacBook Pro ...

Read more »

Magento Performance Tuning

2009-10-14 by Axel Reinhold, tagged as magento, performance
Web application tuning is an art - especially magento as heavyweight php application challenges - but with a couple of settings it performs good.

Read more »