使用 Microsoft 登入
登入或建立帳戶。
您好:
選取其他帳戶。
您有多個帳戶
選擇您要用來登入的帳戶。

摘要

執行獨立 WSUS 或與 WSUS 整合的 System Center Configuration Manager 時,軟體更新同步處理可能會間歇性地發生失敗,雖然後續同步處理可能成功。 您可能會看到下列一個或多個錯誤。

wsyncmgr.log (Configuration Manager 站台伺服器記錄檔) 中的備註項目:

MM/dd/YYYY HH:mm:ss PM Synchronizing WSUS server contoso1.contoso.com ...

MM/dd/YYYY HH:mm:ss PM sync: Starting WSUS synchronization

MM/dd/YYYY HH:mm:ss PM sync: WSUS synchronizing categories

MM/dd/YYYY HH:mm:ss PM sync: WSUS synchronizing updates

MM/dd/YYYY HH: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/YYYY HH:mm:ss PM Sync done. Getting sync info...

MM/dd/YYYY HH:mm:ss PM Got sync info. NumSynced = 0

MM/dd/YYYY HH:mm:ss PM Sync failed: ImportUpdateError: . Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncWSUS

MM/dd/YYYY HH: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=Day Mon dd HH:mm:ss.ssss YYYY ISTR0="Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncWSUS" ISTR1="ImportUpdateError: " ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0

MM/dd/YYYY HH:mm:ss PM Sync failed. Will retry in 60 minutes

 

SoftwareDistribution.log 中的對應項目:

YYYY-MM-dd HH:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata 2 update(s) could not be imported into the local db even with retry

YYYY-MM-dd HH:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata Bad Update Revision #0: b55a761f-98c3-4e8f-be39-9dcfd35ceefc/201

YYYY-MM-dd HH:mm:ss.sss UTC Error WsusService.42 CatalogSyncAgentCore.GetAndSaveUpdateMetadata Bad Update Revision #1: e0dd10bf-612b-4524-b382-9655a5ee7d6e/200

YYYY-MM-dd HH:mm:ss.sss UTC Info WsusService.42 CatalogSyncAgentCore.UpdateSyncResultAndGenerateReportingEvent CatalogSyncThreadProcess: report subscription One or more updates failed to import to local database.

YYYY-MM-dd HH: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. Some update 配套資訊中的修訂已經不在資料庫中。

WSUS 主控台中的同步處理檢查將會顯示成功和失敗狀態的結果:

WSUS Sync fails1

失敗的同步處理可能類似下列 (按兩下畫面中的失敗項目,即可開啟同步處理報表):

WSUS sync fails2

原因

尚未決定。

解決方案

透過後續軟體更新同步處理,同步處理/匯入先前失敗的定義更新應該會成功。

其他相關資訊

如果 WSUS 主控台中的同步處理記錄無法載入,或者速度緩慢而無法列舉,請參閱下列文章,以取得可用來解決此問題的資訊:


清除 WSUS 主控台中的同步處理記錄 (英文)

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

這項資訊有幫助嗎?

您對語言品質的滿意度如何?
以下何者是您會在意的事項?
按下 [提交] 後,您的意見反應將用來改善 Microsoft 產品與服務。 您的 IT 管理員將能夠收集這些資料。 隱私權聲明。

感謝您的意見反應!

×