Connectrix Brocade B 系列:无法在交换机上安装许可证,并显示错误:“parser error:文档为空”
Summary: 无法在 Connectrix Brocade B 系列交换机上安装许可证,并显示错误“parser error:文档为空“可能是由于 DOS/Microsoft Windows 转换引起的证书问题导致的。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
tmp/license_alc.xml:1: parser error : Document is empty
License install failed - Invalid license, please contact your reseller.
License install failed - License operation is currently blocked , please try again later.Cause
当证书(在导入过程中)经历 DOS/Microsoft Windows 转换时,会发生这种情况。
DOS/Windows 系统在有效页脚的末尾放置一个 ^M(回车符)字符,这会导致验证失败。
- 在 Unix 计算机上,使用该命令检查不需要的字符。
'cat -v '
示例:
<?xml version="1.0" encoding="UTF-8"?><licenseInfo>^M
<licenseHeader>^M
<productName>FOS</productName>^M
<licenseId>10:00:xx:xx:xx:35:xx:00</licenseId>^M
<serialNumber>FOS-86-0</serialNumber>^M
<featureName>^M
Ports on Demand^M
^M
<capacity>8</capacity>^M
</featureName>^M
<dateGenerated>11/28/2024</dateGenerated>^M
<dateExpiry>NA</dateExpiry>^M
<validityDays>NA</validityDays>^M
<runningFirmwareVersion>NA</runningFirmwareVersion>^M
<targetFirmwareVersion>NA</targetFirmwareVersion>^M
</licenseHeader>^M
<license>^M
<keyIndex>9</keyIndex>^M
<licSign> /yJhZZraz3CL+EHE2XPU2A/8HWtDx3ah2YDG+If7UQGIVoJ0oN/ C8ZCLPCIQks5cPt3LO+wnyGdl6trh0qdDhpzjk8RzNiZVmo=</licSign>^M
</license>^MResolution
解决方法:
- 可以使用以下命令删除不需要的字符:
'unix2dos '
或
- 使用 Windows 计算机时,请再次下载许可证文件,但不要在任何文本编辑器中打开它。使用 WebTools 直接应用证书。
解决办法:
软件缺陷 (FOS-849790) 解决了此问题 — 修复已在 FOS v9.2.0b 和 9.2.1 中实施。
Products
BrocadeArticle Properties
Article Number: 000261109
Article Type: Solution
Last Modified: 21 Nov 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.