Slaptijack Title

Archive for the ‘System Administration’ Category

Mac OS X Not Using Search Domains

Every time I restart my OS X Mountain Lion (10.9) laptop, it stops using the DNS search domains I've added via the Network preferences pane. I have found that restarting mDNSResponder fixes this issue. There are two ways to do this.

Categories: System Administration

Puppet + Augeas: Modify Logrotate Configuration

On my web server, I keep my web sites in /var/lib/www. Each web site has a dedicated logs directory. Since logrotate is already rotating Apache logs on the server, I'd like to continue using that to rotate these log files as well. Below, is a Puppet snippet that uses Augeas to modify the stock Debian […]

Categories: System Administration

/usr/bin/mandb: the setuid man user "man" does not exist

I stumbled across this problem when a daily cronjob on one of our Debian servers complained about this. A lot. If you run across this on one of your systems, there is a quick fix.

Categories: System Administration

Finder Crashing Every Minute

Thanks to an error report from one of my backup jobs, I noticed that /Users/slap/Library/Logs/DiagnosticReports was filling up with Finder crash reports (files of the type *.crash). These files were being created once a minute. Additionally, icons on my Desktop were blinking once a minute.

Categories: System Administration

OS X CLI: Install VirtualBox

I decided the other night to begin doing some testing using my headless Mac Mini. I use VirtualBox for all my testing on my Mac OS X systems. Since the Mini is headless, I decided now was as a good a time as any to start using VirtualBox via the command line. Obviously, installing VirtualBox via the command line is not the same as running VirtualBox via the command line, but installing any package from the command line must be practiced to be remembered.

Categories: System Administration