ORACLE静默安装报错解决方法
前言.
INFO: Exit Status is -2
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver
Oracle中退出代码含义:
代码 描述
0 成功安装,正常退出
1 关键组件成功安装,但是部分可选组件安装失败
2 本地安装成功,但是部分远程工具安装失败
3 关键组件成功安装,但是某些推荐的配置工具失败
4 安装停止
6 在忽视一些先决条件检查或警告后,安装成功
-1 至少有一个安装失败
-2 安装失败.一个或多个变量验证失败.
-3 尝试的安装遇到了失败的先决条件.一些可选的先决条件没有满足.详见日志.如果先决条件是可选的,你可以忽略此返回代码
问题1.
INFO: Advice is ABORT
INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
INFO: Completed validating state <inventoryPage>
INFO: Terminating all background operations
INFO: Terminated all background operations
WARNING: A log of this session is currently saved as: /tmp/OraInstall2021-04-23_04-31-51PM/installActions2021-04-23_04-31-51PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -2
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver
解决方法:
首次安装,修改db_install.rsp中DECLINE_SECURITY_UPDATES=true
中断后再次安装,清空database(安装源文件目录)oracle(oracle安装目录)orainventory(oralce安装信息目录);
然后重新解压安装运行命令./runInstaller -silent -responseFile ../response/db_install.rsp -ignorePrereq