Jul 2, 2012
Java leapsec issue causes high CPU
Seems like a bug is going around caused by leapsec in Java that causes high CPU. There is a simple fix for the issue. For CentOS / RHEL 5 & 6 /etc/init.d/ntpd stop; date; date `date +”%m%d%H%M%C%y.%S”`; date Wait for the CPU to go down and then restart ntpd /etc/init.d/ntpd start After doing this, see if the cpu usage falls down using top or your tool of choice. If not, restart of the ntpd... read more
Jun 29, 2012
Install Tomcat 7 on Windows 7
In continuing with building a testing environment on Windows 7 / Windows 2008 R2 I have embarked on installing Apache Tomcat 7 on my Windows 7 desktop. First download 32 or 64 bit from http://tomcat.apache.org/download-70.cgi/tomcat-7.0-doc/tomcat-7.0-doc/taglibs/migration.html.You will find the download links in the binary distributions section of the page. You will also need to make sure you have Jave... read more
Jun 28, 2012
Using Computer Startup Scripts to Map Drives in Windows 2008 R2
Sometimes there are instances in which you need to map drives on specific servers and not all. One of the ways to accomplish this is through the use of startup scripts defined in local policy. For this need I just needed a server to map to another server resource, the G:\ drive in particular. Applies To: Windows 7, Windows Server 2008 R2 Create the cmd script to contain the net use command to connect. In... read more
Jun 20, 2012
Enabling Server Status on Apache 2.2
Apache 2 has a nice feature to allow a server admin to view the performance of Apache. When mod_status module is enabled an HTML page will be presented to allow stats to be presented in a readable format in which refresh can be set. Server status details: The number of worker serving requests The number of idle worker The status of each worker, the number of requests that worker has performed and the... read more
Jun 19, 2012
Upgrading Windows 2008 R2 using DISM
Sometimes in the Enterprise environment there is a need to upgrade the version of Windows Server. With Windows 2008 R2 this is an easy task with DISM command and a KMS server. You can also use the command if you have a MAK key as well. Using DISM you can upgrade and every role, feature, app on your server will remain after the upgrade. A few caveats: You can only do upgrades. You CANNOT downgrade The... read more
