• Oracle中Inventory目录作用以及如何重建此目录 oraInst.loc 文件


     inventory

      [ˈɪnvəntri] [ˈɪnvəntɔ:ri]
    n. 清查; 存货清单; 财产目录,财产目录的编制; 存货总值;
    vt.

    盘存; 编制…的目录; 开列…的清单; 总结

    Default oraInst.loc (/etc/oraInst.loc) validation failed.

    If you plan to install Oracle products using Oracle Universal Installer in silent or suppressed mode, you must manually create the oraInst.loc file if it does not already exist. This file specifies the location of the Oracle Inventory directory where Oracle Universal Installer creates the inventory of Oracle products installed on the system.

    oraInventory存放的是Oracle软件安装的目录信息,Oralce的安装升级都需要用到这个目录,来看看Oracle文档中对这个目录的一点说明:
    All Oracle software installations rely on this directory. 
    Ensure that you back it up regularly. 
    Do not delete this directory unless you have completely removed 
    all Oracle software from the system.

    oraInventory目录的位置是由oraInst.loc文件决定的:
    /etc/oraInst.loc (AIX and Linux Platform)
    /var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)

    $cat /etc/oraInst.loc 
    inventory_loc=/app/oracle/oraInventory
    inst_group=dba
    删除或丢失oraInventory目录的内容,都有可能导致升级报错

  • 相关阅读:
    动态类型
    unlink与close关系
    Google 历年笔试面试30题
    UNIX网络编程 卷2 源代码使用
    centos安装telnet
    python中安装第三方模块
    Linux平台 Oracle 18c RAC安装Part1:准备工作
    RHEL7 配置iSCSI模拟环境
    Solaris 10主机名和IP地址步骤
    设置sqlplus不显示除查询结果外的信息
  • 原文地址:https://www.cnblogs.com/jycjy/p/6940606.html
Copyright © 2020-2023  润新知