Articles in the system_administration category

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

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

  3. 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 …
  4. 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 …
  5. 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 …

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

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