重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

标题: 静默安装19C数据库软件报错 [打印本页]

作者: jiawang    时间: 4 天前
标题: 静默安装19C数据库软件报错
报错现象:
[oracle@hisrecover dbhome_1]$ ./runInstaller -silent -force -ignorePrereq -responseFile /tmp/install_his.rsp
Launching Oracle Database Setup Wizard...


[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
   CAUSE: No additional information available.
   ACTION: Contact Oracle Support Services or refer to the software manual.
   SUMMARY:
       - java.lang.NullPointerException



查看响应文件
[oracle@hisrecover tmp]$ more install_his.rsp
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en,zh_CN
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
oracle.install.db.InstallEdition=EE
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_GROUP=oper
oracle.install.db.OSBACKUPDBA_GROUP=dba
oracle.install.db.OSDGDBA_GROUP=dba
oracle.install.db.OSKMDBA_GROUP=dba
oracle.install.db.OSRACDBA_GROUP=dba


# MOS安全更新,两行成对,缺一不可
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true


# root脚本手动执行,下面相关参数全部注释
oracle.install.db.rootconfig.executeRootScript=false
#oracle.install.db.rootconfig.configMethod=ROOT
#oracle.install.db.rootconfig.rootPassword=


[oracle@hisrecover tmp]$



解决办法:
[oracle@hisrecover dbhome_1]$ export CV_ASSUME_DISTID=OEL7.6


再次执行成功
[oracle@hisrecover dbhome_1]$ ./runInstaller -silent -force -ignorePrereq -responseFile /tmp/install_his.rsp
Launching Oracle Database Setup Wizard...


[WARNING] [INS-13014] Target environment does not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are not met. See logs for details. /u01/app/oraInventory/logs/InstallActions2026-06-29_06-04-27PM/installActions2026-06-29_06-04-27PM.log
   ACTION: Identify the list of failed prerequisite checks from the log: /u01/app/oraInventory/logs/InstallActions2026-06-29_06-04-27PM/installActions2026-06-29_06-04-27PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
/u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2026-06-29_06-04-27PM.rsp


You can find the log of this install session at:
/u01/app/oraInventory/logs/InstallActions2026-06-29_06-04-27PM/installActions2026-06-29_06-04-27PM.log


As a root user, execute the following script(s):
        1. /u01/app/oracle/product/19.0.0/dbhome_1/root.sh


Execute /u01/app/oracle/product/19.0.0/dbhome_1/root.sh on the following nodes:
[hisrecover]




Successfully Setup Software with warning(s).
[oracle@hisrecover dbhome_1]$








欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2