Tuesday, December 14, 2004

Google Search: The MAD Monitoring thread was unable to read its configuration from the DS, error '0x80041010'.

Where to start:

Had a windows 2000 server running exchange 2000 that was giving the following error message every five minutes in the app log. Googled it and this is what I got:

Google Search: The MAD Monitoring thread was unable to read its configuration from the DS, error '0x80041010'.


I had to use the first two entries in Google together to get this going along with another site I'll get to in a minute.



Has very nice info about exactly what is happenig (got left out of the setup phase) and oddly enough, what to do about it line by line, assuming you can actually fiind all of the files you need.



WMICONS.EXE /S
REGSVR32 /S EXWMI.DLL
MOFCOMP.EXE EXWMI.MOF
MOFCOMP.EXE n:root\cimv2\applications\exchange wbemcons.mof
MOFCOMP.EXE n:root\cimv2\applications\exchange smtpcons.mof

CreateProcess:%s\bin;regsvr32 /s cdowf.dll;60000
CreateProcess:%s\bin;regsvr32 /s cdowfevt.dll;60000
; WMI stuff for server monitoring
CreateProcessSafe:%sourcedir%\wmi;%sourcedir%\wmi\wmicons.exe /s;4294967295
CreateProcess:%s\bin;regsvr32 /s exwmi.dll;60000
CreateProcess:%wmidir%;%wmidir%\mofcomp.exe "%wmidir%\exwmi.mof";600000
CreateProcess:%wmidir%;%wmidir%\mofcomp.exe -n:root\cimv2\applications\exchange "%wmidir%\wbemcons.mof";600000
CreateProcess:%wmidir%;%wmidir%\mofcomp.exe
-n:root\cimv2\applications\exchange "%wmidir%\smtpcons.mof";600000




That is the meat of what needs to be done. Please note that you'll need 3 .mof files, exwmi (on exchange cd), wbemcons and smtpcons both of which should be in your wbem directory under system32.


Run the processes manually from a cmd line and things should fix themsleves, no restarts necessary. Copy the exwmi.mof into the exchange\bin directory so the following will work :) Specifically:

cd \exhsrvr\bin (you interpret this, you aren't an idiot)
REGSVR32 /S EXWMI.DLL
MOFCOMP.EXE EXWMI.MOF
MOFCOMP.EXE -n:root\cimv2\applications\exchange %windir%\system32\wbemcons.mof
MOFCOMP.EXE -n:root\cimv2\applications\exchange %windir%\system32\smtpcons.mof


All done. Go have a beer.

BTW, for info on testing your changes...

http://www.computerperformance.co.uk/Logon/WBMTEST.htm

Great reference for figuring out where to look. What I did:

  1. click connect, change server \ namespace option to root\cimv2 and click login (assuming you are logged in as admin, you are ok).
  2. click open namespace button and enter applications\exchange and click ok
  3. click enum classes button, select recursive and click ok
  4. scroll to the bottom, you _should_ see this if all is well.
  • CommandLineEventConsumer
  • ExchangeClusterResource
  • ExchangeConnectorState
  • ExchangeLink
  • ExchangeQueue
  • ExchangeServerState
  • LogFileEventConsumer
  • NTEventLogEventConsumer
  • SMTPEventConsumer