设置问题疑难解答

此主题中的信息包括在配置 System Center Updates Publisher 设置时可能出现问题的疑难解答。此主题还包括导出软件更新之前必须满足的安全要求、描述了用于帮助诊断问题的日志文件,并列出了常见问题的疑难解答解决方案。

设置要求

  • 要发布软件更新,Windows Server Update Services (WSUS) 3.0 必须安装在本地或远程计算机上,并且在**“设置”对话框的“更新服务器”**选项卡上配置更新服务器之前可以从 Updates Publisher 计算机进行访问。

  • Internet 访问必须可用,以发现外部编录并将其添加到导入列表。

安全要求

特定的 Updates Publisher 设置必须具有以下安全权限:

  • 要修改 Updates Publisher 设置,用户必须在发布工具数据库 (mscuptdb) 上创建了 SQL 登录并被授予 System_Center_Updates_Publisher_User 数据库角色成员身份权限。

  • 要修改数据源,用户必须具有对 HKLM\Software\Microsoft\PublishingTool 注册表项的“完全控制”权限。

  • 要配置**“设置”对话框的“更新服务器”**选项卡,用户必须具有更新服务器上的管理权限。

有关 Updates Publisher 安全要求的更多信息,请参阅 Updates Publisher 的安全考虑事项

日志文件

Updates Publisher 将信息写入 UpdatesPublisher.log 文件,以帮助诊断打开和使用控制台时可能发生的问题。在临时文件夹创建日志文件以使用户打开控制台,默认情况下位于 %USERPROFILE%\Local Settings\Temp。

Important重要信息
Updates Publisher 日志文件必须用简单的文本编辑器(如“记事本”)来打开。如果在全文编辑器中打开日志文件,则可能会无法正确显示日志文件的内容。

UpdatesPublisher.log

Updates Publisher 设置成功配置时,某些设置写入 UpdatesPublisher.log,而某些设置未写入。本节描述了配置某些设置之后 Updates Publisher 写入日志文件的条目。

  • 成功配置更新服务器之后,Updates Publisher 写入以下关键日志条目之一:

    远程更新服务器

    Connecting to the update server update server nameusing portport number. SSL enabled = True or False

    本地更新服务器:

    Connecting to a local update server with locally detected settings.

  • 在更新服务器上成功创建数字证书之后,Updates Publisher 写入以下关键日志条目之一:

    来自文件的数字证书

    Successfully created signing certificate from supplied filecertificate file path\certificate file

    自动创建的数字证书

    Successfully created a new signing certificate

  • 成功配置新数据源之后,Updates Publisher 写入以下关键日志条目之一:

    The data source for the Updates Publisher has changed. Refreshing from database.

  • 成功配置**“高级”**选项卡上的任意设置之后,Updates Publisher 写入以下关键日志条目之一:

    远程更新服务器

    Connecting to the update server smsserver using port 80. SSL enabled = False

    本地更新服务器

    Connecting to a local update server with locally detected settings.

常见 Updates Publisher 设置问题

以下几节列出了配置 Updates Publisher 设置时可能出现的常见问题、可能引起问题的原因和可能的解决方案列表。

此导入位置已在列表中

在**“设置”对话框的“导入”**选项卡上配置新导入位置的 URL 路径时,可能显示以下错误消息:

This import location is already in the list

排除此错误引起的故障时,请验证以下内容:

  • 位置已存在于导入列表中。每个导入位置只能有一个实例。

您输入的 URL 格式不正确

在**“设置”对话框的“导入”**选项卡上配置新导入位置的 URL 路径时,可能显示以下错误消息:

The URL you have entered is not well formed

排除此错误引起的故障时,请验证以下内容:

  • 输入的 URL 路径格式有效。例如,http://MyServer/MyCatalogLocation, https://MyServer/MyCatalogLocation 和 ile://MyServer/MyShare/MyCatalog.cab 是有效路径。

无法打开数据库 "MSCUPTDB"

在**“设置”对话框的“数据源”**选项卡配置新服务器名称,显示以下消息:

Cannot open database "mscuptdb" requested by the login. The login failed. Login failed for user 'username'

排除此错误引起的故障时,请验证以下内容:

  • 必须在运行 SQL Server 的计算机上创建 mscuptdb 数据库。如果未创建数据库和数据库角色,请运行位于 Updates Publisher 安装文件夹的 CreatePubToolDb.sql SQL 脚本,以创建 mscuptdb 数据库和 System_Center_Updates_Publisher_User 数据库角色。

  • 安装 Updates Publisher 的用户必须具有访问 SQL Server 数据库的权限。用户必须具有 mscuptdb 数据库中的 System_Center_Updates_Publisher_User 数据库角色成员身份的 SQL Server 用户登录。

无法连接到更新服务器 - 不能解析远程名称

在**“设置”对话框的“更新服务器”**选项卡配置新服务器,显示以下消息:

Failed to connect to the update server. Check your update server configuration settings and try connecting again. The remote name could not be resolved: 'update server name'

以下日志条目写入 UpdatesPublisher.log:

Connecting to the update server update server nameusing portport number. SSL enabled = True or False

Configure : Failed to connect to the update server using the configuration data provided. [The remote name could not be resolved: 'update server name'].

排除此错误引起的故障时,请验证以下内容:

  • 远程更新服务器名称无效。

  • 远程更新服务器有效,但无法在网络上解析。

无法连接到更新服务器 - 无法连接到远程服务器

在**“设置”对话框的“更新服务器”**选项卡配置新服务器,显示以下消息:

Failed to connect to the update server. Check your update server configuration settings and try connecting again. Unable to connect to the remote server

以下日志条目写入 UpdatesPublisher.log:

Connecting to the update server update server nameusing portport number. SSL enabled = True or False

Configure : Failed to connect to the update server using the configuration data provided. [The remote name could not be resolved: 'update server name'].

排除此错误引起的故障时,请验证以下内容:

  • 远程更新服务器的配置端口设置无效。检查正确端口设置的更新服务器。

无法连接更新服务器 - 基础连接已关闭

在**“设置”对话框的“更新服务器”**选项卡配置新服务器,显示以下消息:

Failed to connect to the update server. Check your update server configuration settings and try connecting again. The underlying connection was closed: An unexpected error occurred on a send.

以下日志条目写入 UpdatesPublisher.log:

Connecting to the update server update server nameusing portport number. SSL enabled = True or False

Configure : Failed to connect to the update server using the configuration data provided. [The underlying connection was closed: An unexpected error occurred on a send.].

排除此错误引起的故障时,请验证以下内容:

  • 更新服务器以接受的端口配置,但安全套接字层在**“更新服务器”**选项卡上选择,而不是在更新服务器上配置。

另请参阅

任务

如何为 Updates Publisher 配置数据源
如何配置更新服务器
如何创建 Updates Publisher 数据库
如何管理导入列表中的编录

参考

设置对话框

概念

Updates Publisher 的日志文件
Updates Publisher 的安全考虑事项

其他资源

管理 Updates Publisher 设置
Updates Publisher 疑难解答