This discussion is archived
6 Replies Latest reply: Feb 11, 2013 11:36 AM by Srini Chavali-Oracle RSS

when oraInst.loc file is created during installation on  linux ?

972355 Newbie
Currently Being Moderated
* QUES during installation :*

Is this  really true  ?

When executing  orainstRoot.sh , It creates the inventory pointer file (/etc/oraInst.loc).
In my case , " the file was created before executing orainstRoot.sh "

+ As far as I know , end of the installation only we are running orainstRoot.sh script .+
+ before running that the orainstRoot.sh script , i checked here ..+

+[root@localhost oraInventory]# id+
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

vi  .oraInst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

* NOTE : orainst.loc file created before running orainstRoot.sh*


Prouuct 10g r2 on redhat 5
  • 1. Re: when oraInst.loc file is created during installation on  linux ?
    Srini Chavali-Oracle Oracle ACE Director
    Currently Being Moderated
    The oraInst.loc file is created by the very first install of Oracle database software on the server.

    http://docs.oracle.com/cd/B19306_01/install.102/b15667/app_nonint.htm#sthref926
    http://docs.oracle.com/cd/B19306_01/install.102/b15669/pre_install.htm#sthref120

    HTH
    Srini
  • 2. Re: when oraInst.loc file is created during installation on  linux ?
    972355 Newbie
    Currently Being Moderated
    I need exact answer to clarify my doubt ..


    when it ws created exactly ?

    When starting oracle installer ? or
    when executing orainst.Root.sh ? or whatelse ?

    REF_LINKS :
    http://rafioracledba.blogspot.in/2012/04/what-is-importance-of-executing.html
    http://mdvreddy.blogspot.in/2010/02/orainstrootsh-and-rootsh-scripts.html


    We execute 'orainstRoot.sh' script for the following purposes:

    +1)It creates the inventory pointer file (/etc/oraInst.loc)+
  • 3. Re: when oraInst.loc file is created during installation on  linux ?
    972355 Newbie
    Currently Being Moderated
    In my case , i got that file before executing  oraInst.loc file , when first time oracle installing on my machine  ..


    [root@localhost oraInventory]# id
    uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

    vi .oraInst.loc
    inventory_loc=/u01/app/oracle/oraInventory
    inst_group=oinstall
  • 4. Re: when oraInst.loc file is created during installation on  linux ?
    Srini Chavali-Oracle Oracle ACE Director
    Currently Being Moderated
    969352 wrote:
    I need exact answer to clarify my doubt ..


    when it ws created exactly ?
    Check the log file of the installation - http://docs.oracle.com/cd/B19306_01/install.102/b15667/app_ts.htm#i1090466 - it will tell you at what step this file was created.
    When starting oracle installer ? or
    when executing orainst.Root.sh ? or whatelse ?

    REF_LINKS :
    http://rafioracledba.blogspot.in/2012/04/what-is-importance-of-executing.html
    http://mdvreddy.blogspot.in/2010/02/orainstrootsh-and-rootsh-scripts.html


    We execute 'orainstRoot.sh' script for the following purposes:

    +1)It creates the inventory pointer file (/etc/oraInst.loc)+
    HTH
    Srini
  • 5. Re: when oraInst.loc file is created during installation on  linux ?
    972355 Newbie
    Currently Being Moderated
    Given link says orainventory_location is the location of the oraInventory directory:
    but directory not found.

    *$ pwd*
    +/u01/app/oracle/oraInventory+

    *[oracle@localhost oraInventory]$ ls -al*
    t+otal 48+
    drwxrwx---  7 oracle oinstall 4096 Feb  1 04:35 .
    drwxr-xr-x  7 oracle oinstall 4096 Feb  5 04:52 ..
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:12 Contents
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:11 ContentsXML
    -rwxrwx---  1 oracle oinstall   37 Jan 31 11:10 install.platform
    drwxrwx---  2 oracle oinstall 4096 Feb  5 04:33 locks
    drwxr-x---  3 oracle oinstall 4096 Feb  1 04:16 logs
    -rwxrwx---  1 oracle oinstall  307 Feb  1 04:16 oraInstaller.properties
    -rwxrwx---  1 oracle oinstall   63 Jan 31 11:10 oraInst.loc
    -rwxrwx---  1 oracle oinstall 1192 Jan 31 11:10 orainstRoot.sh
    drwxrwx---  2 oracle oinstall 4096 Feb  1 04:35 oui
    -rwxrwx---  1 oracle oinstall 3337 Jan 31 11:07 sessionContext.ser

    *$ cd /orainventory_location/logs*
    bash: cd: /orainventory_location/logs: No such file or directory

    *$ find / -name orainventory_location>/dev/null*

    find: /usr/share/ssl/CA: Permission denied
    find: /usr/share/Pegasus/scripts: Permission denied
    find: /boot/lostfound: Permission denied+
    find: /tmp/keyring-kUl6ry: Permission denied
    find: /tmp/keyring-W9rMuT: Permission denied
    find: /tmp/vmware-root: Permission denied
    find: /tmp/gconfd-root: Permission denied
    find: /tmp/keyring-sErBRg: Permission denied
    find: /tmp/lostfound: Permission denied+
    find: /lostfound: Permission denied+
    find: /home/sandyagupta: Permission denied
    find: /home/sandya: Permission denied
    find: /proc/tty/driver: Permission denied
    find: /proc/1/task/1/fd: Permission denied
    find: /proc/2/task/2/fd: Permission denied
    find: /proc/3/task/3/fd: Permission denied
    find: /proc/4/task/4/fd: Permission denied
    find: /proc/5/task/5/fd: Permission denied
    find: /proc/6/task/6/fd: Permission denied
    find: /proc/86/task/86/fd: Permission denied
    find: /proc/104/task/104/fd: Permission denied
    find: /proc/105/task/105/fd: Permission denied
    find: /proc/107/task/107/fd: Permission denied
    find: /proc/87/task/87/fd: Permission denied
    find: /proc/106/task/106/fd: Permission denied
    find: /proc/253/task/253/fd: Permission denied
    find: /proc/373/task/373/fd: Permission denied
    find: /proc/399/task/399/fd: Permission denied
    find: /proc/1608/task/1608/fd: Permission denied
    find: /proc/1647/task/1647/fd: Permission denied
    find: /proc/1967/task/1967/fd: Permission denied
    find: /proc/2132/task/2132/fd: Permission denied
    find: /proc/2151/task/2151/fd: Permission denied
    find: /proc/2152/task/2152/fd: Permission denied
    find: /proc/2370/task/2370/fd: Permission denied
    find: /proc/2485/task/2485/fd: Permission denied
    find: /proc/2537/task/2537/fd: Permission denied
    find: /proc/2912/task/2912/fd: Permission denied
    find: /proc/2916/task/2916/fd: Permission denied
    find: /proc/2938/task/2938/fd: Permission denied
    find: /proc/2958/task/2958/fd: Permission denied
    find: /proc/2987/task/2987/fd: Permission denied
    find: /proc/3075/task/3075/fd: Permission denied
    find: /proc/3085/task/3085/fd: Permission denied
    find: /proc/3100/task/3100/fd: Permission denied
    find: /proc/3119/task/3119/fd: Permission denied
    find: /proc/3127/task/3127/fd: Permission denied
    find: /proc/3138/task/3138/fd: Permission denied
    find: /proc/3148/task/3148/fd: Permission denied
    find: /proc/3172/task/3172/fd: Permission denied
    find: /proc/3191/task/3191/fd: Permission denied
    find: /proc/3210/task/3210/fd: Permission denied
    find: /proc/3223/task/3223/fd: Permission denied
    find: /proc/3234/task/3234/fd: Permission denied
    find: /proc/3244/task/3244/fd: Permission denied
    find: /proc/3323/task/3323/fd: Permission denied
    find: /proc/3375/task/3375/fd: Permission denied
    find: /proc/3431/task/3431/fd: Permission denied
    find: /proc/3480/task/3480/fd: Permission denied
    find: /proc/3483/task/3483/fd: Permission denied
    find: /proc/3750/task/3750/fd: Permission denied
    find: /proc/3980/task/3980/fd: Permission denied
    find: /proc/4013/task/4013/fd: Permission denied
    find: /proc/4308/task: No such file or directory
    find: /proc/4345/task/4345/fd: Permission denied
    find: /proc/4414/task/4414/fd: Permission denied
    find: /proc/4440/task/4440/fd: Permission denied
    find: /proc/5075/task/5075/fd: Permission denied
    find: /proc/5078/task/5078/fd: Permission denied
    find: /etc/cups/certs: Permission denied
    find: /etc/racoon/certs: Permission denied
    find: /etc/Pegasus: Permission denied
    find: /root: Permission denied
    find: /var/spool/clientmqueue: Permission denied
    find: /var/spool/cups: Permission denied
    find: /var/spool/cron: Permission denied
    find: /var/spool/mqueue: Permission denied
    find: /var/spool/at: Permission denied
    find: /var/lock/lvm: Permission denied
    find: /var/lib/dhcpv6: Permission denied
    find: /var/lib/Pegasus: Permission denied
    find: /var/lib/slocate: Permission denied
    find: /var/lib/nfs/statd: Permission denied
    find: /var/cache/alchemist/printconf.local/wm: Permission denied
    find: /var/cache/alchemist/printconf.rpm/wm: Permission denied
    find: /var/cache/samba/winbindd_privileged: Permission denied
    find: /var/log/audit: Permission denied
    find: /var/log/samba: Permission denied
    find: /var/log/ppp: Permission denied
    find: /var/empty/sshd: Permission denied
    find: /var/run/mdadm: Permission denied
    find: /var/run/usb: Permission denied
    find: /var/run/sudo: Permission denied
    find: /var/run/mdmpd: Permission denied
    find: /var/run/tog-pegasus: Permission denied
    find: /var/gdm: Permission denied

    Could you please help me to find ?
  • 6. Re: when oraInst.loc file is created during installation on  linux ?
    Srini Chavali-Oracle Oracle ACE Director
    Currently Being Moderated
    Pl read the naming convention used in the documentation - http://docs.oracle.com/cd/B19306_01/install.102/b15667/preface.htm#sthref2

    Anything in italics is a variable name - so you need to replace "orainventory_location" with the actual path (typically /u01/app/oracle/oraInventory - see the logs directory in this location)

    HTH
    Srini

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points