Microsoft KB Archive/872779

= You cannot distribute software packages and the SMS_EXECUTIVE service stops after it is restarted in Systems Management Server 2003 =

Article ID: 872779

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-





SYMPTOMS
After you upgrade a server that is running Microsoft Systems Management Server (SMS) 2.0 to SMS 2003, or after you enable Background Intelligent Transfer Service (BITS) on a distribution point, you may notice the following symptoms:  You cannot distribute software packages. You can restart the SMS_EXECUTIVE service, but the service stops soon after it is restarted. You find entries that are similar to the following in the :\Sms\Logs\Crash.log file:

Time = datetime Service name = SMS_EXECUTIVE Thread name = SMS_DISTRIBUTION_MANAGER Executable = F:\SMS\bin\i386\smsexec.exe Process ID = 3692 (0xe6c) Thread ID = 4076 (0xfec) Instruction address = 142019a2 Exception = c0000005 (EXCEPTION_ACCESS_VIOLATION) Description = &quot;The thread tried to read from the virtual address 01295000 for which it does not have the appropriate access.&quot; Raised inside CService mutex = No CService mutex description = &quot;&quot; Thread ID = 4076 (0xfec) Instruction address = 142019a2 Exception = c0000005 (EXCEPTION_ACCESS_VIOLATION) Description = &quot;The thread tried to read from the virtual address 01295000 for which it does not have the appropriate access.&quot; Raised inside CService mutex = No CService mutex description = &quot;&quot;

STACK TRACE FOR SMS_DISTRIBUTION_MANAGER THREAD 4076 (0xfec) AT 07/01/2004 07:28:03.445

EAX: 01295000 CS: 001b EIP: 142019a2 EFLAGS: 00010202 EBX: 00ac7240 SS: 0023 ESP: 0234f084 ECX: 01295001 DS: 0023 EBP: 0234f2fc EDX: 01295000 ES: 0023 ESI: 77f82a8c FS: 0038 EDI: 00000007 GS: 0000

Module Address Offset Function + Displacement # Params Possible Values Of First Four Params Decorated Function Name

=
=================================================================================================================================================================================================================== baseobj.dll 142019a2 000919a2 CSMSPackage::ReadFromBuffer + 4386 bytes Unknown 01294e80 00000180 77F82A8C 011a2d98 ?ReadFromBuffer@CSMSPackage@@QAEXPAEK@Z distmgr.dll 14856f90 00016f90 Unknown Unknown 012ea560 00adece8 012DE1B0 0234fc1c Unknown distmgr.dll 14850042 00010042 Unknown Unknown 00000000 ffffffff 80430DF0 88427824 Unknown baseutil.dll 14465ccd 00015ccd CService::_NewThreadWrapper + 77 bytes Unknown 00ac7240 00000007 77F82A8C 00ac7240 ?_NewThreadWrapper@CService@@CGKPAX@Z KERNEL32.DLL 7c57438b 0000438b TlsSetValue + 240 bytes Unknown 00000000 00000000 00000000 00000000 TlsSetValue

 You find entries that are similar to the following in the :\Sms\Logs\Smsexec_ .mdmp file:

eax=01295000 ebx=00ac7240 ecx=01295001 edx=01295000 esi=77f82a8c edi=00000007 eip=142019a2 esp=0234f084 ebp=0234f2fc iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00010202 baseobj!CSMSPackage::ReadFromBuffer+0x1122: 142019a2 8a02 mov al,[edx] ds:0023:01295000=?? ChildEBP RetAddr Args to Child 0234f2fc 14856f90 01294e80 00000180 77f82a8c baseobj!CSMSPackage::ReadFromBuffer+0x1122 0234fbdc 14850042 012ea560 00adece8 012de1b0 distmgr!CDistributionManager::UpdateReplPackage+0x270 0234ff94 14465ccd 00000000 ffffffff 80430df0 distmgr!CDistributionManager::THREAD_ProcessReplication+0x372 0234ffb4 7c57438b 00ac7240 00000007 77f82a8c baseutil!CService::_NewThreadWrapper+0x4d 0234ffec 00000000 14465c80 00ac7240 00000000 KERNEL32!BaseThreadStart+0x52
 * Stack trace for last set context - .thread/.cxr resets it





CAUSE
This problem may occur when the SMS 2003 SMS_DISTRIBUTION_MANAGER thread of the SMS_EXECUTIVE service processes package (.pkg) files that were created in SMS 2.0. The SMS_DISTRIBUTION_MANAGER may process package files for the following reasons:
 * Packages that were created in SMS 2.0 before the upgrade to SMS 2003 are updated in SMS 2003.
 * BITS is enabled on a distribution point, and the SMS_DISTRIBUTION_MANAGER thread scans for packages to make available for BITS.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) 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 --  25-Dec-2003  12:05  2.50.2726.137     974,848  Baseobj.dll 25-Dec-2003 09:25  2.50.2726.105     180,224  Ddm.dll 06-Aug-2000 09:51  2000.80.194.0     274,489  Ntwdblib.dll 23-Feb-2003 10:05  2.0.1493.5011     855,312  Preinst.exe



WORKAROUND
To work around this problem, you can delete packages that were created in SMS 2.0, and then re-create the packages in SMS 2003. Use this work around if your site does not have many packages.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: SMS_EXECUTIVE upgrade package BITS

Keywords: kbqfe kbhotfixserver kbwinservperf kbmgmtservices kbfix KB872779

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.