My Oracle Support Banner

Executing DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY as user other then sysdba fails with ORA-01031 (Doc ID 1908436.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Executing the following as a non SYSDBA user (sys as sysdba, specifically) results in the following error:

C:\Users\MyersGa>sqlplus pdadmin/bird45@zc0012d_svc1

SQL*Plus: Release Production on Wed Jul 16 15:44:10 2014

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
Data Mining and Real Application Testing options

SQL> exec dbms_transaction.purge_lost_db_entry('12345.1');
BEGIN dbms_transaction.purge_lost_db_entry('12345.1'); END;

ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_TRANSACTION", line 88
ORA-06512: at line 1

I need to be able to execute this as a user other than SYS as SYSDBA. What other permissions do I need?


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

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