Slaptijack Title

Archive for the ‘System Administration’ Category

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

Restart Brother ControlCenter

On your Mac, the Brother ControlCenter software that let's you scan an image from your Brother MFC to your computer is started at boot by launchd. Therefore, it can be restarted from the command line. For example, here is a list of processes controlled by launchd: $ launchctl list | grep brother 286 - [0x0-0x17017].com.brother.ControlCenter […]

Categories: System Administration