Articles by Scott Hebert

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

  3. 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 …
  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. Google Chrome Stuck Overseas

    Posted on in Software

    I recently spent six weeks in Sydney working for my new job. Naturally, while I was there, I let Google Chrome's omnibox redirect my searches to Google Australia. Fast forward a few weeks, and I'm back in the States, but Chrome is living in the past. After trying just about …

  7. Asterisk 1.2 Variable Length Limit

    Posted on in voice

    It seems the maximum length for variables (at least those in extensions.conf) in Asterisk 1.2 is 255 characters. Running into this problem has to be uncommon, but it can really bite you if aren't aware.

    Although I am only aware of this limitation in Asterisk 1.2, it …

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

  10. [Cisco] Telnet/SSH work, HTTP Gives Permission Denied

    Posted on in Networking

    Here are a few tips that might be helpful if you are having trouble accessing your Cisco router or switch via the web server.

    • Make sure you have the right password! This is pretty obvious, but it's definitely the first thing worth checking.
    • If you're using aaa new-model, you will …

Slaptijack's Koding Kraken