日誌 "Error:-71'ZIP_RATIO_ERR'" 顯示問題可能由資料庫中的 "VSIExtractFileRatioLimit" 的值引起。此參數表示解壓縮後的文件大小與原始壓縮文件大小的比率。例如,如果您有一個 1M 的壓縮檔,解壓縮後的文件大了文件超過 200M,則比率為 200。
建議將 "VSIExtractFileRatioLimit" 的值設置為 "0",表示無限制,以解決此問題。
要修改該值,請執行以下步驟:
- 使用 SSH 以 root 帳戶登入 InterScan Messaging Security Virtual Appliance
- 執行以下命令:
/opt/trend/imss/PostgreSQL/bin/psql imss sa -c "update tb_global_setting set value='0' where name='VSIExtractFileRatioLimit' and section='virus' and inifile='imss.ini'"
- 執行以下命令並確認新值:
/opt/trend/imss/PostgreSQL/bin/psql imss sa -c "select * from tb_global_setting where name='VSIExtractFileRatioLimit' and section='virus' and inifile='imss.ini'"
輸出應類似於以下內容:
section | name | value | inifile | notes --------------------------------------------------- virus | VSIExtractFileRatioLimit | 0 | imss.ini | (1 row)
- 使用以下命令重新啟動 imssd 服務:
/opt/trend/imss/script/S99IMSS restart
