directory inventory oracle_oracle directory - CSDN
精华内容
参与话题
  • Oracle Inventory Directory概念

    千次阅读 2013-04-26 12:40:27
    Oracle Inventory Directory 2.7.2 Oracle Inventory Directory The Oracle Inventory directory (oraInventory) stores an inventory of all software installed on the system. It is required by, and ...

    Oracle Inventory Directory

    2.7.2 Oracle Inventory Directory

    The Oracle Inventory directory (oraInventory) stores an inventory of all software installed on the system. It is required by, and shared by, all Oracle software installations on a single system. The first time you install Oracle software on a system, Oracle Universal Installer prompts you to specify the path to this directory. then Oracle recommends that you choose the following path:

    oracle_base/oraInventory

    Oracle Universal Installer creates the directory that you specify and sets the correct owner, group, and permissions for it. You do not need to create it.

    Note:

    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.

    第一次安装完oracle db后,如果再想往oracle中加入新的组件,需要重新运行runInstaller。第二次运行runInstaller的时候,runInstaller就是通过oraInst.loc中指定的

    inventory_loc=/u01/app/oracle/
    inst_group=oinstall

    来确定oracle inventory directory路径的。默认runInstaller会去中/etc/oraInst.loc。如果不想使用默认的,可以使用如下参数指定:

    ./runInstaller -invPtrLoc /u01/app/oracle/installfile/oraInst.loc

    展开全文
  • oraInventory存放的是Oracle软件安装的目录信息,Oralce的安装升级都需要用到这个...All Oracle software installations rely on this directory.  Ensure that you back it up regularly.  Do not delete this dir
    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目录的内容,都有可能导致升级报错,例如在运行opatch时就有可能遇到以下报错:
    10G中:
    $opatch lsinventory
    Invoking OPatch 10.2.0.4.3

    OPatch failed to locate Central Inventory.
    Possible causes are: 
        The Central Inventory is corrupted
        The oraInst.loc file specified is not valid.
    LsInventorySession failed: OPatch failed to locate Central Inventory.
    Possible causes are: 
        The Central Inventory is corrupted
        The oraInst.loc file specified is not valid.

    OPatch failed with error code 73
    $opatch lsinventory
    Invoking OPatch 10.2.0.4.3

    List of Homes on this system:

    Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
    Possible causes are:
       Oracle Home dir. path does not exist in Central Inventory
       Oracle Home is a symbolic link
       Oracle Home inventory is corrupted
    LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo

    OPatch failed with error code 73
    9I中报错:
    OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred: 
    OPatch Exception:
      Can not lock OUI inventory (READ/WRITE Level)
      An exception occurs
      The inventory pointed at location /app/oraInventory is not valid

    There is no Interim Patch

    Can not get a list of inventory on this home.
    LsInventory: OPatch Exception while accessing O2O

    OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred: 
    OPatch Exception:
      OUI found no such ORACLE_HOME set in the environment
      Can not get details for given Oracle Home
      An exception occurs
      null

    There is no Interim Patch

    Can not get a list of inventory on this home.

    ERROR: OPatch failed because of Inventory problem.
    在10G中可以运行以下命令进行oraInventory目录重建:
    $cd $ORACLE_HOME/oui/bin
    $./runInstaller -silent -attachHome \
    > ORACLE_HOME=$ORACLE_HOME \
    > ORACLE_HOME_NAME="ORACLE_HOME"
    Starting Oracle Universal Installer...

    No pre-requisite checks found in oraparam.ini, 
    no system pre-requisite checks will be executed.
    The inventory pointer is located at /etc/oraInst.loc
    The inventory is located at /app/oracle/oraInventory
    'AttachHome' was successful.
    js_znjh_1./app/oracle/product/10.2.0/db_1/oui/bin$
    10.2.0.2以上的版本,还可以直接运行attachHome.sh脚本:
    $cd $ORACLE_HOME/oui/bin    
    $./attachHome.sh
    Starting Oracle Universal Installer...

    No pre-requisite checks found in oraparam.ini, 
    no system pre-requisite checks will be executed.
    The inventory pointer is located at /etc/oraInst.loc
    The inventory is located at /app/oracle/oraInventory
    'AttachHome' was successful.
    展开全文
  • OCP-1Z0-052-V8.02-108题

    千次阅读 2013-11-05 11:32:59
    108. You are installing Oracle Database 11g on your server. During the installation Oracle Universal ...Installer (OUI) prompts you to enter the path of the inventory directory and also prompts you to s

    108. You are installing Oracle Database 11g on your server. During the installation Oracle Universal

    Installer (OUI) prompts you to enter the path of the inventory directory and also prompts you to specify an

    operating system group name. Which statement is true in this case?

    A.The ORACLE_BASE parameter is not set.

    B.The installation is being performed by the root user.

    C.The operating system group that will be specified should have root user as its member.

    D.The installation is being performed without the "Create Starter Database" option selected.

    E.The operating system group that will be specified must have permission to write to the inventory directory.

    Answer: E  

    答案解析:

    如下图的oinstall组的描述

    展开全文
  • oraInventory 目录在oracle安装中的作用

    千次阅读 2015-01-08 13:55:35
    在使用安装oracle软件或者使用dbca创建数据库时,所有的日志都会放在oraInventory这个目录下。 默认情况下该目录会在$ORACLE_BASE/oraInventory,但是我们也可以通过更改/etc/oraInst.loc文件来指定具体的路径: ...
     在使用安装oracle软件或者使用dbca创建数据库时,所有的日志都会放在oraInventory这个目录下。
    默认情况下该目录会在$ORACLE_BASE/oraInventory,但是我们也可以通过更改/etc/oraInst.loc文件来指定具体的路径:
      假设想修改该目录的路径可以修改oraInst.loc 文件
    在linux下:
       该文件路径为/etc/oraInst.loc
    在hpunix下:
       该文件路径为 /var/opt/oracle/oraInst.loc

    You all might be familiar with oraInventory & its importance so lets take a look at few common things about it like binary/xml inventory, What to do if Inventory is corrupted , What is global / Local Inventory and where to find documentation related to oraInventory .

    What is oraInventory ?
    oraInventory is repository (directory) which store/records oracle software products & their oracle_homes location on a machine. This Inventory now a days in XML format and called as XML Inventory where as in past it used to be in binary format & called as binary Inventory.
    There are basically two kind of Inventory Global Inventory (also called as Central Inventory) andLocal Inventory also called as Oracle Home Inventory.

    Global Inventory ?
    Global Inventory holds information about Oracle Products on a Machine. These products can be various oracle components like database, oracle application server, collaboration suite, soa suite, forms & reports or discoverer server . This global Inventory location will be determined by file oraInst.loc in /etc (on Linux) or /var/opt/oracle (solaris). If you want to see list of oracle products on machine check for file inventory.xml underContentsXMLinoraInventory Please note if you have multiple global Inventory on machine check all oraInventory directories)

    You will see entry like
    HOME NAME=”ORA10g_HOME” LOC=”/u01/oracle/10.2.0/db” TYPE=”O” IDX=”1″/

    Local Inventory
    Inventory
     inside each Oracle Home is called as local Inventory or oracle_home Inventory. This Inventory holds information to that oracle_home only.

    Can I have multiple Global Inventory on a machine ?
    Quite common questions is that can you have multiple global Inventory and answer isYES you can have multiple global Inventory butif your upgrading or applying patch then change Inventory Pointer oraInst.loc to respective location. If you are following single global Inventory and if you wish to uninstall any software then remove it from Global Inventory as well.

    What to do if my Global Inventory is corrupted ?
    No need to worry if your global Inventory is corrupted, you can recreate global Inventory on machine using
    Universal Installer and attach already Installed oracle home by option
    -attachHome

    ./runInstaller -silent -attachHome -invPtrLoc $location_to_oraInst.loc
    ORACLE_HOME=”Oracle_Home_Location” ORACLE_HOME_NAME=”Oracle_Home_Name”
    CLUSTER_NODES=”{}”

    Do I need to worry about oraInventory during oracle Apps 11i cloning ?
    No, Rapid Clone will update both Global & Local Inventory with required information , you don’t have to worry about Inventory during Oracle Apps 11i cloning.


    参考:
    https://blogs.oracle.com/Database4CN/entry/oracle%E7%9A%84central_inventory%E5%92%8Clocal_inventory%E8%AF%A6%E8%A7%A3

    展开全文
  • OCP-1Z0-052-V8.02-110题

    万次阅读 2013-09-24 16:36:52
    110. Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode for an installation? A.Run the root.sh script. B.Create the oraInst.loc file. C.
  • 安装oracle 10.2.0.1程序 ...you do not have sufficient permissions to access the inventory '/oracle/oraInventory'. Installation cannot continue.Make sure that you have read/write permi
  • inventory_loc用来提定oracleinventory指向的目录,inventory里存放着安装oracle相关软件的清单,但多个操作系统用户安装不同的软件时会在了权限问题,这个配置存放在/etc/oraInst.loc这个文件中。 遇到问题...
  • [oracle@oel701 database]$ [FATAL] [INS-32038] The operating system group specified for central inventory (oraInventory) ownership is invalid.  CAUSE: User performing installation is not a membe...
  • cloud control 12c agent 安装处理一例

    千次阅读 2014-12-17 19:28:42
    agent有问题,接着处理。 重新安装agent,遇到错误...The Agent Oracle Home or Install Base Directory, is already registered with the inventory.  Expected result: New Agent Oracle Home should not be regi
  • 1.提示Check if the DISPLAYvariable is set. Failed ... #su – Oracle //切换到oracle用户 $./runInstaller //执行安装程序    xhost 是用来控制X server访问权限的。 通常当你从ho
  • oracle安装目录的文件夹指什么

    万次阅读 2013-06-26 11:05:01
    Oracle根目录(Oracle Base Directory)是Oracle的顶级目录,第一次安装Oracle时,Oracle Universival Installer会提示创建这个目录。在“注册表”中查找“oracle_base”可以查看oracle的根目录。  Oracle主...
  • oracle目录结构 ... Oracle10g的目录结构   在安装ORACLE的时候,需要设置Oracle根目录(oracle base directory),Oracle主目录(oracle home directory)和Oracle清单目录(oracle invertory direc
  • 2017-08-25 23:2116640原创Oracle 12c故障处理编辑删除 ... 图形化界面升级Oracle 12.1至12.2 时,突然中断了,后面继续安装时提示,软件安装冲突...将inventory.xml 文件中 ORACLE_HOME信息删掉,如下标红的部分删除,...
  • ![安装报错图片](https://img-ask.csdn.net/upload/201609/08/1473298364_712172.png)到了这一步怎么也安装不下去了,求大神指点 ![图片说明](https://img-ask.csdn.net/upload/201609/08/1473299240_413781.png)...
  • [FATAL] [INS-75012] GoldenGate静默安装错误
  • 静默安装oracle 11g 【实验笔记】

    千次阅读 2014-07-24 15:46:40
    停止防火墙,selinux chkconfig iptables off service iptables stop vim /etc/selinux/config 修改SELINUX=disabled ,重启后生效 setenforce 0 ,不需要重启,立即生效,只限于当次 ...rpm -q --queryformat "%{...
  • Oracle安装需要脚本orainstRoot.sh

    千次阅读 2015-06-30 23:32:53
    # cat /oracle/oraInventory/orainstRoot.sh #!/bin/sh AWK=/bin/awk CHMOD=/bin/chmod CHGRP=/bin/chgrp CP=/bin/cp ECHO=/bin/echo MKDIR=/bin/mkdir RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print
  • Oracle 11g R2静默安装

    万次阅读 2015-02-16 16:40:12
    测试安装Oracle 11g R2静默安装安装,环境是vmware平台虚拟机。做个记录。 CentOS 6.5_x64安装Oracle 11g R2 一,下载地址  ...
  • ORACLE安装与操作系统用户组说明

    千次阅读 2015-11-10 22:03:20
    转自:...Oracle软件在安装维护过程中长要和操作用户组(OS user group)打交道,从早前的只有oracle用户和dba组发展到今天11gr2中的grid用户和asm组,Oracle管理的日新月异可见一斑。 我们在单实
  • Oracle安装过程中用户的区别

    千次阅读 2015-03-13 09:13:02
    在安装数据库软件的过程中,因为创建操作系统用户,有些不太清楚为什么要创建这么多用户,通过参考meclean的...oinstall:oinstall 组是oracle 推荐操作系统的用户组,该用户组应该具有oracle 软件目录$ORACLE_BAES,
1 2 3 4 5 ... 20
收藏数 3,587
精华内容 1,434
关键字:

directory inventory oracle