Posted by Weezey in Uncategorized
on Jan 14th, 2013 | 0 comments
Had a lovely error occur on my main mySQL server and basically the problem was too many connections. Now, this could just mean I'm having all kinds of traffic, but the more likely culprit is that the connections aren't be freed up when they were done. So I looked into the system and found my max_connections set at 500 and upped it to 1000 while I investigated further. I found the command SHOW PROCESSLIST; returned quite a few processes in the Locked state. I also found the SHOW STATUS WHERE variable_name LIKE "%con%"; returned a climbing list of threads connected because of those Locked threads. After...
Posted by Weezey in Uncategorized
on Sep 10th, 2012 | 0 comments
I always forget how to do this and I need it more often than I'd like... To allow users to be able to RDP to a Windows Server... Issue: You receive the error message "To log on to this remote computer, you must be granted the Allow log on through Terminal Services right. By default, members of the Remote Desktop Users group have this right. If you are not a member of the Remote Desktop Users group or another group that has this right, or if the Remote Desktop Users group does not have this right, you must be granted this right manually" Cause: Due to changes made in newer Microsoft Windows operating...
Posted by Weezey in Uncategorized
on Jun 4th, 2012 | 1 comment
Old news, certainly, but I wasn't able to get upstart to start iaxmodem and Hylafax' faxgetty properly so after much trial and error, here's how to make it work... /etc/sysconfig/init add the following line: ACTIVE_IAXFAX="ttyIAX0 ttyIAX1 ttyIAX2 ttyIAX3 ttyIAX4 ttyIAX5 ttyIAX6 ttyIAX7 ttyIAX8 ttyIAX9″ I had tried to create this as a range (ttyIAX[0-9]) but the resulting process ended up being started with /usr/local/sbin/faxgetty ttyIAX[0-9] and nothing worked correctly, so unfortunately for actual operation you'll have to build a list of your desired ttys. Create /etc/init/faxgetty.conf #...
Posted by Weezey in Uncategorized
on Feb 28th, 2012 | 1 comment
Virtualization has changed the way we use computers and servers. Now when I'm shopping for new hardware I always make the conscious decision to select an extra couple of cores or 4GB of RAM so that the computer I'm building can support running some extra virtual machines. I spent most of my time using VMWare's Virtual Server which became VMWare's free product and now I've moved to using VirtualBox which seems to leave me with much more responsive virtual machines and can also be run in a convenient headless mode on my Linux servers. First let's install VirtualBox... # sh...
Posted by Weezey in Uncategorized
on Feb 19th, 2012 | 0 comments
This guide is easily the best source for creating a git repository from a local folder. Unfortunately it was down today when I needed it so I've placed the important stuff below in case it happens again and I want it. (and don't want to use Google's cache) I also want to be sure I omit any .svn or .DS_Store files... # echo .DS_Store >> ~/.gitignore # echo .svn >> ~/.gitignore Change to the local directory which you want to create a repo in... # cd myproject # git init # git config --global core.excludesfile ~/.gitignore # git add * # git commit -m "My initial commit message" Now, create...
Posted by Weezey in Uncategorized
on Feb 9th, 2012 | 0 comments
So after close to 24 hours of screaming at Exchange for being a dirty tit, I've got the solution to the problem on a customers' server. The Problem When opening Exchange Management Console (EMC) you get an error that reads: "Connecting to remote server failed with the following error message: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid." Most documents/forums/posts I could find pointed to these three fixes to that problem cited on technet Remote PowerShell uses Kerberos to...