Troubleshooting Content Mismatch Warnings on a Distribution Point in System Center 2012 Configuration Manager

Troubleshooting Content Mismatch Warnings on a Distribution Point in System Center 2012 Configuration Manager

  • Comments 12
  • Likes

You might see content mismatch warnings in System Center 2012 Configuration Manager when content validation runs and determines that there is a discrepancy between the expected list of packages in WMI on the distribution point and the packages in the content library. In this scenario, the distribution point status goes into a warning state and the status message returned by the distribution point is listed in the Details pane when you view the status of the distribution point in the Monitoring workspace, Distribution Point Configuration Status node.

You can see an example of this scenario in the following screenshot where a distribution point has a Warning state and there is a status message in the Details tab in the Details pane that shows there was a failure to retrieve the package list.


 

Note: There is currently a known issue in the current release where the warning might not always clear to return the distribution point status back to a success state. We hope to address this issue in a future release.

To determine which package is causing this mismatch, review the smsdpmon.log file on the distribution point.

Using the CMTrace log file tool, the following snapshot shows the corresponding smsdpmon.log entry:

Notice the log entries:

CContentDefinition::LibraryPackagesWmi: The package data in WMI is not consistent to PkgLib
CContentDefinition::LibraryPackagesWmi: Package CCA0000A can't be found in PkgLib

The simplest way to determine the missing package is to view the Content Status  in the Monitoring workspace and search for the package ID by using the search field. After you have found the package ID, you can determine the name of the software.

If the package is not on the site, you must remove the package from WMI on the distribution point. The namespace to connect to is root\sccmdp. The class that contains the list of packages expected is SMS_PackagesInContLib. The simplest way to find the package and remove it from WMI is to run a query on the distribution point such as the following, and then delete the object that is returned.

select * from SMS_PackagesInContLib Where PackageID = 'CCB00002'

Note: Ensure that you replace the CCB00002 with your own package ID

If the package is on the site, you can update the content on the distribution point to clear the Warning state.

To update the content on the distribution point for applications:

  1. In the Configuration Manager console, click Software Library.
  2. In the Software Library workspace, expand Application Management, and click the Application node.
  3. Find and select the application by using the name that you identified from the Content Status.
  4. In the Details pane, click the Deployment Types tab, right click a deployment type, and then select Update Content to create a new package and version of the content on the distribution point:

The next time content validation occurs, the warning is cleared.

To update the content on the distribution point for packages:

  1. In the Configuration Manager console, click Software Library.
  2. In the Software Library workspace, expand Application Management, and click the Packages node.
  3. Find and select the package by using the name that you identified from the Content Status, or by using the Package ID.
  4. Right click the package, and select Update Distribution Points to create a new package and version of the content on the distribution point:

The next time content validation runs, the warning is cleared.

Summary:

  • There might be times when the content library and the package list in WMI on a distribution point become mismatched and the status of the distribution point displays as Warning.
  • There are two possible solutions to resolve this mismatch: Delete the package from WMI or update the distribution point.

For more information about managing the content library in System Center 2012 Configuration Manager, see Content Management in Configuration Manager in the System Center 2012 Configuration Manager Documentation Library.

--Michael Wray

This posting is provided "AS IS" with no warranties, and confers no rights.

 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Nice infomation..

  • I've got the error, but no package ID...

    Start to evaluate ...

    CContentDefinition::LibraryPackagesWmi: The package data in WMI is not consistent to PkgLib

    CContentDefinition::LibraryPackagesWmi failed; 0x80004005

    Start to evaluate all packages ...

    How do I figure out which is the problem package?

    Thanks

    Ben

  • @Ben Fisher

    Ben, there isn't a simple answer to this.  Its best to post your question in our community forums.  social.technet.microsoft.com/.../threads

    thanks

    Yvette

  • Thx for this helpful article.

    >>To determine which package is causing this mismatch, review the smsdpmon.log file on the distribution point.<<

    Is there any way to increase the logfile size for the smsdpmon.log? It is overwritten multiple times during content validation.

  • I have exactly the same issue as Ben Fisher, no PackageID warning in smsdpmon.log

  • Hi,

    I have similar issue. Package missing in PkgLib is a task sequence package. How can i redistribute it? Or should i just remove it from WMI?

  • Hi, similar isssue here, but packade id missing in pkglib is a task sequence package. Ho do i redistribute ts package? Or should i just remove it from WMI on distribution point?

  • after getting successful package stars to redistribute automatically ........

  • We experienced the exact same problem at a customer.

    I made a script to automate the removal of the invalid instances (those of which the package does not exist in the console anymore) in WMI on all distribution points. You can download it from gallery.technet.microsoft.com/Powershell-script-to-fix-81dc4e69

    I hope this helps.

    Bart

  • Hi,

    With reference to the following:

    "Note: There is currently a known issue in the current release where the warning might not always clear to return the distribution point status back to a success state. We hope to address this issue in a future release."

    Has this been addressed? - As I'm still having the issue under SCCM 2012 SP1 CU3.

    Thanks,

    Lee

  • I'm still having this issue in SCCM 2012 R2 CU1. I've deleted the package from WMI on the Primary server and just hoping the Warnings will go away once the DP's run content validation. There was no specified directions to get the status to display correctly once you've removed the package from WMI, so here's to hoping content validation clears it up.

  • With reference to the link http://kjaerit.com/?p=262#comment-3567

    We have a similar issue in our production Environment as well. Since there are more packages in the difference list we have to redistribute them over WAN which will take a toll . Is there any script available which can be used to manually enter the package ID to the WMI DB so that we can save the load on the WAN link.