Discussion:
test-mailflow & test-mapiconnectivity
(too old to reply)
james7
2009-03-26 15:01:01 UTC
Permalink
I get two errors from SCOM. The Test-Mailflow works locally on the exchange
box with success but not from SCOM. Any ideas are appreciated.

Alert: An error occurred while running the Test-Mailflow (Local) cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.xx
Last modified by: System
Last modified time: 3/24/2009 5:38:01 PM Alert description: Error occurred
while executing the Test-Mailflow (Local) diagnostic cmdlet.

The initial event reported:


Could not find any available Global Catalog in forest
xxx.xxx.xx.com.

Response to rule: "{1240B1DB-E57C-62CF-1F65-B62A6DC4C786}"

Diagnostic command: "Test-Mailflow -ErrorLatency:60 -MonitoringContext:$true"


Alert: An error occurred when running the Test-MAPIConnectivity cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.com
Last modified by: System
Last modified time: 3/24/2009 5:37:01 PM Alert description: Failed to test
the MAPI connectivity state.

The initial event reported:


Could not find any available Global Catalog in forest
xxx.xxx.xxx.com.

Response to rule: "{DC633AE8-205E-42CA-1EE4-06B1C5044EEF}"

Diagnostic command: "Test-MAPIConnectivity -MonitoringContext:$true
-PerConnectionTimeout:60 -AllConnectionsTimeout:90
Blake Mengotto [MVP]
2009-03-27 18:25:51 UTC
Permalink
Hey James,

So you an run these ps scripts with your id and they work, but when the
agent tries to execute they fail with can't find GC. Did you set up your
Exchange run as accounts in SCOM? Does local host have admin rights on the
box? Just wondering if it is a permissions issue with the ops manager agent
and what credentials it's using to launch the scripts.
--
Regards,
Blake
Email: mengotto<at>hotmail.com
Blog: http//discussitnow.spaces.live.com
OpsMgr MVP
Post by james7
I get two errors from SCOM. The Test-Mailflow works locally on the exchange
box with success but not from SCOM. Any ideas are appreciated.
Alert: An error occurred while running the Test-Mailflow (Local) cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.xx
Last modified by: System
Last modified time: 3/24/2009 5:38:01 PM Alert description: Error occurred
while executing the Test-Mailflow (Local) diagnostic cmdlet.
Could not find any available Global Catalog in forest
xxx.xxx.xx.com.
Response to rule: "{1240B1DB-E57C-62CF-1F65-B62A6DC4C786}"
"Test-Mailflow -ErrorLatency:60 -MonitoringContext:$true"
Alert: An error occurred when running the Test-MAPIConnectivity cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.com
Last modified by: System
Last modified time: 3/24/2009 5:37:01 PM Alert description: Failed to test
the MAPI connectivity state.
Could not find any available Global Catalog in forest
xxx.xxx.xxx.com.
Response to rule: "{DC633AE8-205E-42CA-1EE4-06B1C5044EEF}"
Diagnostic command: "Test-MAPIConnectivity -MonitoringContext:$true
-PerConnectionTimeout:60 -AllConnectionsTimeout:90
TimM
2009-04-17 12:10:01 UTC
Permalink
Hi

I also have this error after upgading our DC's to Win2003 R2, the ps scripts
run fine on the Exch servers

Tim
Post by Blake Mengotto [MVP]
Hey James,
So you an run these ps scripts with your id and they work, but when the
agent tries to execute they fail with can't find GC. Did you set up your
Exchange run as accounts in SCOM? Does local host have admin rights on the
box? Just wondering if it is a permissions issue with the ops manager agent
and what credentials it's using to launch the scripts.
--
Regards,
Blake
Email: mengotto<at>hotmail.com
Blog: http//discussitnow.spaces.live.com
OpsMgr MVP
Post by james7
I get two errors from SCOM. The Test-Mailflow works locally on the exchange
box with success but not from SCOM. Any ideas are appreciated.
Alert: An error occurred while running the Test-Mailflow (Local) cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.xx
Last modified by: System
Last modified time: 3/24/2009 5:38:01 PM Alert description: Error occurred
while executing the Test-Mailflow (Local) diagnostic cmdlet.
Could not find any available Global Catalog in forest
xxx.xxx.xx.com.
Response to rule: "{1240B1DB-E57C-62CF-1F65-B62A6DC4C786}"
"Test-Mailflow -ErrorLatency:60 -MonitoringContext:$true"
Alert: An error occurred when running the Test-MAPIConnectivity cmdlet.
Source: MAIL01
Path: MAIL01.xxx.xxx.xx.com
Last modified by: System
Last modified time: 3/24/2009 5:37:01 PM Alert description: Failed to test
the MAPI connectivity state.
Could not find any available Global Catalog in forest
xxx.xxx.xxx.com.
Response to rule: "{DC633AE8-205E-42CA-1EE4-06B1C5044EEF}"
Diagnostic command: "Test-MAPIConnectivity -MonitoringContext:$true
-PerConnectionTimeout:60 -AllConnectionsTimeout:90
Loading...