Oracle Solution for Error ora-48130

Solution for Oracle Error ORA-48130

ORA-48130: invalid lock parameters for get file lock [string


What triggered the Error:

Invalid lock parameters passed in for the get file lock routine. The user must pass in file as the lock type. Or, there is a lock mode mismatch. Exclusive locks are not allowed in read-only mode, and shared locks are not allowed in write-only mode.

What should we do to fix it:

Check that correct lock type is specified and that the correct lock mode is requested for the file given its open flags.