Wierd errors when running Nagios3
While setting up Nagios3 I got this error: (Return code of 127 is out of bounds – plugin may be missing). I couldn’t understand what it was because I could run check_nrpe manually from the CLI and other plugins (link check_ping) worked fine. After a lot of looking around it turns out (atleast in Gentoo) [...]
Unmerging several packages using wildcards
Easy as pie (once you know it):
cd /var/db/pkg/; emerge -Ca */*PACKAGE*
Keeping /tmp contents between boots on Arch
Although dependancy on /tmp is a bad idea, I still want to be able to recover things like OpenOffice and Okular files between boots. You could probably set up where these programs do temporary storage, but this is quicker; open up /etc/rc.inittab anddelete the line “/bin/rm -rf /tmp/* …”.
This works, however old stuff is now [...]