Exchange 2013 Event ID 106 MSExchange Common

Event ID 106 is generated on Exchange 2013 ,already updated  Perfcounters.ps1 according to this article.still  getting same error.

http://support.microsoft.com/kb/2870416/en-us

Log Name:      Application
Source:        MSExchange Common
Date:          1/13/2014 8:59:30 PM
Event ID:      106
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DC4.chickbuns.com
Description:
Performance counter updating error. Counter name is Time in Resource per second, category name is MSExchange Activity Context Resources. Optional code: 2. Exception: The exception thrown is : System.InvalidOperationException: Instance 'ad-w3wp-msexchangeowaapppool' already exists with a lifetime of Process.  It cannot be recreated or reused until it has been removed or until the process using it has exited.

Processes running while Performance counter failed to update: 
3148 MSExchangeDelivery
388 wininit
1568 SMSvcHost
8976 w3wp
2748 conhost
6292 w3wp
380 csrss
3924 MSExchangeFrontendTransport
768 svchost
1948 sftracing
1156 spoolsv
956 svchost
7204 w3wp
752 LogonUI
2128 noderunner
3900 MSExchangeSubmission
8968 w3wp
1928 ForefrontActiveDirectoryConnector
1336 taskeng
7048 w3wp
348 svchost
3692 Microsoft.Exchange.EdgeSyncSvc
4676 Microsoft.Exchange.RpcClientAccess.Service
4872 MSExchangeMailboxReplication
340 csrss
1556 UMWorkerProcess
8020 w3wp
3088 Microsoft.Exchange.AntispamUpdateSvc
1312 MSExchangeHMHost
7948 w3wp
424 winlogon
1500 rundll32
4448 MSExchangeMailboxAssistants
900 svchost
6700 scanningprocess
504 lsm
5816 umservice
4244 Microsoft.Exchange.ServiceHost
2736 MSExchangeHMWorker
496 lsass
1840 vmtoolsd
1872 noderunner
488 services
1396 inetinfo
680 svchost
1296 hostcontrollerservice
7036 w3wp
1688 noderunner
1216 svchost
6740 scanningprocess
2364 svchost
1844 svchost
856 svchost
4992 conhost
6760 w3wp
7816 w3wp
4196 Microsoft.Exchange.Pop3Service
2028 updateservice
1236 fms
2220 noderunner
4976 msexchangerepl
7544 w3wp
600 svchost
5364 MSExchangeTransportLogSearch
2464 WMSvc
4376 conhost
1416 Microsoft.Exchange.Diagnostics.Service
3580 Microsoft.Exchange.Imap4Service
6336 scanningprocess
1016 Microsoft.Exchange.Directory.TopologyService
4364 Microsoft.Exchange.Imap4
5992 Microsoft.Exchange.UM.CallRouter
6920 w3wp
2388 wlms
5144 MSExchangeThrottling
808 svchost
3760 Microsoft.Exchange.Search.Service
4744 Microsoft.Exchange.Pop3
248 smss
2964 WmiPrvSE
1584 rundll32
5840 Microsoft.Exchange.Store.Worker
4 System
4336 Microsoft.Exchange.Store.Service


January 13th, 2014 7:03pm

Hi,

Based on my  research, the issue can be resolved by removing and re-creating all Exchange performance counters:
add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup
$files=get-childitem C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\" *.xml |where-object {!($_.psiscontainer)}
foreach ($file in $files) {remove-perfcounters -definitionfilename  $file.fullname}
foreach ($file in $files) {new-perfcounters -definitionfilename  $file.fullname}

For more information, you can refer to the following thread:
http://social.technet.microsoft.com/Forums/exchange/en-US/a8e35d2a-5e09-4ec5-b5c8-43554d3b8b78/lots-of-errors-106-msexchange-common?forum=exchangesvradmin

If you have any question, please feel free to let me know.
Thanks, 

Free Windows Admin Tool Kit Click here and download it now
January 15th, 2014 4:18pm

I am trying to clean up the 106 event errors but get an error in the script.  Any help would be appreciated.  OI am running Exchange 2013, CU9 over Server 2012 R2, latest fixes.


         Welcome to the Exchange Management Shell!

Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List

Show quick reference guide: QuickRef
Tip of the day #52:

Want to know which mailboxes a specific Active Directory user has permissions to? Type:

 $Mailboxes = Get-Mailbox -ResultSize Unlimited
 $Mailboxes | Get-MailboxPermission -User <Active Directory User> | Format-Table Identity, AccessRights, Deny

Caution: This command enumerates all the mailboxes in your organization. If you have lots of mailboxes, you may want to
target specific mailboxes.

VERBOSE: Connecting to Exchange.beti.us.
VERBOSE: Connected to Exchange.beti.us.
[PS] C:\Windows\system32>add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup
[PS] C:\Windows\system32>$files=get-childitem "C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\" *.xml |where-
object {!($_.psiscontainer)}
[PS] C:\Windows\system32>foreach ($file in $files) {remove-perfcounters -definitionfilename  $file.fullname}
remove-perfcounters : The performance counter definition file is invalid.
At line:1 char:28
+ foreach ($file in $files) {remove-perfcounters -definitionfilename  $file.fullna ...
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Remove-PerfCounters], TaskException
    + FullyQualifiedErrorId : [Server=EXCHANGE,RequestId=12d1518e-354c-48f8-bf7b-4313689a36b8,TimeStamp=8/7/2015 10:46
   :27 AM] [FailureCategory=Cmdlet-TaskException] 32AE5955,Microsoft.Exchange.Management.Tasks.RemovePerfCounters

[PS] C:\Windows\system32>foreach ($file in $files) {new-perfcounters -definitionfilename  $file.fullname}

August 7th, 2015 6:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics