Microsoft KB Archive/821599

From BetaArchive Wiki

Article ID: 821599

Article Last Modified on 2/24/2007



APPLIES TO

  • Microsoft Systems Management Server 2.0 Service Pack 5




SYMPTOMS

After you install Systems Management Server (SMS) Service Pack 5 (SP5), you may notice that the SMS SQL Monitor service (Smsdbmon.exe) does not continue to create notification files in the site server's inboxes. This problem affects operations in SMS that depend on these types of notification files. Some of the most common symptoms are:

  • Packages are not copied to Distribution Points.
  • Advertisements are not offered to SMS clients.
  • Manual collection updates do not affect the collection membership.

For example, if you right-click a collection in the SMS Administrator Console, and then select All Tasks/Update Collection Membership, SMS SQL Monitor typically creates a notification file named CollectionID.UDC in the SmsRootFolder\Inboxes\Colleval.box folder. However, if Service Pack 5 is installed, SMS SQL Monitor may not create the file. This notification file instructs SMS Collection Evaluator to re-evaluate the collection members. Without the notification file, the collection is not refreshed until the next collection update cycle.

CAUSE

This problem occurs because, in SMS Service Pack 5, the SMS SQL Monitor service restricts write access to the named pipe it uses for communicating with the SQL Server. Specifically, it includes only the Administrators group and the Local System account. If the MSSQLServer service runs with an account that is not part of the Administrators group or the Local System account, SQL Server cannot notify SMS SQL Monitor that it must create a notification file.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Systems Management Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.The English version of this fix for SMS 2.0 Service Pack 5 (SP5) sites has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

   Date         Time   Version         Size       File name    Platform
   --------------------------------------------------------------------
   25-Feb-2003  17:10  2.0.1493.5135     100,768  Smsdbmon.exe X86    
   25-Feb-2003  17:10  2.0.1493.5135   4,207,568  Smsprov.dll  X86 

    

Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

How to Install the Hotfix

Using the Hotfix Installer

Note This method is only for Intel-based computers.

  1. Create a folder in a location that is accessible to your SMS site servers.
  2. Copy the SMS2.0-KB821599-spx-x86-enu.exe update file (where x is the service pack version) and platform folders to the new folder. Arrange the folder structure so that the update file is located one folder above the platform folders.
  3. From each of the primary and secondary SMS site servers in your environment, log on with an account that has administrator credentials.
  4. Quit the SMS Administrator console, if it is running.
  5. Run SMS2.0-KB821599-spx-x86-enu.exe, and then follow the instructions in the wizard.

Manually Updating the SMS Site Server

  1. Create a folder in a location that is accessible to your SMS site servers.
  2. Copy the platform folders that contain the hotfixed files to the new folder.
  3. From each of your primary and secondary SMS site servers in your environment, log on to your site server by using an account with administrative credentials.
  4. Quit the SMS administrator console.
  5. Stop all the SMS services and the Windows Management service.

    Note With WMI build 1085, the service name has changed to "Windows Management Instrumentation".
  6. In the SmsRootFolder\Bin\Platform folder, run the following command:

    regsvr32 /u Smsprov.dll

  7. Copy the updated files from the disk or network share to the SMS installation folder:
    • SmsRootFolder\Bin\Platform\smsdbmon.exe
    • SmsRootFolder\Bin\Platform\Smsprov.dll
  8. In the SmsRootFolder\Bin\Platform folder, run the following command:

    regsvr32 Smsprov.dll

  9. Restart the SMS services and the Windows Management service.

    Note With WMI build 1085, the service name has changed to "Windows Management Instrumentation".
  10. Perform a site reset. To do this, click Start, point to Programs, point to Systems Management Server, click SMS Setup, click Next, click Next again, and then click Modify or reset the current installation.

Additional Installation Information

To update remote site computers such as an SMS SQL monitor or an SMS provider that is not located on the site server, use the appropriate method.

Manually Updating a Remote SMS Provider Server

Note Before you install this hotfix on your SMS provider server, you must install it on the SMS site servers in your environment.

  1. At the SMS Provider server, stop the following services:
    • SMS_SQL_MONITOR_SERVERNAME
    • Windows Management

      Note With WMI build 1085, the service name has changed to "Windows Management Instrumentation".
  2. In the SmsRootFolder\Bin\Platform folder, run the following command:

    regsvr32 /u Smsprov.dll

  3. Replace the following files in the SmsRootFolder\Bin\Platform folder with the versions from the hotfix:
    • SmsRootFolder\Bin\Platform\smsdbmon.exe
    • SmsRootFolder\Bin\Platform\Smsprov.dll
  4. In the SmsRootFolder\Bin\Platform folder, run the following command:

    regsvr32 Smsprov.dll

  5. Restart the following SMS Provider services:
    • SMS_SQL_MONITOR_SERVERNAME
    • Windows Management

      Note With WMI build 1085, the service name has changed to "Windows Management Instrumentation".

Manually Updating a Remote SMS SQL Monitor Server

Note Before you install this hotfix on your SMS SQL Monitor Server, you must install it on the SMS site servers in your environment.

  1. At the SMS SQL Monitor Server, stop the SMS_SQL_MONITOR_SERVERNAME service.
  2. Replace the following files in the SmsRootFolder\Bin\Platform folder with the versions from the hotfix:
    • SmsRootFolder\Bin\Platform\smsdbmon.exe
    • SmsRootFolder\Bin\Platform\Smsprov.dll
  3. Restart the SMS_SQL_MONITOR_SERVERNAME service.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

WORKAROUND

To work around this problem, configure the MSSQLServer service to run with an administrator account or the Local System account.

MORE INFORMATION

The hotfix that this article documents grants write access to SMS SQL Monitor's named pipe for the Users/Domain Users group. As a result, if the MSSQLServer service runs with a non-administrative account, it can still communicate with the SMS SQL Monitor service. For additional information about this problem, click the following article number to view the article in the Microsoft Knowledge Base:

247852 SMS: SQL Monitor Service Does Not Create Notification Files


Keywords: kbhotfixserver kbqfe KB821599