Skip to content

Fatih Acar's blog

About of Database Systems and Information Technologies

Menu
  • Home
  • About Me
  • Contact Me
Menu

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-01300 to ORA-01400

Posted on 09/08/201612/12/2016 by Fatih Acar

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-01300 to ORA-01400

ORA-01300: writable database required for specified LogMiner options

Cause: Options were specified which required the database to be writable.

Action: Specify different options or open the database for write access.

ORA-01301: error writing to file during flat file build

Cause: Error writing to file during flat file build

Action: n/a

ORA-01302: dictionary build options missing or incorrect

Cause: Missing dictionary build options or incorrectly specified options

Action: Specify either a build to redo log or to flat file. If build to flat file, specify filename and directory.

ORA-01303: subordinate process error: string. Check alert and trace logs

Cause: A process subordinate to this Logminer process has exited with this error status.

Action: Search for this error in the alert log and trace files for additional information.

ORA-01304: subordinate process error. Check alert and trace logs

Cause: A process subordinate to this Logminer process has exited with an error condition.

Action: Look in the alert log and trace files for additional information.

ORA-01305: incompatible database character set

Cause: The database character set of the mining database was not a superset of the source database character set.

Action: Perform the mining operation on a database having a compatible database character set.

ORA-01306: dbms_logmnr.start_logmnr() must be invoked before selecting from v$logmnr_contents

Cause: A select was issued from v$logmnr_contents without first invoking the dbms_logmnr.start_logmnr() procedure.

Action: Invoke the dbms_logmnr.start_logmnr() procedure before issuing a select from the v$logmnr_contents view.

ORA-01307: no LogMiner session is currently active

Cause: A select was issued from v$logmnr_contents without first invoking the dbms_logmnr.start_logmnr() procedure. Otherwise, dbms_logmnr.end_logmnr() was called without a prior call to dbms_logmnr.start_logmnr() or dbms_logmnr.add_logfile()

Action: Invoke the dbms_logmnr.start_logmnr() procedure before issuing a select from the v$logmnr_contents view.

ORA-01308: dictionary directory is not set

Cause: The dictionary directory was not valid.

Action: Set the dictionary directory to an appropriate value.

ORA-01309: invalid session

Cause: The specified Logminer session ID or session handle is invalid.

Action: Use a valid Logminer session ID or session handle.

ORA-01310: requested return type not supported by the lcr_mine function

Cause: The return type requested by the user is not supported by lcr_mine”

Action: Pick a return type supported by the lcr_mine function”

ORA-01311: Illegal invocation of the mine_value function

Cause: An attempt was made to use mine_value function on a column other than redo_value or undo_value columns of SYS.X$LOGMNR_CONTENTS or SYS.V$LOGMNR_CONTENTS fixed table/view.

Action: Rewrite the SQL statement with a legal invocation of mine_value

ORA-01312: Specified table/column does not exist

Cause: The table/column specified in the lcr_mine call does not exist at the the specified SCN. The table/column definition has to exist at the start SCN specified for lcr_mine to be able to identify the table/column correctly.

Action: Create a LogMiner session at a start SCN at which the table definition is available.

ORA-01313: LogMiner dictionary column type different from specified type

Cause: The return type specified for the column in lcr_mine call is different from the actual type of the column.

Action: Rewrite the lcr_mine invocation with the right return type.

ORA-01314: Name of the column to be mined should be a string literal

Cause: The fully qualified name of the column to be mined by the LogMiner functions should be string literal.

Action: If the fully qualified name of the column to be mined is a.b.c.d, enclose the column name in quotes as in ‘a.b.c.d’.

ORA-01315: Log file has been added or removed during select

Cause: A redo log file has been added or removed while selecting on the v$logmnr_logs fixed view.

Action: Re-issue the SQL select statement on the v$logmnr_logs view.

ORA-01316: Already attached to a Logminer session

Cause: A Logminer attach session was issued while already attached to a Logminer session.

Action: Detach from the current Logminer session and attach to the requested session.

ORA-01317: Not attached to a Logminer session

Cause: A command or procedure was issued which requires an attached Logminer session.

Action: Attach to a Logminer session before issuing the command or procedure.

ORA-01318: incompatible national character set

Cause: The national character set of the mining database was not a superset of the source database national character set.

Action: Perform the mining operation on a database having a compatible national character set.

ORA-01319: Invalid Logminer session attribute

Cause: A session attribute was supplied which is invalid.

Action: Re-issue with valid session attribute.

ORA-01320: Invalid Logminer dictionar attribute

Cause: A Logminer dictionary attribute was supplied which is invalid.

Action: Re-issue with valid dictionary attribute.

ORA-01321: No Logminer Dictionary for requested start SCN

Cause: The requested session start SCN is less than the SCN of any available Logminer Dictionary build. It is not possible to unwind a Logminer Dictionary to the requested start SCN.

Action: Re-issue the start_logminer request with a start SCN for which a Logminer Dictionary is available.

ORA-01322: No such table

Cause: An non-existent table was supplied to Logminer include_src_tbl() or exclude_src_table().

Action: Re-issue with valid table name.

ORA-01323: Invalid state

Cause: A Logminer routine was called from the wrong state.

Action: n/a

ORA-01324: cannot add file string due to DB_ID mismatch

Cause: The logfile is produced by a different database than other logfiles already added to the list.

Action: Specify a logfile produced by the same database.

ORA-01325: archive log mode must be enabled to build into the logstream

Cause: Database does not have archivelog mode enabled.

Action: Mount the database, then issue commands to enable archivelog mode. startup pfile=init.ora mount alter database archivelog alter database open

ORA-01326: compatability of 9.0 or greater required to build into the logstream

Cause: Compatibility mode set to some value less than 9.0

Action: Ensure that init.ora parameter establishing a compatability of 9.0 or greater is set. For example: compatible=9.0.0.0.0

ORA-01327: failed to exclusively lock system dictionary as required by build

Cause: Other users are performing DDL operations.

Action: n/a

ORA-01328: only one build operation may occur at one time

Cause: Another processes is simultaneously attempting to run build();

Action: Wait until the other processes completes.

ORA-01329: unable to truncate required build table

Cause: The table may be missing, or locked by another user.

Action: n/a

ORA-01330: problem loading a required build table
ORA-01331: general error while running build
ORA-01332: internal Logminer Dictionary error

Cause: Unexpected error condition

Action: Check trace and/or alert logs

ORA-01333: failed to establish Logminer Dictionary

Cause: No previously established Logminer Dictionary is available and a complete gather of a source system data dictionary was not found in the logstream. build() may not have been run to force the gathering of a source system data dictiony. Or add_log_file() may not have been called to add all log files which contain the complete gathered system data dictionary.

Action: If build() was not employed prior to this mining session the Logminer Ad Hoc user may elect to employ an alternate dictionary such as the current system catalog or a previously built flat file dictionary. Other Logminer clients must run build() prior to mining. If build() has been run, ensure that all logfiles which comprise the gathered system dictionary have beed added. The following query, run on the system which build() was run, can be helpful in identifying the requried files. select DICTIONARY_BEGIN, DICTIONARY_END, name from v$archived_log; Minimally a set of files beginning with one which has DICTIONARY_BEGIN = ‘YES’ and all following log files through one marked DICTIONARY_END = ‘YES’ must be added.

ORA-01334: invalid or missing logminer dictionary processes context

Cause: Unexpected internal error condition

Action: n/a

ORA-01335: feature not yet implemented
ORA-01336: specified dictionary file cannot be opened

Cause: The dictionary file or directory does not exist or is inaccessible.

Action: Make sure that the dictionary file and directory exist and are accessible.

ORA-01337: log file has a different compatibility version

Cause: The logfile has a different compatibility version then the rest of the logfile in the session”

Action: Make sure that the logfile has the same compatibility version as the rest of the logfiles in the session.

ORA-01338: Other process is attached to LogMiner session

Cause: Can not do this when other process is attached to LogMiner session.

Action: n/a

ORA-01339: LogMiner BUILD: Error copying system catalog metadata to LogMiner dictionary

Cause: Unexpected result while accessing system catalog metadata.

Action: Check the alert log.

ORA-01340: NLS error

Cause: Could not load NLS package.

Action: n/a

ORA-01341: LogMiner out-of-memory

Cause: The LogMiner session requires more system resources than is currently available.

Action: Allocate more SGA for LogMiner.

ORA-01342: LogMiner can not resume session due to inability of staging checkpointed data

Cause: Logmnr can not resume session because there is not enough SGA memory available to read in checkpointed data. Logminer periodically checkpoints data to enable faster crash recovery.

Action: Specify a bigger max_sga for the given LogMiner session and try again.

ORA-01343: LogMiner encountered corruption in the logstream

Cause: Log file is missing a range of scn values.

Action: Verify the contiguity of the scn range reprented by the log files added to LogMiner.

ORA-01344: LogMiner coordinator already attached

Cause: A coordinator process is already attached to the specified logminer context.

Action: Detach from the active coordinator session and retry the attach.

ORA-01345: Must be a LogMiner coordinator process

Cause: A LogMiner client attempted to perform a privileged operation.

Action: Issue the operation from the coordinator process.

ORA-01346: Oracle LogMiner processed redo beyond primary reset log SCN string

Cause: Oracle LogMiner detected a new branch with reset log SCN information prior to redo already mined.

Action: If running inside SQL Apply, retrieve standby reset SCN by executing DBMS_LOGSTDBY.MAP_PRIMARY_SCN (primary reset log SCN). And, execute FLASHBACK STANDBY DATABASE [<database_name>] TO BEFORE SCN standby reset SCN. Note: If the primary reset log SCN is 0, then intermediary log files are missing. Check the primary database for missing log files. In other scenarios, contact Oracle Support Services.

ORA-01347: Supplemental log data no longer found

Cause: The source database instance producing log files for this LogMiner session was altered to no longer log supplemental data.

Action: Destroy this Logminer session. Re-enable supplemental log data on the source system and create a new LogMiner session.

ORA-01348: LogMiner testing event
ORA-01349: LogMiner tracing event
ORA-01350: must specify a tablespace name

Cause: Invocation failed to specify a valid tablespace

Action: Reformat invocation of DBMS_LOGMNR_D.SET_TABLESPACE to include the name of a valid tablespace.

ORA-01351: tablespace given for Logminer dictionary does not exist

Cause: The tablespace name given as a parameter to DBMS_LOGMNR_D.SET_TABLESPACE does not exist.

Action: Check spelling of the tablespace name. If spelling is correct verify that the named tablespace has already been created. DBMS_LOGMNR_D.SET_TABLESPACE does not create a tablespace.

ORA-01352: tablespace given for Logminer spill does not exist

Cause: The tablespace name given as the parameter to DBMS_LOGMNR_D.SET_TABLESPACE does not exist.

Action: Check spelling of the tablespace name. If spelling is correct verify that the named tablespace has already been created. DBMS_LOGMNR_D.SET_TABLESPACE does not create a tablespace.

ORA-01353: existing Logminer session

Cause: An attempt was made to execute DBMS_LOGMNR_D.SET_TABLESPACE while a Logminer session(s) was active.

Action: First cause all Logminer sessions to be closed. A Logminer session can exist as a result of executing DBMS_LOGMNR.START_LOGMNR or as the result of using Oracle features such as Data Guard SQL Apply or Streams which use Logminer. Next, execute DBMS_LOGMNR_D.SET_TABLESPACE.

ORA-01354: Supplemental log data must be added to run this command

Cause: An attempt was made to perform an operation that required that supplemental log data be enabled.

Action: Execute a command such as ALTER DATABASE ADD SUPPLEMENTAL LOG DATA; and then reissue the command that failed with this error.

ORA-01355: logminer tablespace change in progress

Cause: The tables used by logminer are in the process of being moved to another tablespace.

Action: Wait until the move is complete and try again.

ORA-01356: active logminer sessions found

Cause: Logminer sessions are currently active.

Action: End all logminer sessions and retry.

ORA-01358: LogMiner version is less than mined dictionary version

Cause: An attempt was made to mine a LogMiner dictionary from redo logs. The version of the Oracle database that created the logs was higher than the Oracle database version that attempted to mine the logs.

Action: Mine the logs using a newer version of the Oracle database having a version number that is equal to or greater than the dictionary version.

ORA-01360: invalid token
ORA-01361: global name mismatch

Cause: The database global name where the log file was generated did not match the user-specified global name of the Streams Capture process.

Action: Start a new capture process and ensure that the user-specified global name matches that of the database that generated the log file.

ORA-01362: Specified SQL_REDO_UNDO parameter is invalid

Cause: The specified input value for the parameter was not a valid number.

Action: Specify a valid number and try again.

ORA-01363: Specified COLUMN_NAME parameter is NULL

Cause: NULL was specified for input value of parameter.

Action: Specify a non-NULL value and try again.

ORA-01364: waiting for branch at SCN string

Cause: LogMiner reader process has completed mining of physical standby terminal logs up to the stop SCN. LogMiner reader is now waiting for logs from the new branch.

Action: No action necessary. This informational statement is provided to record the event for diagnostic purposes. If there is a problem with log transport, the files can be registered manually using the ALTER DATABASE REGISTER LOGICAL LOGFILE statement.

ORA-01365: waiting for new branch registration

Cause: LogMiner reader process has completed mining of physical standby terminal logs up to the stop SCN. The builder process is now waiting for logs from the new branch to be registered before continuing.

Action: No action necessary. This informational statement is provided to record the event for diagnostic purposes. If there is a problem with log transport, the files may be registered manually using the ALTER DATABASE REGISTER LOGICAL LOGFILE statement.

ORA-01366: failed to find redo logs required for terminal apply

Cause: LogMiner failed to find all the expected log files required to complete the terminal apply, requested using the FINISH APPLY clause. During terminal apply, LogMiner does not wait for logs to be registered. It expects all logs between the starting point and the last log on any redo branch that it will or could mine through, to be present at the mining site.

Action: Examine system.logmnr_log$ to see which logs are known to LogMiner. Then, locate or restore any missing logs and use the ALTER DATABASE REGISTER LOGICAL LOGFILE statement to register them. Alternatively, do not use the FINISH APPLY clause, but if activating a logical standby, only do this when you are sure that the missing log files can not be located and registered as this can lead to data loss.

ORA-01370: Specified restart SCN is too old

Cause: specified restart scn is too old, logmnr could not find a proper checkpoint.

Action: Specify a bigger restart SCN to try again

ORA-01371: Complete LogMiner dictionary not found

Cause: One or more log files containing the LogMiner dictionary was not found.

Action: Add into LogMiner all log files containing the dictionary.

ORA-01372: Insufficient processes for specified LogMiner operation

Cause: The number of processes requested by the caller can not be allocated

Action: Increase number of parallel servers allocated to the instance

ORA-01373: insufficient memory for staging persistent LogMiner session

Cause: The maximum number of concurrent persistent LogMiner sessions allowed is limited by LOGMNR_MAX_PERSISTENT_SESSIONS parameter. Not enough memory has been set aside at instance startup to allocate the new LogMiner session.

Action: Increase LOGMNR_MAX_PERSISTENT_SESSIONS and restart instance.

ORA-01374: _log_parallelism_max greater than 1 not supported in this release

Cause: LogMiner does not mine redo records generated with _log_parallelism_max set to a value greater than 1.

Action: n/a

ORA-01375: Corrupt logfile string recovered

Cause: A corrupt logfile has been recovered by RFS

Action: None. Logical Standby should automatically restart. If logfile is still corrupt, may need to manually copy and reregister the logfile on the standby.

ORA-01376: cannot add file string due to unsupported redo compatibility setting

Cause: The redo compatibility setting of the log file was unsupported by LogMiner.

Action: Specify a log file produced with a redo compatibility setting supported by LogMiner.

ORA-01377: Invalid log file block size

Cause: An invalid value was specified in the BLOCKSIZE clause.

Action: Use correct syntax.

ORA-01378: The logical block size (string) of file string is not compatible with the disk sector size (media sector size is string and host sector size is string)

Cause: One of the following occurred: (1) An attempt was made to create a file. (2) A file was moved to disks with different sector size.

Action: Create file or move file to the proper disk.

ORA-01379: LogMiner testing event
ORA-01380: Instance string (thread string) has less than two string block size log files

Cause: One of the following occurred: (1) An attempt was made to switch to specified block size logs for all threads. (2) An attemp was made to open a thread.

Action: Add log files to the thread that signals error, and try again.

ORA-01381: Dropping log string would leave less than two log files with block size string for instance string (thread string)

Cause: The database was migrated to use a specified log block size. Dropping all the logs specified would leave fewer than the required two log files with the specified block size per enabled thread.

Action: Either drop fewer logs or disable the thread before deleting the logs. It may be possible to clear the log rather than drop it.

ORA-01382: Thread string failed to open log file string. The log file’s block size (string) is larger than the disk sector size (string)

Cause: Log file was created on bigger sector disks, and moved to smaller sector disks.

Action: Move the log file back to bigger sector disks.

ORA-01383: Thread string failed to open string block size log file ‘string‘ on string sector native-mode disks

Cause: Log file was copied from smaller sector disks to larger sector native-mode disks.

Action: Move the log file back to smaller sector disks.

ORA-01397: file name too long to shrink without truncation

Cause: An attempt was made to automatically convert the control file created with maximum file name size value of 512 to 256. This could result in truncation of file names leading to loss of uniqueness among file names.

Action: One of the following can be done: 1) Change the _kccacb parameter value to ‘reject’ which will ignore the automatic conversion without returning this error. 2) Shorten the file names in the system where the control file was created to conform to the maximum file name length in the current system.

ORA-01398: LogMiner public event
ORA-01399: LogMiner public event
ORA-01400: cannot insert NULL into (string)

Cause: An attempt was made to insert NULL into previously listed objects.

Action: These objects cannot accept NULL values.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.



View Fatih ACAR's profile on LinkedIn

Categories

  • Databases (329)
    • MsSQL Server (18)
      • Administration (16)
      • Errors and Solutions (4)
      • SQL (2)
    • MySQL (5)
      • Administration (4)
      • Backup And Recovery (1)
      • Errors and Solutions (1)
    • Oracle (290)
      • Administration (79)
      • Backup And Recovery (29)
      • Errors and Solutions (195)
      • Procedure (10)
      • SQL (32)
    • PostgreSQL (16)
      • Administration (15)
      • Errors and Solutions (3)
      • SQL (2)
    • Redis (1)
  • Microsotf Dynamics CRM (1)
  • Operating Systems (47)
    • Linux & Unix (34)
    • Windows (13)
  • Programing (5)
    • Python (5)
  • SAP (15)
    • Errors and Solutions (4)
    • SAP Basis (12)
  • Security (8)
    • Database Security (6)
    • Information Security (1)
    • System Security (4)
  • VMware (4)

Recent Posts

  • Redis 7 Sentinel Infrastructure Installation
  • Oracle Database 19c Multi Data Guard and DML Redirect, Switchover-Failover Operations on Oracle Linux 8
  • Oracle Database 23ai Free Installation Steps on Oracle Linux 9
  • Oracle Database 19c Active Data Guard Installation and DML Redirect, Switchover-Failover Operations on Oracle Linux 8
  • Oracle Database 19c Installation and 19.22 RU Patch Apply on Oracle Linux 8

Resources

  • Oracle
  • PostgreSQL

Blogroll

  • Gökhan Atıl
  • H. Koray Gündüz
  • Hakan Talip Öztürk
  • Zekeriya Beşiroğlu

Web Pages

  • BT Çözümleri

Tag Cloud

Administration Backup and Recovery Cluster Systems Database Administration Database Security Linux Linux Administration MsSQL Server MsSQL Server Error and Solutions MySQL MySQL Administration ORA-00018 ORA-00020 Oracle Oracle 12c Oracle 19c Oracle Administration Oracle Backup and Restore Oracle Data Guard Oracle Data Guard Failover Oracle Data Guard Switchover Oracle Error Solutions Oracle Linux Oracle Rman Backup Oracle Security Oracle SQL Query PostgreSQL PostgreSQL Administration PostgreSQL High Availability PostgreSQL Hot Standby Python SAP Basis Sap Errors and Solutions Sap System Administration SQL SQL Server Administration SQL Server Availability Group Stored Procedure System Administration System Security VMware VMware Administration Windows Windows Batch Script Windows Server

Social

  • View facar1987’s profile on Twitter
  • View facar’s profile on LinkedIn

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 17 other subscribers
©2026 Fatih Acar's blog | Built using WordPress and Responsive Blogily theme by Superb