ubuntu snmp spam
with the default settings in ubuntu server /var/log/daemon can fill up pretty quick with SNMP spam like this: Oct 18 07:01:48 Build01 snmpd[2245]: Connection from UDP: [monitor01]:47674 Oct 18 07:01:48 Build01 last message repeated 19 times every time a connection is made to snmp the default is to log a message and this is way […]
MySQL AppArmor
So I was getting these messages “mysqldump: Got error: 1: Can’t create/write to file ‘/db_backups/mysql/table.txt’ (Errcode: 13) when executing ‘SELECT INTO OUTFILE’” What I’ve come to find is that on a default install of ubuntu APPARMOR will block mysql from writing to any directory other than a few key ones needed by the app. Edit […]
Changes
These last couple weeks I’m taking a look at some major infrastructure changes. We’re looking at doing a gadget for Yahoo which means I had chance to implement some new infrastructure options. Things which I’d thought about at one time or another or someone else had brought up to me in the office and was […]
text conversion
dos2unix is something I’ve used for ages, converting windows files into something more pretty for my linux machine. Looking for it in my new install of ubuntu I discovered it’s within the tofrodos package, which I must note for later reference.
rebuild
This weekend I had decided I would add another partition to my MacBook Pro, to install Windows on. I had recently started running Ubuntu as my main OS and figured it would be good to get that “other OS” on there as there always seems to be some need for it. Kind of like the […]
Stop th noise
Running Ubuntu in a VMWare session I was getting my annoying system beeps. In order to kill this I edited /etc/modprobe.d/blacklist and added ‘blacklist pcspkr’. Now I have a silent server and don’t drive everyone completely bonkers with beeps.
getting Apache2::Request enabled in Ubuntu
Installing the libapreq2 module alone isn’t enough to get Apache2::Request running. Additionally you will need to go to the /etc/apache2/mod-enabled direcorty and sym link in the module to be loaded from /etc/apache2/mods-available cd /etc/apache2/mods-enabled ln -s ../mods-available/apreq.load apreq.load /etc/init.d/apache2 restart
Ubuntu on Xen – locale
Just got a dev box setup on a xen’d version of ubuntu and was getting the following errors when trying to run perl: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = “en_US.UTF-8” are supported and installed on your system. perl: warning: Falling […]
Ubuntu and ssh keys
Ran across a small thing in Ubuntu. Normally when host changed on me for my ssh connection I get the big “HOST IDENTIFICATION HAS CHANGED” and the “man-in-the-middle attack” message. Previously I’d just went in and edited ~/.ssh/known_hosts file (under various Redhat flavors) and removed the offending host by searching for it’s name. At that […]