1. Agreeing to the Xcode/iOS license...

    Posted on in Programming

    Sometimes this pops up when you least expect it:

    Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
    

    This morning, I went to refresh one of my git repo's for work, and make spit that out. What the heck happened last night? Anyway, the …

  2. nginx: Blocking Access to /xmlrpc.php

    Posted on in System Administration

    I recently ran into an issue on a Wordpress site running behind an nginx web server. The site was frequently being attacked by a botnet hitting /xmlrpc.php so rapidly, it would eventually force the FastCGI processes behind nginx to consume all available CPU. Naturally, this would cause all legitimate …

  3. Goodbye, discoveryd. Hello again, mDNSResponder.

    Posted on in System Administration

    Great!

    Once again, Apple has made a change in how DNS is handled in Mac OS X. Originally, Yosemite (10.10) had replaced mDNSResponder with discoveryd. This meant that all of those who had made a change to force mDNSResponder to always append search domains to DNS lookups had to …

  4. Career Advice: Becoming a System Administrator

    Posted on in IT Management

    Recently, I got an email that went something like this:

    I have completed a BTech in Electronics and Communication. Now, I am working as a desktop engineer. How can I move my career to the network / server side?

    Career moves are hard for everyone. Personally, I've been thinking about making …

  5. 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 …
  6. 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 …
  7. 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 …

  8. Mutt: Deleting Messages Older Than 30 Days

    Posted on in Software

    I tend to clear out large chunks of email all at once. The most common thing I do is clear out all mail older than 30 days.

    In mutt do the following:

    1. Shift-D to delete messages matching a pattern. This will return a prompt that says Delete messages matching:.
    2. ~d …
  9. 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 …

  10. 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 …

Slaptijack's Koding Kraken