More on the mofo track.
You have to give Microsoft credit. They were 66% correct. That’s about 150% better than normal. Seriously. Todays fun is imported from the land of broken-wmi-crap.
The Bug
After the super-exciting side affect of an asshat package manager, a Microsoft standard-issue-busted-software problem has cropped up:
Event Type: Error Event Source: MSExchangeSA Event Category: Monitoring Event ID: 9097 Description: The MAD Monitoring thread was unable to connect to WMI, error '0x8004100e'.
The Microsoft Article purported to fix this is 33% wrong. They list the major components, and the MSExchangeSA error does indeed subside. Side-note: I found that I had to re-do the steps listed in the TID - AFTER a reboot. ???
The Tragedy
However, I discovered a new pain after my joy: the Message Tracking Center returns WBEM error 0x80041010. Translate this, “missing wmi class”. I did a number of searches (lots of hits from mis-informed TID-spouting ‘do-holes) and finally located this article in Google Groups. He walks through re-creating WMI, and other neat things. I skipped ahead, as I had done all of this before.
I followed his testing advice - I couldn’t get the remote testing to work - local testing showed that root\microsoftExchangeV2 only had 73 out of 74 classes. Frustrated I briefly considered a by-hand comparison with a functioning server. I chose to plow ahead, based on this guys informative nature and clear expertise - and it paid off:
The Missing Command
mofcomp.exe -n:root\cimv2\applications\exchange “c:\winnt\system32\wbem\msgtrk.mof”
In my case the command was actually:
mofcomp.exe -n:root\cimv2\applications\exchange msgtrk.mof
The Apathy
This worked when Microsoft Failed. I feel semi-indifferent. I think this is Microsofts chief tactic for dealing with “haters who want stuff that works”. Entropy from the titanic marketing efforts makes the efforts get them to change them almost worthless.
As a side note, I did submit feedback at the support site. Maybe someone will see it?
Query Exchange with Postfix
This is a simple, but cool, recipe for querying Exchange from Postfix. This is used with a Windows 2003 Small Business Server, running (s)Exchange 2003.
We don’t often use this, because of the obvious problem of being unable to receive mail when Exchange crashes or must be rebooted. It is nice though, and a straight forward solution.
exchange_map.cf
bind_dn = cn=Spamfilter User,cn=Users,dc=MySBS,dc=org bind_pw = kill$pam scope = sub search_base = dc=MySBS,dc=org server_host = ldaps://Server.MySBS.org:636 start_tls = no version = 3 result_attribute = mail query_filter = (&(objectClass=user)(|(mail=%s)(proxyAddresses=SMTP:%s)))
test
firewall postfix # postmap -q kelly@MySBS.org ldap:/etc/postfix/exchange_map.cf kelly@MySBS.org firewall postfix # postmap -q fakeuser@MySBS.org ldap:/etc/postfix/exchange_map.cf firewall postfix # postmap -q joshua@imrnet.com ldap:/etc/postfix/exchange_map.cf
main.cf
..... relay_recipient_maps = ldap:/etc/postfix/exchange_map.cf .....
So, Kelly exists, but fakeuser, and Joshua are (mysteriously) absent.
Exchange Sucks Today
Microsoft Exchange, the pithy "message server of the masses". Running atop the 'venerable' Windows 2003 Small Business Server. It calmly neglects everything except it's beloved Outlook. Which in turn neglects everything except it's cancerous host: Windows.
Microsoft Assist (paid) phone support, separated by distance, culture, and of course, source code, fails to be able to address most Exchange issues which don't already have a fix in the Microsoft Support site.
When you call support, it's reasonable to expect that if an existing TID could fix it, you would have found it rather than piss away two bucks and change ($250 - $500) on a support ticket. Despite that, every IT man worth his salt would never contest the right and desire of support to see to the basics before proceeding to the difficult.
Today's incident began in June of '05, and continues today. Microsoft Exchange 2003, running on Small Business Server 2003. Service Pack 0, Service Pack 1 and now, improved with Service Pack 2. We have a lingering Information Store crash. Now we need evidence that Exchange Sucks. (Or, is my issue with Microsoft, Support, Closed Source software.....)
Read the Article