Sunday 28 July 2013

No write permissions to the Inventory pointed by /var/opt/oracle/oraInst.loc

While configuring admin tier perl adcfgclone.pl appsTier it failed with the below error message
No write permissions to the Inventory pointed by /var/opt/oracle/oraInst.loc

Running Rapid Clone with command:
perl /u01/ebsapp/comn/clone/bin/adclone.pl java=/u01/ebsapp/comn/clone/bin/../jre/jre mode=apply

stage=/u01/ebsapp/comn/clone/bin/.. component=appsTier method=CUSTOM

appctxtg=/u01/ebsapp/appl/admin/ebsoracle_apporacle.xml

showProgress contextValidated=true

No write permissions to the Inventory pointed by /var/opt/oracle/oraInst.loc: /u01/oracle/11.2.0/oraInventory
Rapid Clone needs to be able to write to the inventory

Please run the script /tmp/orainstRoot.sh as root
Restart adclone.pl after performing required corrections.

ERROR: Failed to execute /u01/ebsapp/comn/clone/bin/adclone.pl

Cause:
After seeing above error message we will think issue with permsions but certainly not.
It is because of  inventory which is pointing to some other instance.

Full permisions
============
apporacle@ctsss $ ls -ltrh /var/opt/oracle/oraInst.loc
-rwxrwxrwx 1 oracle dbaoracle 1.7K Jul 17 05:56 /var/opt/oracle/oraInst.loc
apporacle@ctsss $


Solution:
apporacle@ctsss $ grep -v "#" /var/opt/oracle/oraInst.loc
inventory_loc=/ebstest/oracle/11.2.0/oraInventory
inst_group=dbatest
apporacle@ctsss $

Comment above entry and add below entry in oraInst.loc file
===========================================
inventory_loc=/u01/ebsapp/oraInventory
inst_group=dbaoracle

apporacle@ctsss $ grep -v "#" /var/opt/oracle/oraInst.loc
inventory_loc=/u01/ebsapp/oraInventory  ==> inventory location
inst_group=dbaoracle
apporacle@ctsss $

1 comment:

  1. nice blog good information about oracle fusion tutorials First very very thank you for useful data to amateur.
    I am a new person in apps so i request you to solve my simple queries
    online trainings

    ReplyDelete