home

Quickies, by Andrea Olivato

text

#Apache Error : No space left on device

Here’s how I get rid of annoying error ‘no space left on device’ while restarting apache webserver on Debian Lenny

fuser -k -n tcp 80

2 years ago

October 7, 2009
Comments (View)
text

Reinstall all currently installed packages from apt

This script, found on ubuntu forums, might help if you rm -rf some important dir and want to repair everything. Obviously it never happened to me.

for pkg in `dpkg --get-selections | awk '{print $1}' | egrep -v '(dpkg|apt|mysql|mythtv)'` ; do apt-get -y --force-yes install --reinstall $pkg ; done

2 years ago

July 21, 2009
Comments (View)