You can view the path to the binary by going into the services panel "services.msc" and right click -> properties to see if the path is really incorrect. I recommend uninstalling and reinstalling as I am not sure what else is all set incorrectly. I would guess it was installed in one place and moved to another or someone manually changed the service path. Either way I wouldn't trust the installation of the agent at that point. If you want to try and change the path of the services you will need to do this:
sc config "BladeLogic RSCD Agent" binPath="c:\Program Files\BladeLogic\RSC\bin\rscd.exe"
.... Fill in the correct path and name of service.
Message was edited by:
The path to the service manager (RSCDsvc.exe) looks to be correct for the service. It is defined as "C:\BladeLogic\RSC\RSCDsvc.exe", which is valid. This program seems to run okay (as evidenced by the log file), but when it goes to start up the RSCD program itself, it is having trouble locating it. (It is actually in the exact same folder.)
I have also tried this command locally on the problem server with this result:
C:\BladeLogic\RSC> agentctl -v start
Warning - Could not start the service, Error Code = 997
I can do a reinstall, but it seems like this should be such a quick/simple thing to fix by hand. :)
The agent itself reads its home dir out of Registry: HKLM\Software\BladeLogic\RSCD\Agent\AgentHome.
Is that set correctly?
Ah, that may be it. There is not even an HKLM\Software\BladeLogic key.
Think I'll chalk this one up for a reinstall, even though it would be tempting just to manually enter the key and see if that fixes it. (I'm guessing that's not a great idea on a production server.)
Thanks for the info, I will keep it in mind.