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?
MSDE, SQL2005 Express, Memory Tuning 1
If you have to work in networks with any Windows products, coupled with MSDE or SQL Express you will eventually run into memory consumption problems. Apparently no GUI interface deals with it. I have seen numerous complaints on the Internet for sqlservr.exe consuming loads of memory. Some psychos recommend “uninstalling and re SBS Diva has a great article which I will here condense:
osql is the command-line tool for monkeying with MS-SQL200*.
c:\> osql -E -S MYSERVER\instancename 1>
So, first add the “Process ID” column to Task Manager. Note the PID of the offending SQL process. Next, open command prompt, and run tasklist /svc. Locate the PID matching the process, and find the name you want:
sqlservr.exe 1972 MSSQL$SBSMONITORING sqlservr.exe 2020 MSSQL$SHAREPOINT
The part after the ‘$’ is the instancename. (Hopefully you already know your machinename.)
Once you have the instance, run osql as shown above.
c:\> osql -E -S MYSERVER\instancename 1> sp_configure 'max server memory',128 2> reconfigure with override 3> go
max server memory: this option is in megabytes. This will change the ‘MSSQL$INSTANCENAME’ to operate at 128 Megabytes. (When set this way, most of my instances reported between 160M and 180M when in use.)
Notes
It’s simple to list all of the configured parameters for the server, simply load osql, as shown above, and run:
1> sp_configure 'show advanced options',1 2> reconfigure 3> go 1> sp_configure 2> go
That will dump all the configured options. It of course enabled advanced options.
MacFile in Windows 2003
.. or how to share folders from Windows 2003 with Macs via AFP/MacFile/File Services for Machintosh
I don’t know what I missed, but this is the one type of sharing that requires using Computer Management.
Right-Click My Computer, Click Manage. Click on Shared Folders. From there you can right-click white space and use New Share to create new shares. The third screen in the dialog allows you to pick Windows, Mac or both.