dcpromo fails with An error with no description has occurred on Server 2008R2

While working to get rid of all our 2003/2008 DCs to get our AD to a 2012 Native level I came across one 2008 DC that was extremely difficult to rid ourselves of. It was created about a year ago to replace our 2003 FSMO master, and had been running without major issue since then. After building a new 2012 VM, and DCPromo’ing it, I transfered the FSMO roles to a stable server and set out to demote and decommission the 2008 machine. Upon running dcpromo from an admin shell, the system began to detect the ADDS binaries, and failed. The message it failed with was an extremely helpful “Failed to detect if Active Directory Domain Services binaries were installed. The error was: An error with no description has occurred.” Lovely.
Continue reading dcpromo fails with An error with no description has occurred on Server 2008R2

Bash script to automatically restart MySQL when website database connection is down

I’ve been noticing that periodically my MySQL service will hang and require a restart. It’s easy enough to SSH in and restart it, but I only catch it after the fact. So I wrote this little script which curls my website, sees that it’s down and restarts MySQL and shoots me an email with sSMTP. This only checks for the MySQL service not accepting connections from Apache. If there’s an error with Apache, or it’s not running this won’t do anything. Continue reading Bash script to automatically restart MySQL when website database connection is down

On Rob Ford

I’m very happy the fat fuck is out of office. He’s bad for Toronto in many ways. From his idiotic stance on mass transit, his shit take on bikes, giving Don Cherry an ounce of attention, trouncing worker’s right to strike, his stance on non-football related social services, his attempt to Americanize Toronto politics with idiotic partisan rhetoric, it’s all bad and I’m against him.
Continue reading On Rob Ford

Change default font in Office 2010 (Outlook, Word, PowerPoint) by GPO

I was asked if it was possible to rebrand our Office apps so that by default, we’d all be compliant with corporate branding when composing email, PowerPoint presentations, and Word documents. If I didn’t get to do fun things with computers, that would actually sound like the worst thing ever. But this kind of stuff is neat, so yay me! Continue reading Change default font in Office 2010 (Outlook, Word, PowerPoint) by GPO

Configure Multiple PPTP VPNs on Tomato Based Router

I have a VPN setup from my router to work so that I don’t have to dial one up when I need to get to some server from home. However, I also live in Canada and want to be able to purchase stuff from Google Play that I can’t get here, namely music, and be able to get US Netflix, Amazon Prime bonuses, etc. So I needed to set up a second PPTP VPN, since the US endpoint I have access to is a Windows server with RRAS. Unfortunately, the GUI doesn’t support two PPTP VPNs, so I had to figure out how to script it. Continue reading Configure Multiple PPTP VPNs on Tomato Based Router

Why I’m a CA and you can too…

SSL Certificates are expensive, and most CAs aren’t that respectable anyhow, so why are we all using their certificates to prove we trust each other? I figure you’re here for one of two reasons. You’re either my friend and got here accidentally or you’re looking for computer advice; you either trust me because we’re friends, or you trust me enough to make your computer work better.
Continue reading Why I’m a CA and you can too…