My Oracle Support Banner

DCS-10001 ODA Upgrade Failed GI clone.pl "You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/locks'" (Doc ID 2518186.1)

Last updated on JUNE 26, 2020

Applies to:

Oracle Database Appliance Software - Version 12.1.2.9 and later
Information in this document applies to any platform.

Goal

Attempting to upgrade ODA.

Key Symptoms include encountering errors regarding oraInventory LOCKs, permissions, and / or GI clone procedure.
  • You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/locks'.
  • It is required that the primary group of the install user is same as the inventory owner group.
  • ERROR [Cloning Gi home]
  • Failed to run GI clone.pl
  • The user ORACLE owns the locks on one or both directories - Check both


Example: ODA upgrade from 12.1.2.9 to 12.2.1.4 fails with below errors.

 // "dcs-agent.log"

2019...DEBUG [Cloning Gi home] [] c.o.d.c.u.CommonsUtils:
run: cmd= '[su,
-,
grid,
-c,
<GRID_HOME>/perl/bin/perl <GRID_HOME>/clone/bin/clone.pl -silent
  ORACLE_BASE=<GRID_ORA_BASE>
  ORACLE_HOME=<GRID_HOME>
  ORACLE_HOME_NAME=<GRID_HOME_NAME> OSOPER_GROUP=asmoper
   OSASM_GROUP=asmadmin
   OSDBA_GROUP=asmdba
 INVENTORY_LOCATION=/u01/app/oraInventory
  CLUSTER_NODES="{nodename}" LOCAL_NODE="nodename" CRS=TRUE]'
2019... DEBUG [Cloning Gi home] [] c.o.d.c.u.c.CommandExecutor: Return code: 255
2019... ERROR [Cloning Gi home] [] c.o.d.c.u.CommonsUtils:
   You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/locks'.
   Installation cannot continue.
   It is required that the primary group of the install user is same as the inventory owner group.
   Make sure that the install user is part of the inventory owner group and restart the installer.
2019... DEBUG [Cloning Gi home] [] c.o.d.c.u.CommonsUtils: Output : EMPTY CONTENT
2019... ERROR [Cloning Gi home] [] c.o.d.a.r.s.g.GiHomeOperations: Failed to run GI clone.pl <GRID_HOME>/clone/bin/clone.pl
2019... ERROR [Cloning Gi home] [] c.o.d.c.j.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.gi.GiHomeActions","method":"runGiClone","params":[{"type":"com.oracle.dcs.agent.rest.gi.GiHome","value":{"updatedTime":1552425999318,"id":1552425999318,"name":"<GRID_HOME_NAME>","description":null,"createTimeStamp":null,"type":"GiHome","homename":"<GRID_HOME_NAME>","version":"12.2.0.1","base":"<GRID_ORA_BASE>","homelocation":"<GRID_HOME>","inventoryLoc":"/u01/app/oraInventory","crs":"true","user":"grid","igroup":"oinstall","osdba":"asmdba","osoper":"asmoper","osasm":"asmadmin","cloneLocation":"/opt/oracle/oak/pkgrepos/orapkgs/clones/grid122.tar.gz","group":"oinstall"}}],"revertable":false,"threadId":187}
! com.oracle.dcs.commons.exception.DcsException:
   DCS-10001:Internal error encountered:
   Fail to run GI clone.pl
:
   You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/locks'.
   Installation cannot continue.
   It is required that the primary group of the install user is same as the inventory owner group.
    Make sure that the install user is part of the inventory owner group and restart the installer.

! .
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.