Oracle Solution for Error ora-31108

Solution for Oracle Error ORA-31108

ORA-31108: Action failed as resource string is locked

What triggered the Error:

Delete/Rename failed because of an existing lock

What should we do to fix it:

Do lockdiscovery to find the lock and delete it.