Better Living Through Narratology

SCCM Keeps Processing Package

Occasionally, SCCM may seem to get stuck processing a package.  When viewing Status Messages, you’ll see :

SMS Distribution Manager successfully processed package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).
SMS Distribution Manager is beginning to process package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).
SMS Distribution Manager successfully processed package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).
SMS Distribution Manager is beginning to process package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).
SMS Distribution Manager successfully processed package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).
SMS Distribution Manager is beginning to process package “PRIN Windows 7 SP1 12.3″ (package ID = PRI00263).

This will keep going for sometime with no clear progress on distribution.  For example, if you’re trying to send a package to SEC-DP-SERVER and the package continues to be processed as above, then when you look at distmgr.log, you may see something like this:

Used 0 out of 3 allowed processing threads.
Sleep 3600 seconds…
Processing incoming file C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\WHCXFL1G.PKG.
Adding package PRI00263 to the active package array.
StoredPkgVersion (1) of package PRI00263. StoredPkgVersion in database is 1.
Distribution Manager will not update the StoredPkgVersion in the Database as Despooler will.
Updated replicated package info for package PRI00263
No changed detected for package server [“Display=\\SEC-DP-SERVER1\”]MSWNET:[“SMS_SITE=SEC”]\\SEC-DP-SERVER1\ for package PRI00263, no need to update

Updated replicated package server [“Display=\\SEC-DP-SERVER\”]MSWNET:[“SMS_SITE=SEC”]\\SEC-DP-SERVER\ for package PRI00263

Updated replicated package program info for package PRI00263, program *, dependent program
Successfully processed C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\WHCXFL1G.PKG, delete it
Removing package PRI00263 from the active package array.
Used 0 out of 3 allowed processing threads.

Distmgr.log will not show that any progress has been made in distributing the package.

To resolve this, you may need to edit the SQL database directly.  Run the query below:

SELECT * FROM PkgServers where NALPath = '["Display=\\<Name of DP>\"]MSWNET:["SMS_SITE=<Site Code>"]\\<Name of DP>\' and PkgID = '<ID of Package>'

So, in the example above, the query would look like:

SELECT * FROM PkgServers where NALPath = '["Display=\\SEC-DP-SERVER\"]MSWNET:["SMS_SITE=SEC"]\\SEC-DP-SERVER\' and PkgID = 'PRI00263'

You may notice that the values for UpdateMask and Action are different from the other servers.

To delete this record from the database, use the following command:

DELETE FROM PkgServers where NALPath = '["Display=\\SEC-DP-SERVER\"]MSWNET:["SMS_SITE=SEC"]\\SEC-DP-SERVER\' and PkgID = 'PRI00263'

Once this is done, you can try to send the package to the DP again.  Look in smsdbmon.log and you should see something like this:

RCV: INSERT on PkgNotification for PkgNotify_Add [PRI00263  ][6797E126-C5A5-45FF-B369-9E8ED988B1A6]

After this, if you wait about 5-10 minutes, you should see distmgr.log start processing the package correctly and sending it to the DP.

Posted in IT, SCCM | Comments Off on SCCM Keeps Processing Package