IIS6.0 WebDAV问题导致的package分发失败

来源:互联网 发布:ov7670 linux驱动 编辑:程序博客网 时间:2024/05/22 00:36

本文转自 SCCM support team blog

 

SCCM客户端在试用BITS/http从server共享DP来下载package时,可能因为hash不匹配而无法下载。在cas.log 和 contenttransfermanager.log:

CAS.Log:
Download completed for content PackageGUID.X under context System 3/25/2010 12:31:21 AM 2096 (0x0830)
Failed to instantiate UI Server {SOMEGUID1} with error 8000401a 3/25/2010 12:31:21 AM 2096 (0x0830)
Failed to instantiate UI Server 2 {SOMEGUID2} with error 8000401a 3/25/2010 12:31:21 AM 2096 (0x0830)
Failed to instantiate Updates UI Server {SOMEGUID3} with error 8000401a 3/25/2010 12:31:21 AM 2096 (0x0830)
Failed to instantiate VApp UI Server {SOMEGUID4} with error 0x8000401A 3/25/2010 12:31:21 AM 2096 (0x0830)
There are 0 files in the directory compared to 1 expected files 3/25/2010 12:31:21 AM 2096 (0x0830)
Hash does not match expected <Content ContentId="PackageGUID" Version="X"><FileContent Name="Package Name" Hash="SomeHashValuenumber" HashAlgorithm="SHA1" Size="513400"/></Content>, actual  3/25/2010 12:31:21 AM 2096 (0x0830)
Hash matching failed. 3/25/2010 12:31:21 AM 2096 (0x0830)
Download failed for content PackageGUID.X under context System, error 0x80091007 3/25/2010 12:31:21 AM 2096 (0x0830)

也就是说client认为已经download了,实际上没有,而且client端cache中也没有创建packageID命名的folder,这就是为什么hash不匹配。

ContentTransferManager.log:
CTM job {SOMEGUID} successfully processed download completion. 3/25/2010 12:31:34 AM 3500 (0x0DAC)
CTM encountered error processing reply from DTS. Code 0x80040215 3/25/2010 12:33:06 AM 3084 (0x0C0C)

也就是说client以为下载完成,然后给了一个却返回一个错误

原因:

IIS 6.0 WEBDAV 有一个已知错误:当虚拟目录指向一个驱动器的根目录时,例如Z:/ 会出现一个错误。这个错误导致了上述的SCCM的错误

解决方法:

虚拟目录不要指向分区的根目录,而是一个在根目录中创建一个新目录并共享来作为DP。如果已经有很多server配置为共享 Z: 并将它配置为remote server DP,那么简单的方法是: 创建一个新目录 Z:/packages,然后将SMSPKG folder整个移到这个Z:/packages中,然后再remote server上重建share来使得这个share实际路径为新的 Z:/packages而保留原来的share 名。然后修改SCCM site server的 IIS 虚拟目录 SMS_DP_packages 来让它指向 Z:/packages。 这样客户端和其它所有设置都不用修改。

 

technet 文档库中有相关的描述 http://technet.microsoft.com/en-us/library/bb892801.aspx

"Administrator must manually create a shared folder before creating the new site system server share."

但是并没有说明使用分区根做DP共享会造成 BITS/HTTP传输问题。

KB954847 记录了一些更细节的信息
http://support.microsoft.com/default.aspx?scid=kb;EN-US;954847

原创粉丝点击