You receive the following events in the Microsoft Operations
Manager (MOM) 2005 Operator Console:
Type: Warning
Source: Microsoft Operations Manager
Category: MOM Agent
Event ID: 21421
Computer: ComputerName
Description:
The response 'script: ScriptName' has been running more than time seconds and exceeded the time allowed to run. This might indicate the response is engaged in an infinite loop or is hanging.
Type: Warning
Source: Microsoft Operations Manager
Category: MOM Agent
Event ID: 21245
Computer: ComputerName
Description:
The response processor failed to execute a response. The response returned the error message : The remote procedure call failed.
Response ID: {response GUID}
Response description: script : Response script name
These symptoms occur if the following conditions are
true:
| • | You use a response script for a rule in MOM
2005. |
| • | The response script uses the Run method of the
WScript.Shell object to run an executable file from a remote share
folder. For example, the command line of
the response script looks similar to this command line: cmd = "\\Remote computer name\Share folder name\Executable file name.exe"
Set wsq = CreateObject("Wscript.Shell")
wsq.Run cmd, 5 |
Additionally, the following symptoms occur until the response script is
stopped by MOM 2005:
| • | The executable file does not start in the MOM 2005
agent. |
| • | The response script stops responding. |
Back to the top
To work around this problem, use one of the following
methods.
Back to the top
Method 1
Add
cmd /c to the command line of
the response script. For example, the command line looks similar to this command line after you add
cmd /c to the command line of
the response script:
cmd = "cmd /c \\Remote computer name\Share folder name\Executable file name.exe"
Set wsq = CreateObject("Wscript.Shell")
wsq.Run cmd, 5
Back to the top
Method 2
Add the remote server that contains the share folder to the
Web sites list of the Local intranet zone. To do this, follow these steps:
| 1. | In Microsoft Internet Explorer, click Internet Options on the
Tools menu. |
| 2. | On the Security tab, click Local intranet, and then click Sites. |
| 3. | Click Advanced, type
the remote server name in the Add the Web site to the zone box, and then click Add. |
Back to the top
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Back to the top