本文只介绍在静默安装oracle12c发现的问题,基本的安装步骤方式和安装oracle11g一致,所以本文只对oracle12c安装过程中有区别的地方进行介绍。
基础步骤,参考前面一章《linux静默安装oracle11g》:https://blog.csdn.net/bjywxc/article/details/103781684
1、有个项目需要安装oracle12.1的数据库,最开始静默安装的配置都是参考在11g的参数进行的,在安装时发现报错[INS-35344] The value is not specified for Database Backup and Recovery (OSBACKUPDBA) group.
[oracle@dczjdb1 database]$ ./runInstaller -silent -responseFile /soft/database/response/db_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 67198 MB Passed
Checking swap space: must be greater than 150 MB. Actual 20479 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-01-09_03-34-02PM. Please wait ...[oracle@dczjdb1 database]$ [WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
[FATAL] [INS-35344] The value is not specified for Database Backup and Recovery (OSBACKUPDBA) group.
ACTION: Specify a valid group name for Database Backup and Recovery (OSBACKUPDBA) group.
[FATAL] [INS-35344] The value is not specified for Data Guard administrative (OSDGDBA) group.
ACTION: Specify a valid group name for Data Guard administrative (OSDGDBA) group.
[FATAL] [INS-35344] The value is not specified for Encryption Key Management administrative (OSKMDBA) group.
ACTION: Specify a valid group name for Encryption Key Management administrative (OSKMDBA) group.
A log of this session is currently saved as: /tmp/OraInstall2020-01-09_03-34-02PM/installActions2020-01-09_03-34-02PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location.
timed out waiting for input: auto-logout
You have mail in /var/spool/mail/root
[root@dczjdb1 soft]#
2、根据报错的提示和11g相比,12c的db_install.rsp配置文件除了11g的参数外,还要额外设置下面参数,否则会报错
oracle.install.db.BACKUPDBA_GROUP=dba
oracle.install.db.DGDBA_GROUP=dba
oracle.install.db.KMDBA_GROUP=dba
3、加上这些参数重新执行安装即可,其它的不再介绍。