Samenvatting
Als zelfstandige WSUS of System Center Configuration Manager, geïntegreerd met WSUS, wordt uitgevoerd, is het mogelijk dat software-updatesynchronisaties op onregelmatige basis mislukken, terwijl volgende synchronisaties wel slagen. Het is mogelijk dat een of meer van de volgende fouten worden weergegeven.
Opmerkingen uit wsyncmgr.log (serverlogboek van Configuration Manager-site):
MM/dd/JJJJ UU:mm:ss PM Synchronizing WSUS server contoso1.contoso.com ...
MM/dd/JJJJ UU:mm:ss PM sync: Starting WSUS synchronization
MM/dd/JJJJ UU:mm:ss PM sync: WSUS synchronizing categories
MM/dd/JJJJ UU:mm:ss PM sync: WSUS synchronizing updates
MM/dd/JJJJ UU:mm:ss PM Caught exception: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WsysSyncFailedException: ImportUpdateError: ~~ at Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncWSUS(SyncMode syncMode)~~ at Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.DoSync()
MM/dd/JJJJ UU:mm:ss PM Sync done. Getting sync info...
MM/dd/JJJJ UU:mm:ss PM Got sync info. NumSynced = 0
MM/dd/JJJJ UU:mm:ss PM Sync failed: ImportUpdateError: . Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncWSUS
MM/dd/JJJJ UU:mm:ss PM STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=CONTOSO1.CONTOSO.COM SITE=NEW PID=3196 TID=7588 GMTDATE=Dag Maand dd UU:mm:ss.ssss JJJJ ISTR0="Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncWSUS" ISTR1="ImportUpdateError: " ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
MM/dd/JJJJ UU:mm:ss PM Sync failed. Will retry in 60 minutes
Bijbehorende vermeldingen uit SoftwareDistribution.log:
JJJJ-MM-dd UU:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata 2 update(s) could not be imported into the local db even with retry
JJJJ-MM-dd UU:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata Bad Update Revision #0: b55a761f-98c3-4e8f-be39-9dcfd35ceefc/201
JJJJ-MM-dd UU:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata Bad Update Revision #1: e0dd10bf-612b-4524-b382-9655a5ee7d6e/200
JJJJ-MM-dd UU:mm:ss.sss UTC Info WsusService.42 CatalogSyncAgentCore.UpdateSyncResultAndGenerateReportingEvent CatalogSyncThreadProcess: report subscription One or more updates failed to import to local database.
JJJJ-MM-dd UU:mm:ss.sss UTC Info WsusService.42 EventLogEventReporter.ReportEvent EventId=386,Type=Error,Category=Synchronization,Message=Synchronization failed. Reason: System.Data.SqlClient.SqlException (0x80131904): Cannot insert the value NULL into column 'RevisionID', table '@AtLeastOneBundle'; column does not allow nulls. INSERT fails.
Error loading information from upd:BundledUpdates/upd:AtLeastOne/upd:UpdateIdentity for updateB55A761F-98C3-4E8F-BE39-9DCFD35CEEFC\201. Bepaalde updaterevisies in bundelgegevens zijn nog niet aanwezig in de database.
Een controle van synchronisaties in de WSUS-console zal resultaten tonen met de status Geslaagd en Mislukt:
Een mislukte synchronisatie kan er ongeveer als volgt uitzien (dubbelklik op mislukte items in het scherm om een synchronisatierapport te openen):
Oorzaak
Moet worden bepaald.
Oplossing
Synchronisatie/import van eerder mislukte definitie-updates moet zijn geslaagd met de volgende software-updatesynchronisaties.
Meer informatie
Als de geschiedenis van synchronisaties in de WSUS-console niet kan worden geladen of traag wordt geïnventariseerd, raadpleeg dan het volgende artikel voor informatie waarmee dit probleem mogelijk kan worden opgelost:
Clearing the Synchronization history in the WSUS console (De synchronisatiegeschiedenis in de WSUS-console wissen)