Dear all,
I'm trying to set up shortp_policy and longp_policy in an ADR repository but, when I issue the required command, I get a DIA-48110 error regarding file lock:
DIA-48110: error encountered while attempting to get a file lock [ADR_CONTROL] [<ADR Base>/lck/AM_3216668543_3129272988.lck]
DIA-48180: OS open system call failure
Linux-x86_64 Error: 13: Permission denied
Additional information: 1
The environment is correct, as I can issue queries inside adrci. But the file mentioned in the error belongs to root, instead of oracle:
ls -l <ADR Base>/lck/AM_3216668543_3129272988.lck
-rw-r----- 1 root asmadmin 0 May 26 2021 <ADR Base>/lck/AM_3216668543_3129272988.lck
There's no adrci process at least as old as this lock:
ps -C adrci o start,state,args
STARTED S COMMAND
08:49:10 D adrci pp/oracle/product/18.0.0.0/dbhome_1/bin/adrci
Is this an expected behaviour? How can I tell what created that lock? Why is adrci trying to overwrite it?
Thanks,
Emerson