重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛
标题:
OMS13.5 下载 Windows x64 Agent 镜像报错
[打印本页]
作者:
ZhangQi
时间:
2026-6-4 11:59
标题:
OMS13.5 下载 Windows x64 Agent 镜像报错
环境
OMS:Linux,版本 13.5.0.0.0,下载 Windows64 位 Agent 安装包
报错现象
执行emcli get_agentimage下载完压缩包后自动调用unzip.exe解压插件包失败:
ERROR: Command ...unzip.exe ... execution failed.
Extracting plugins failed.
登录/注册后可看大图
报错原因
Linux 环境无法运行 Windows 的 unzip.exe,跨平台下载 Agent 需指定 Linux 原生 unzip。
解决步骤
配置环境变量指定本机 unzip
export UNZIP_LOC=/usr/bin/unzip
重新执行下载命令
./emcli get_agentimage -platform="Microsoft Windows x64 (64-bit)" -destination=/home/oracle/agent_download -version=13.5.0.0.0
登录/注册后可看大图
成功标识出现两行即代表介质打包下载完成,/home/oracle/agent_download目录为 Windows Agent 安装源:
Exit status is:0
Agent Image Download completed successfully.
备注
永久生效可把export UNZIP_LOC=/usr/bin/unzip写入.bash_profile。
欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2