FR3 CP Script (default example cf8 windows .bat)

6 views
Skip to first unread message

David

unread,
Oct 20, 2008, 6:51:04 PM10/20/08
to FusionReactor
Hi,

I have FusionReactor installed on our 4 production servers (one cf 7)
and (4 cf 8). The cf 7 box is the monitoring server with the cp script
running the example cf 8 windows restart server. I changed lines 43
and 53-54 as the manual says. But I continue to get the following
error:

Status[DOWN] InstanceName["Web 1 A"] InstanceIp[10.60.1.10] PID[6964]
LastSeen[1224471421121]
Terminating process 6964...
ERROR: The process "6964" not found.
Waiting 10 seconds before trying to start the server...
Restarting server...
[SC] OpenSCManager FAILED 5:

Access is denied.

The user name on line 53 and 54 is a domain user account and is the
account that runs all of my servers. I can use that account to run a
net command on the server and can stop and start the server. I also
checked permissions for cmd in system32 and added the domain admin
user account full access (should not be needed since it's domain
admin).

I also logged into the cf 7 server (monitoring server) with the domain
user account that is used in the script and the cf service and ran
from cmd
sc \\web1a stop "ColdFusion 8 Application Server" and it stopped it
sc \\web1a start "ColdFusion 8 Application Server" and it started it

Do you have any suggestions?

David Stockton

unread,
Oct 21, 2008, 1:56:06 PM10/21/08
to FusionReactor
Hi David,

I believe the issue you are experiencing is due to FusionReactor
running “sc” with insufficient privileges on the remote machine.

There are many different domain controller configurations and group
policy options that can effect the successful completion of the “sc”
command. Whilst I find it intriguing that you can run the command
manually from your monitoring box against the \\web1a machine, without
entering into a consulting engagement and spending time thoroughly
investigating I would recommend the work-around laid out below.

There is a FREE tool from Microsoft called PsService (
http://technet.microsoft.com/en-us/sysinternals/bb897542.aspx ). The
tool allows you specify the credentials to use for the remote service
restart, thus ensuring appropriate privileges are available to perform
the restart.

We are able to offer an installation, configuration and testing
service for this tool for which a 4-hour support block would cover.

I hope this information helps resolve your problem.


Additionally, may I point you at our CF consultancy services pages of
our site (http://www.fusion-reactor.com/services/cfservices.cfm ). Our
experts can help you resolve the root cause of your issue and prevent
the need for the service restart in the first instance. This obviously
leads to a more stable and better performing platform.

Best regards,
David Stockton
Intergral (UK) Ltd - The makers of FusionReactor
Reply all
Reply to author
Forward
0 new messages