Articles in the System Administration category

  1. Why Isn't tmpreaper Working?

    Posted on in System Administration

    If you have a directory that you want to keep clean, tmpreaper is a great way to remove files based on how old they are. The other day, I had a directory that looked like this:

    x@x:~/dump$ ls -l
    -rw-r--r-- 1 x x 212268169 Mar 15 01:02 …
  2. WARNING: The following packages cannot be authenticated!

    Posted on in System Administration

    We run several (read: hundreds) of servers that are still running Debian 6 (Squeeze). A few months ago, we started seeing the following errors coming from the daily apt cronjob: "WARNING: The following packages cannot be authenticated!" When running apt-get update the following errors dump out:

    $ apt-get update
    W: GPG …
  3. Mac OS X Not Using Search Domains

    Posted on in System Administration

    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.

    The first is a simple restart by sending …

  4. Finder Crashing Every Minute

    Posted on in System Administration

    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.

    Upon …

  5. OS X CLI: Install VirtualBox

    Posted on in System Administration

    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 …

  6. Restart Brother ControlCenter

    Posted on in System Administration

    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 …
  7. [MySQL] Stuck at copying to tmp table

    Posted on in System Administration

    I have a fairly lightly loaded MySQL server with a few tables that are updated every five minutes. Other than these updates, there are very few queries run against the database. The data is queried just a few times per month. Ever so often, one of the more complicated queries …

  8. vCloud Director Install - ORA-00972 Error During Oracle Setup

    Posted on in System Administration

    If you are unfamiliar with Oracle and setting up your vCloud Director Oracle database, don't make the same mistake I made:

    SQL> CREATE TABLESPACE "CLOUD_DATA" DATAFILE "/home/oracle/app/oracle/oradata/orcl/cloud_data01.dbf" SIZE 1000M AUTOEXTEND ON ;
    CREATE TABLESPACE "CLOUD_DATA" DATAFILE "/home/oracle/app/oracle/oradata/orcl/cloud_data01.dbf …
  9. Lion + Cisco VPN DNS Workaround

    Posted on in System Administration

    When I upgraded to OS X 10.7 (Lion), I started using the built-in IPSec VPN client rather than Cisco's VPNClient. I experienced problems immediately. At first it appeared that the connection was being made, but no traffic was passing. When I tried pinging by IP address, I found that …

Slaptijack's Koding Kraken