Asked by:
Exchange 2010 MP [Some Client Access test cmdlets failed to run]

Question
-
Hi,
I am using SCOM 2007 R2 CU5 With a Remote SQL Server,
We are using Exchange 2010 SP1 "4 Servers" two cas and two MailboxUsing only one action account "domain admin",
This user granted Exchange Organization Administrator.================================================
I Imported the Exchange 2010 MP and two warnings show up i can't fix
Some Client Access test cmdlets failed to run
There might be a configuration problem in AD site 'Default-First-Site-Name'. Please check the Context field of the alert to see the details.
Impacted Entities (3):
Client Access Test Config - CAS-01 (Client Access) - Default-First-Site-Name, First Organization - "Domain".com, Exchange================================================
Monitoring failed to run the Test-MRSHealth cmdlet
The diagnostic cmdlet controller failed to execute the command.
Error: 0x80010005(-2147418107) -
The script is not running as LocalSystem. The MSExchangeMonitoring service only accepts requests from LocalSystem.
Diagnostic command: "Test-MRSHealth -MonitoringContext:$true"
EventSourceName: MSExchange Monitoring MRSHealth
Knowledge: http://go.microsoft.com/fwlink/?LinkID=67336&id=80d898e6-58fe-45e1-9c04-0ba31357b532
Computer: CAS-01."Domain".com
Impacted Entities (1):
Mailbox Replication Services - Default-First-Site-Name================================================
Also Found this Error in the MP Events show up every 3 minutes
- Edited by Sn0w_MOnkEY Sunday, December 25, 2011 10:08 AM
Thursday, December 15, 2011 2:00 PM
All replies
-
I found this URL: http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/monitoring-exchange-2010-opsmgr-2007-r2-part3.html
I applied this part >_> 3. Enable Event Collection for Synthetic Transaction Rules "but nothing happened"
"but nothing happened"
- Edited by Sn0w_MOnkEY Thursday, December 15, 2011 7:08 PM
Thursday, December 15, 2011 7:04 PM -
I'm not sure what to do about it and would appreciate some guidance
Tuesday, December 20, 2011 11:50 AM -
Anyone facing this problem?Sunday, December 25, 2011 1:11 AM
-
Have you tried command let on exchange server , if its running : Test-MRSHealth -MonitoringContext:$true
Let us know what happens when you run this
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
- Edited by Chandan Bharti Monday, December 26, 2011 1:43 AM
Monday, December 26, 2011 1:42 AM -
Hi Chandan,
Thanks for your support, done
C:\Windows\system32>Test-MRSHealth -MonitoringContext:$true
RunspaceId : 76a461e5-614c-4139-87a2-dc959fadf579
Check : ServiceCheck
Passed : True
Message : The Mailbox Replication Service is running.
Identity : CAS-01
IsValid : True
RunspaceId : 76a461e5-614c-4139-87a2-dc959fadf579
Events : {}
PerformanceCounters : {}
WARNING: An unexpected error has occurred and a Watson dump is being generated: The WriteObject and WriteError methods
cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and only
from that same thread. Validate that the cmdlet makes these calls correctly, or please contact Microsoft Support
Services.
The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecor
d, and EndProcessing methods, and only from that same thread. Validate that the cmdlet makes these calls correctly, or
please contact Microsoft Support Services.
+ CategoryInfo : InvalidOperation: (:) [Test-MRSHealth], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.Exchange.Monitoring.TestMRSHealth- Edited by Sn0w_MOnkEY Monday, December 26, 2011 11:59 AM
Monday, December 26, 2011 11:56 AM -
Seems the script has to run with local system accounts only.
Can you verify , what run as account is used for the exchange servers
You will have to assign only local system as a default run as action account to exchange servers. This should do a trick.
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.Monday, December 26, 2011 7:28 PM -
Seems the script has to run with local system accounts only.
Can you verify , what run as account is used for the exchange servers
You will have to assign only local system as a default run as action account to exchange servers. This should do a trick.
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Hi Chandan,Action account shows "SYSTEM" from the Agent Managed section on all exchange servers,
Also I choose "Local System" before the agent deployment, or u mean by local system a windows account instead of a domain account ?
- Edited by Sn0w_MOnkEY Monday, December 26, 2011 9:27 PM
Monday, December 26, 2011 9:18 PM -
is it intermittent issue?? what i mean is, how many such alert you see on daily basis??
What version of exchange MP you have? you need to update MP to exchange 2010 SP1 if its not.
Also what i have for you from past experience is, you need to tune up these monitors. Like the scripts gives success but at any point of time it may time out and trigger an alert. You will have to think that one as well. Try increasing the timeout values and see what happens.
Check the thread below
Regards
Chandan
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Edited by Chandan Bharti Wednesday, December 28, 2011 1:18 AM
Wednesday, December 28, 2011 1:16 AM -
is it intermittent issue?? what i mean is, how many such alert you see on daily basis??
What version of exchange MP you have? you need to update MP to exchange 2010 SP1 if its not.
Also what i have for you from past experience is, you need to tune up these monitors. Like the scripts gives success but at any point of time it may time out and trigger an alert. You will have to think that one as well. Try increasing the timeout values and see what happens.
Check the thread below
Regards
Chandan
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Hi Chandan,
Sorry for my delay reply.. it's constant problem and not intermittent and show up every 3 minutes all scripts
i am using the latest version 14.02.0071.0, also i checked the scripts rules and there's no timeout values to edit :(
- Edited by Sn0w_MOnkEY Monday, January 2, 2012 11:17 AM
Monday, January 2, 2012 10:48 AM -
Guys, how can we specify run as account for Exchange MP? I am seeing Run As Account Veification errors in Ops Console.
Kapil DhamMonday, January 9, 2012 9:34 PM -
This should do the trick. Add the "Local System Windows Account" to the profile "Exchange 2007 Local System Account".
Edit: The screenshot is regarding Exchange 2007 MP, not 2010. You seem to have defined the Local System Action account correctly.
Have you tried to reinstall the agent on one of the exchange servers and set the account to run the agent as Local System?
MCT | MCSE | MCITP | MCTS SCOM, SCCM, SCVMM, SCDPM | Open CITS- Edited by Tero Ilenius Tuesday, January 10, 2012 10:33 PM
Tuesday, January 10, 2012 10:17 PM -
I am running Exchange 2010, where can I specify that in 2010? The SCOM Action account has admin privilages on the Exchange Servers.
Kapil DhamThursday, January 12, 2012 4:20 PM -
Rebel, Please check the link for the known issues with the MP. This should cover the issue you are facing
http://support.microsoft.com/kb/2592561
Regards
Chandan
Check my blogs at http://blogs.technet.com/chandanbharti ============================================================ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.Thursday, January 12, 2012 4:56 PM