Oracle Solution for Error ora-48171

Solution for Oracle Error ORA-48171

ORA-48171: unable to get share lock - file not readable

What triggered the Error:

share lock request was made on a file not open for read access.

What should we do to fix it:

file must be open read-only or read-write to get a share lock.