RMAN connect to Auxiliary Fails With ORA-01031: INSUFFICIENT PRIVILEGES
Last updated on APRIL 20, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
***Checked for relevance on 18-July-2015***
Connecting to an auxiliary instance via RMAN fails with ORA-01031 errors. The same is seen when properly testing a connection via SQL*Plus to the auxiliary instance.
RMAN-04006: ERROR FROM AUXILIARY DATABASE: ORA-01031: INSUFFICIENT PRIVILEGES
You may have tried to add the connecting user to the password file but that has failed:
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01109: database not open
Because the auxiliary is nomounted, the addition of a user to the password file for the auxiliary is not allowed, nor does it resolve this problem.
You have verified the same problem happens in SQL*Plus as does RMAN. For example, if in RMAN you are issuing:
then for testing SQL*Plus you'd have to issue this from the operating system prompt:
also shows the ORA-1031 error.
(connecting in two steps to the auxiliary is not a valid test).
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms