• Migrating from Rackspace to AWS

    I finally migrated my web and email hosting from Rackspace to AWS. I have been with Rackspace since the Slicehost days, back in September of 2009. I’ve gone from having multiple clients hosting large, multi-terabyte, applications with 60+ servers on Rackspace with dedicated technical account managers to only managing a few servers (mine and clients) […]

  • Proxy SQL Services Reporting Server with HAProxy

    A common issue with SQL Server Reporting Services is to proxy the server so it is not exposed on the internet. This is difficult to do with nginx, apache, and others due to NTLM authentication, although nginx offers a paid version that supports NTLM authentication. One easy fix is to use HAProxy and use TCP […]

  • Migrating DNS Domain to new Registrar

    A not so common task for most is to migrate a domain from one registrar to another. One of the most important things that you can do to ensure the domain and applications remain available is to migrate all DNS records first and verify that it’s working on the new DNS provider, and only then, […]

  • Windows Server: Create an Alias to Localhost FileShare

    Windows, by default, does not allow the use of a hosts file entry to alias a CIFS share to localhost. The typical error when attempting this would be “Incorrect username or password.” when navigating to the share. To fix this, add a registry entry like the following: HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / […]

  • puppet: could not retrieve fact fqdn

    On a recent new server deployment, I ran across the error that puppet could not find the fqdn fact: Warning: Could not retrieve fact fqdn Warning: Host is missing hostname and/or domain: $short_hostname This was on an ubuntu 14.04 host running puppet 3.4.3 (ancient). The fix was to ensure that the FQDN was in the […]

  • Script Kiddy of the Day

    I saw this humorous attempt in the apache logs this morning: ==> /var/log/httpd/access_log

  • My new rails application won’t display the “Yay!” page!

    I was doing some recent environment testing with rails with the same application created on each of OSX, CentOS, and Ubuntu and was surprised when the application gave an error about no root route available, instead of the “Yay!” page: I, [2020-02-12T16:51:06.845723 #46720] INFO — : [8d1ab83a-b4e4-45bf-a734-a6494c4d15c2] Started GET “/” for 127.0.0.1 at 2020-02-12 16:51:06 […]

  • Enable EPEL Repository on Amazon Linux

    Amazon Linux provides an easy way to install / enable the EPEL yum repository from the command line. Use the amazon-linux-extras command to enable the epel feature, and then install the repository: amazon-linux-extras enable epel yum install epel-release To see which packages are available via amazon-linux-extras, just type the command without any arguments.

  • Rails new fails to create all of the content…

    I recently deployed a Rails app on a CentOS 8 container and was surprised to see that the ‘rails new’ command did not create the entire application directory structure that I would expect, ie: [root@607ebc931c48 app]# rails _5.2.3_ new centos_app_2 create create README.md create Rakefile create .ruby-version create config.ru create .gitignore create Gemfile run git […]

  • Unique UserAgent

    I saw this line in a server log this morning and thought it was humorous – if you’re going to spoof the UserAgent, why not do it right? 109.228.111.66 – $virtual_host.com – [06/Feb/2020:07:21:11 -0800] “GET /.env HTTP/1.1” 301 238 “-” “Mozlila/5.0 (Linux; Android 7.0; SM-G892A Bulid/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Moblie Safari/537.36” […]