暂无图片
Oracle 11GR2 32bit客户端静默安装报错
我来答
分享
Thomas
2023-06-17
Oracle 11GR2 32bit客户端静默安装报错

如题。rsp文件内容如下:

oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=
#-------------------------------------------------------------------------------

UNIX_GROUP_NAME=
#-------------------------------------------------------------------------------
# Inventory location.
INVENTORY_LOCATION=

SELECTED_LANGUAGES=en

ORACLE_HOME=D:\app\Administrator\product\11.2.0\client_1

ORACLE_BASE=D:\app\Administrator

#Name : INSTALL_TYPE
#Datatype : String
#Description: Installation type of the component.
#
# The following choices are available. The value should contain
# only one of these choices.
# InstantClient : InstantClient
# Administrator : Administrator
# Runtime : Runtime
# Custom : Custom

INSTALL_TYPE=Runtime
oracle.install.client.installType=Administrator
oracle.install.client.customComponents="oracle.sqlj:11.2.0.1.0"
oracle.install.client.oramtsPortNumber=
oracle.install.client.schedulerAgentHostName=
oracle.install.client.schedulerAgentPortNumber=

运行命令:

setup.exe -silent -nowelcome -noconfig -nowait -ignorePrereq -responseFile RSP文件绝对路径

可总是报错:

- cvc-complex-type.2.4.a: Invalid content was found starting with element 'INSTALL_TYPE'. One of '{"":ORACLE_HOSTNAME}' is expected.

INSTALL_TYPE,明明按它枚举的内容设置了一款,为何老报错。尝试改为

INSTALL_TYPE="Runtime" 或INSTALL_TYPE='Runtime' 依然报错。求大神指教。

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
农夫三拳

盲猜,设个 ORACLE_HOSTNAME=机器名 的环境变量

暂无图片 评论
暂无图片 有用 1
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏