Windows Disable Login Screensaver

If you are virtualising its a good idea to disable the login screensaver, this will save on processor cycles wasted drawing the screensaver to save a screen that doesn’t exist. Imagine 10 servers on an ESX host all with the screensaver running this does create an overhead. To disable do the following: [Start] [Run] [Regedit] … Read more

Tomcat 6.0 croaks with an error: Failed creating java C:\jdk\jre\bin\server\jvm.dll

My Tomcat 6.0 server suddenly decided to croak. Strange thing was nothing had changed. [2010-10-29 08:41:57] [994  prunsrv.c] [error] Failed creating java C:\jdk\jre\bin\server\jvm.dll [2010-10-29 08:41:57] [1269 prunsrv.c] [error] ServiceStart returned 1 [2010-10-29 08:43:14] [174  javajni.c] [error] The specified module could not be found. Was getting the error above, so i used filemon under the Procmon … Read more

PHP 500 Error on IIS

There are many causes of a 500 error on PHP pages on IIS. But this was a little bit of a weird one, when trying to make some php pages work they all generated 500 errors. I created a test php page which worked fine, just all the scripts didn’t so I checked through the … Read more

Nagios NSClient++ Access Denied Error on Installation

I have the following problem when trying to install nsclient++ onto a Windows 2003 Server SP2 (note this is a member server). Using a local administrator account on the server trying to install the install completes but the service does not get registered trying to manually register gives this error: C:\Program Files\NSClient++\nsclient++ -install e NSClient++.cpp(212) … Read more

Join or ReJoin A Member Server or Workstation using Netdom Command Line

The * means prompt for a password. Example Okay say you have a member server that has fallen off the domain, but you don’t want to go through the normal procedure of using “My Computer”->”Computer Name” and then disjoining to a WORKGROUP rebooting, then re-joining to the domain and rebooting again. Note: You need to … Read more

How to remove an old long gone DHCP server from Active directory and DHCP on Windows 2003.

Open ADSI edit. Configuration-> Services- > NetServices Checked the properties of: CN=DhcpRoot Then edited this attribute: dhcpServers There was one server listed in there: i172.17.5.1$rcn=cdc.domain.com$0x00000000$dcdc01.domain.com$ This was the one that seemed to be left hanging around. Took a note of the settings just incase then deleted it and clicked “OK” to apply the settings. Checked … Read more