Author Archives: admin

CentOS 7 PHP Install : mcrypt.h not found

Received the error while installing PHP: configure: error: mcrypt.h not found. Please reinstall libmcrypt. Resolved it with this: yum install epel-release yum install libmcrypt-devel

Posted in Uncategorized | Leave a comment

Google Authenticator on Android, Invalid PIN

2FA is pretty cool, especially when you don’t have to get a text message or email. Google Authenticator generates codes that expire after 30 seconds, so I figured it’s a good option for 2FA. I tried installing it on my … Continue reading

Posted in Uncategorized | Leave a comment

MongoDB Startup Warnings /sys/kernel/mm/transparent_hugepage/enabled is ‘always’

This happens every time and I need to look for the solution. Posting here to save time going forward. “startupWarnings”: { “totalLinesWritten”: 9, “log”: [ “2015-08-21T18:47:29.634+0000 I CONTROL [initandlisten] “, “2015-08-21T18:47:29.634+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’.”, “2015-08-21T18:47:29.634+0000 … Continue reading

Posted in Uncategorized | Leave a comment

Remove Mongodb mms automation agent

I can edit the port in the config file, but automation agent wipes that change out. How the heck does one change the port in cloud manager? I’m going to try removing and reinstalling the agent to see if that … Continue reading

Posted in Uncategorized | 1 Comment

Mount Drobo 5n from Ubuntu 14

Had to do some searching to figure this out, so I’m noting it here for future reference. Even though smbclient -L works just fine, mounting with smbmount or mount -t was just not working. apt-get install cifs-utils mount.cifs -vv //192.168.0.3/backup … Continue reading

Posted in Uncategorized | Leave a comment

WordPress permalinks in nginx subfolder

Was having some trouble hosting a wordpress site from a subfolder of the domain, ‘/blog’. The permalinks just would not work until I found this solution: I only had to adapt it slightly for my situation: location /blog/ { try_files … Continue reading

Posted in Uncategorized | Leave a comment

Just another wordpress child theme instruction / white page of death cure

Carelessly following these instructions, I got a WPOD. Turns out the reason was I was copying two sections where I really only needed the second. For the not-so-faint-of-heart; make your child folder, such as ‘twentyten-child’ (2010, old-school, I know!) Then … Continue reading

Posted in Uncategorized | Leave a comment

Can’t upload as different user with VSFTP

Running vsftpd on CentOS, a user was unable to upload a file to a folder for which the user had group permissions. Thanks to this post here, I was able to figure it out. Needed to edit vsftpd.conf and update … Continue reading

Posted in Uncategorized | Leave a comment

perl’s File::PID trickiness

I have a program that uses perl’s File::PID but I was having some issue where the program would occasionally start multiple times. Finally today I spent some time to figure out what’s going on. It seems that if you use … Continue reading

Posted in Uncategorized | 2 Comments

Failed to prepare The drive Y:\ does not exist!

While trying to run automated backups with syncbackfree some systems were having the subject error. According to this forum the problem is with trying to use a mapped drive. I changed it to the LAN ip address \\192.168.0.100\ and we’ll … Continue reading

Posted in Uncategorized | Leave a comment