Permission Denied Creating AWR Repository (Doc ID 2076388.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms


AWR repository creation fails with:

SQL> SQL> Connected.
SQL> SQL> SQL> BEGIN dbsnmp.mgmt_caw_extract.run_job_now; END;

*
ERROR at line 1:
ORA-20139: ERRORS DURING EXTRACT: ORA-20115: datapump export encountered error:
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file
"/opt/oralocal/agent12c/agent_inst/1_23B9B05BDFC15E98E053696D6503FEBE_2098102118
_7161_7179.dmp"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 13: Permission denied
Additional information: 1
ORA-06512: at "DBSNMP.MGMT_CAW_EXTRACT", line 535
ORA-06512: at line 1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms