<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Error alerts from the DNS MP – script failures, WMI Probe failed?</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx</link><description>Updated 11/16/09 – I think this is pretty much resolve now – read below: &amp;#160; I have seen this at several customer sites, and even in my own lab.&amp;#160; You might find the following alerts (below) stemming from the DNS MP. To start, I would recommend</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Error alerts from the DNS MP – script failures, WMI Probe failed?</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx#3259864</link><pubDate>Tue, 30 Jun 2009 10:11:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3259864</guid><dc:creator>Marnix Wolf</dc:creator><description>&lt;p&gt;Hello Kevin.&lt;/p&gt;
&lt;p&gt;Many times the solutions you describe work perfectly. However, on many occassions I find that for the DNS MP the updates of WMI and Windows Scripting Host is not sufficient. The DNS class in WMI has to be recompiled as well.&lt;/p&gt;
&lt;p&gt;Then all errors are gone and everything runs like clockwork again.&lt;/p&gt;
&lt;p&gt;So on DNS servers I start three actions:&lt;/p&gt;
&lt;p&gt;- Updating WMI&lt;/p&gt;
&lt;p&gt;- Updating Windows Scripting Host&lt;/p&gt;
&lt;p&gt;- Recompiling DNS class in WMI&lt;/p&gt;
</description></item><item><title>re: recompile DNS mof?</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx#3259971</link><pubDate>Tue, 30 Jun 2009 16:35:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3259971</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;Here is the only problem I have with recompiling the MOF: &amp;nbsp;In my testing - recompiling the MOF is only necessary when the DNS WMI namespace is missing or corrupt. &amp;nbsp;If after bouncing the WMI service, you still cannot manually query any of the WMI objects, or cannot even connect to the WMI namespace, then I agree - recomplile the mof. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;However - in my testing - I did all three - updated WMI, recompliled MOF, and then updated cscript. &amp;nbsp;After 1 month passed - the issue returned. &amp;nbsp;It seems to take a long amount of uptime for this random error condition to present itself. &amp;nbsp;That is why I am adding the additional WMI buffer space now. &amp;nbsp;This supposedly will address the issue for most people. &amp;nbsp;I will let you know in a month or two. &amp;nbsp;:-)&lt;/p&gt;
</description></item><item><title>re: Error alerts from the DNS MP – script failures, WMI Probe failed?</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx#3260069</link><pubDate>Tue, 30 Jun 2009 21:12:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3260069</guid><dc:creator>Marnix Wolf</dc:creator><description>&lt;p&gt;Oops. So even with recompiling the MOF the issue returns...&lt;/p&gt;
&lt;p&gt;Good to know about adding additional WMI buffer space. If that solves this problem also on the long term it is good to know. &lt;/p&gt;
&lt;p&gt;Thanks again for sharing such good information with the community.&lt;/p&gt;
</description></item><item><title>re: Error alerts from the DNS MP – script failures, WMI Probe failed?</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx#3272762</link><pubDate>Wed, 12 Aug 2009 17:00:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272762</guid><dc:creator>number33</dc:creator><description>&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;I'm afraid it does not help. &lt;/p&gt;
&lt;p&gt;We recompiled the DNS mof, installed KB933061, increased teh buffer space, finally rebooted the systems.&lt;/p&gt;
&lt;p&gt;It was a relief for some time, but the errors reappeared after some time.&lt;/p&gt;
&lt;p&gt;I'm afraid there is something wrong with either WMI or DNS mof or both ?&lt;/p&gt;
</description></item><item><title>re: Yep</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/29/errors-alerts-from-the-dns-mp-script-failures-wmi-probe.aspx#3272766</link><pubDate>Wed, 12 Aug 2009 17:12:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272766</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;Yep... totally agree. &amp;nbsp;I am seeing the same now.&lt;/p&gt;
&lt;p&gt;The current theory, is that something is wrong with the WMI provider for DNS.... this isnt related to SCOM. &amp;nbsp;That issue is - that this DNS WMI provider leaks a TLS slot and when they are exhausted (takes about 2-3 weeks for me) then the problem occurs.... When this happens, you can bounce WMI/Reboot the computer, and the problem goes away for 2-3 weeks. &lt;/p&gt;
&lt;p&gt;The provider unloads after 5 minutes of inactivity. &amp;nbsp;If you did something - say.... run a times script that does something VERY lightweight, like runs the simple WMI query and nothing else - against the DNS WMI namespace, and run this script every 2 minutes. &amp;nbsp;This would keep the provider from loading/unloading as caused by the SCOM MP.... and the TLS slots will not leak because the DNS provider is not unloading. &amp;nbsp;I was also thinking of maybe writing a threshold monitor - against a WMI perf object, that wont change/alert... and this might keep the provider loaded and have even less impact.&lt;/p&gt;
&lt;p&gt;That is a theory, I have not had time to test and validate this.&lt;/p&gt;
</description></item></channel></rss>