問題
嘗試升級時,為什麼會出現以下錯誤:
Failure downloading upgrade list. (Error performing upgrade: I/O error).
Errors when trying to upgrade. Failure downloading upgrade list.
(Error performing upgrade: I/O error opening URL '<download URL>')?
發生此錯誤的原因如下:
- 無法透過DNS解析升級伺服器主機名稱(可能是負的快取專案)
- 用於升級的介面無法與升級伺服器通訊。
請參閱下列每個案例的解決方案。
無法解析升級伺服器DNS (可能是負的快取專案)
要驗證錯誤的DNS是否導致了此問題,請運行以下CLI命令:
WSA.CLI > nslookup downloads.ironport.com
如果沒有返回任何關聯的IP地址,請運行dnsflush命令。這將強制WSA為升級伺服器重新請求DNS。
Is 'nslookup' of the domain "downloads.ironport.com" successful on the WSA?
-------------------------------------------------------------------------------------
- 在這種情況下,建議嘗試其他DNS伺服器或檢查原因
配置的DNS伺服器未解析思科更新伺服器的主機名
- 如果是,則使用CLI命令「dnsflush」刷新DNS快取並強制DNS查詢
WSA.CLI> dnsflush
Are you sure you want to clear out the DNS cache? [N]> y
現在可以成功運行upgrade命令。
檢查CLI指令「upgrade」是否傳回錯誤。
wsa.example.com (SERVICE)> upgrade
Failure downloading upgrade list. (Error performing upgrade: I/O error
opening URL
'http://downloads.ironport.com/asyncos/upgrade/?serial=
&version=
&product=
')
範例
wsa.example.com (SERVICE)> nslookup downloads.ironport.com
A=64.62.193.129 TTL=30m
A=64.62.193.134 TTL=30m
wsa.example.com (SERVICE)> dnsflush
Are you sure you want to clear out the DNS cache? [N]> y
wsa.example.com (SERVICE)>
wsa.example.com (SERVICE)> upgrade
Upgrades available:
1. AsyncOS 7.5.2 build 303 upgrade For Web .....
[1]>
The interface being used for upgrades cannot communicate to the
upgrades server
如果使用不正確的介面進行升級,也會返回此錯誤。
使用M1和P1介面時,根據網路部署的不同,可能只有P1介面可以訪問Internet,並且應該是用於升級的正確介面。如果將WSA配置為在這種情況下使用M1,則可能會導致升級回遷失敗,導致「下載失敗……」錯誤。
以下是透過CLI更改升級介面的說明:
WSA.CLI> updateconfig
Upgrade source: http://downloads.qa/asyncos/upgrade/
Upgrade interface: AUTO
Proxy server: not in use
Choose the operation you want to perform:
- SETUP - Edit upgrade configuration.
[]> setup
Please select the upgrade source you want to use for AsyncOS updates:
1. Use Cisco update servers
2. Use own server
[1]>
.......
Choose the routing table to use
1. Data
2. Management
[1]> 1
..... Press
till you reach the CLI prompt ......
WSA.CLI> commit
注意:請注意,除非發出「提交」,否則上述更改不會生效。