Exporting DHCP Leases to HTML or CSV in Windows Server

If you’re looking to export your DHCP leases on your Windows Server into a readable format, then the following article will help. http://theadminguy.com/2009/10/14/export-dhcp-leases-to-html-using-powershell/ You can also simply run the following command and copy and paste it into excel and it should match the columns correctly.    

Apache Error Log mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5 (cPanel/CloudLinux)

I was getting the following error message in apaches error log on a cPanel machine with CloudLinux mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5 Looking into the issue, it seemed that a couple of sites were reaching the max EP (Entry PRocess). If you read the ClouldLinux documentation it states the following. http://docs.cloudlinux.com/index.html?limits.html Entry processes … Read more

Ubuntu PHP5-FPM NGINX

So I’ve been starting to deploy nginx on more systems, and working with php5-fpm and have had some great success. However a few issues have come to light, and it was hard to find information about these issues online. Lots of Google digging later I’ve found quite a bit about nginx and PHP5-FPM. Configuring nginx … Read more

Adventures in cPanel and mod_fcgid/Apache mpm_worker

I’ve started using cPanel on my main box, as well as some VPS accounts for a couple of customers. I never really enjoyed using a “Control Panel”, but ever since moving to cPanel I’ve actually enjoyed the experience. Previous to cPanel I was mostly using scripts I’ve coded in perl, which worked well. But there … Read more

How to Combat Conficker on a Large Network

The following is information and tools for dealing with a Conficker Outbreak on a Large Enterprise Network with lots of clients. How to unlock all of your Active Directory Accounts with a script. Const ADS_SCOPE_SUBTREE = 2 Const ADS_UF_LOCKOUT = &H10 Set objRootDSE = GetObject(“LDAP://rootDSE”) strDNSDomain = objRootDSE.Get(“defaultNamingContext”) Set objCommand = CreateObject(“ADODB.Command”) Set objConnection = … Read more