Posted in Linux/Unix/OpenSource by: sean
No Comments
16 Sep
After my previous post I ended up wiping my Myth box and installing Mythdora. Apparently there are some unresolved issues in F7’s kernel and the ivtv packaging.
Everything worked well except recording was funny. Watching livetv was jumpy… Every few seconds the audio and video would stutter. Watching a show on the MVP downstairs [...]
Posted in Linux/Unix/OpenSource by: sean
No Comments
03 Sep
My MythTV box was sadly out of date, and to use the new scheduling service I needed to upgrade.
DVD problems prevented me from upgrading from the DVD I downloaded. Luckily I found how to use the PXE image on the DVD to boot. It’s pretty nifty, you point your bootloader at the PXE [...]
Posted in Linux/Unix/OpenSource by: sean
1 Comment
27 Jul
I’ve had some problems with Apache and I’d like a core dump when it happens so I can get a backtrace.
It’s harder than you think. Red Hat has 2 documents on it: this and that.
The summary of those is to add
CoreDumpDirectory /var/apache-dump
to httpd.conf, and make that directory 777. Then, edit some startup scripts [...]
Posted in Linux/Unix/OpenSource by: sean
No Comments
03 Jul
Whenever you generate an RPM (rpmbuild -ba foo.spec), an package called foo-debuginfo is also created.
My original thoughts were that this created a debugging version of the binary, ie the same version compiled with -g, because (*hitches up suspenders*) that’s the way we used to do it. So, I’d delete them.
After needing to get a backtrace [...]
Posted in Linux/Unix/OpenSource by: sean
4 Comments
24 Jun
How to make the transition as seamless as possible? I found out the hard way, it’s not as easy as remounting with -t nfs4!
server is already exporting /home through /etc/exports
/home 10.4.91.0/24(rw,no_root_squash,async)
Create the NFS4 pseudofilesystem:
mkdir /NFS4
chmod 777 /NFS4
Create a place for /home to go
mkdir /NFS4/home
mount –bind /home /NFS4/home
make it permanent in /etc/fstab
/home [...]
Posted in Linux/Unix/OpenSource by: sean
1 Comment
30 May
I’ve really been getting into cfengine lately to manage configurations across multiple servers.
One thing I want to do is to make sure that the proper services are started. Making sure they’re running is easy with the processes command:
processes:
“cfenvd” restart “/sbin/service cfenvd restart”
I also want to make [...]
Posted in Linux/Unix/OpenSource by: sean
No Comments
26 May
As part of my work with b5 I’m wrangling with 10 servers now. When I started out it was 3, so keeping configurations in sync was pretty easy, a bit of shell scripting, a bit of rsync. But now we’ve got server roles, we’ve got config files that are slightly different per server, [...]
Posted in Linux/Unix/OpenSource by: sean
1 Comment
11 May
I’ve had a need to distribute the memcached and APC modules to various web servers in a farm. pecl/pear modules have a pretty cool interface similiar to yum, but it’s all based on source. It does, however, have facilities to help you build an RPM. Because I try to use RPM for everything [...]
Posted in Linux/Unix/OpenSource, Personal by: sean
No Comments
01 May
fixcanoe.user.js
Removes the search box at the top of some pages that steals focus.
Stops the tabs from rotating on the front page.
Don’t have Greasemonkey? Get it
Posted in Linux/Unix/OpenSource, Personal by: sean
No Comments
18 Apr
I’ve uploaded some of my code to sourceforge to a new project called taind – tools for analyzing and interpreting netflow data. I wrote this to analyze BGP peering options, it uses netflow data and multiple BGP tables (from “show ip bgp”) to evaluate what your current traffic distribution is, and what it would [...]