Articles in the system_administration category

  1. [MacPorts] upgrade gnutls failed

    Posted on in System Administration

    MacPorts logo

    I ran into this issue while trying to install wine-devel on my Mid 2012 MacBook Pro running El Capitan and MacPorts 2.3.4. As the install progressed, here is the error I got:

    Error: org.macports.build for port glib2 returned: command execution failed
    Please see the log file …
  2. What's Next? Using Chrome OS and Crouton For Work

    Posted on in System Administration

    It is well-documented that I am a heavy Google user. I use Gmail and Google Docs for just about everything. Additionally, I have used an Android phone since I got the HTC Dream (AKA T-Mobile G1) when it first came out.

    However, I have been using OS X full-time since …

  3. Redis: Better Session Storage for Magento

    Posted on in System Administration

    Out of the box, Magento has four methods available for storing session data: filesystem, database, memcached, and tmpfs. The default method is to store session information in the filesystem. I believe that storing sessions in Redis is actually superior to all of the aforementioned methods. Each of the four default …

  4. El Capitan Leads to More DNS Woes

    Posted on in System Administration

    For whatever reason, Apple really likes messing with how I use DNS.

    I've written many, many, many times about having to modify OS X's DNS functionality to append search domains when a hostname includes a dot. Every single time I upgrade, this change is broken.

    Previously, the workaround had been …

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

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

  7. 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 …
  8. 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 …
  9. 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 …

Slaptijack's Koding Kraken