今天在通过命令行的静默方式安装oracle数据库的时候,遇到如下错误:
[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
CAUSE: 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-30501] Automatic Storage Management software is not configured on this system.
经过查询发现是在配置安装响应文件db_install.rsp的时候,oracle.install.option选项配置成了INSTALL_DB_AND_CONFIG,即安装并创建数据库,但是创建数据库相关的配置没有做好,例如使用的存储是ASM还是文件系统类型,以及存放路径等,因此出现这个错误。
解决方法是:
可以改成先安装软件:oracle.install.option=INSTALL_DB_SWONLY
再次安装即可