LogMiner Dictionary Build Procedure Fails With ORA-01308 in 12.2

(Doc ID 2277747.1)

Last updated on JUNE 29, 2017

Applies to:

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


Getting the below error while trying to build the LogMiner dictionary file:

SQL> execute sys.dbms_logmnr_d.build(dictionary_filename => 'TSH1dict.ora',dictionary_location => '/home/oracle/regtest/');
BEGIN sys.dbms_logmnr_d.build(dictionary_filename => 'TSH1dict.ora',dictionary_location => '/home/oracle/regtest/'); END;

ERROR at line 1:
ORA-01308: dictionary directory is not set
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7750
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7406
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7305
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7698
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7764
ORA-06512: at "SYS.DBMS_LOGMNR_INTERNAL", line 7912
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 12
ORA-06512: at line 1

UTL_FILE_DIR parameter is set to a valid location in this 12.2 environment:



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