DPA: Oracle data collections fail with: Failed to create temporary ORA table: ORA-01031: insufficient privileges
Summary: Data Protection Advisor: Oracle data collections fail with the following error: Failed to create temporary ORA table: ORA-01031: insufficient privileges
Symptoms
Data collection is succeeding but no data is showing in the reports for Oracle or RMAN.
Within the dpagent.log or run running the data collection in debug (Modtest) the following error is present:
DBG1 28262.28262 20180824:114359 sodbc.oracle.exec - cociCursorExec(): SQL is CREATE GLOBAL TEMPORARY TABLE t_database ON COMMIT PRESERVE ROWS AS SELECT * FROM v$database UNKN 28262.28262 20180824:114359 sodbc.oracle.exec - cociCursorExec(): error executing statement: 1031; ORA-01031: insufficient privileges ; SQL was CREATE GLOBAL TEMPORARY TABLE t_database ON COMMIT PRESERVE ROWS AS SELECT * FROM v$database DBG2 28262.28262 20180824:114359 sodbc.oracle.exec - cociCloseCursor(): transaction count zero, committing UNKN 28262.28262 20180824:114359 agent.mod.rman - createTempTablesForVirtualViews(): Failed to create temporary ORA table: ORA-01031: insufficient privileges
Cause
Resolution
"grant create any table limited_user;"
This will set the permissions on the user account so it can create and remove global temporary tables on the DB.
The requirement for these additional permissions is documented in the release notes for DPA 6.5.0 b12 and above.
Please contact Dell EMC Technical Support for further details or information.