Quantcast
Channel: Oracle Error Solutions – Fatih Acar's blog
Viewing all 67 articles
Browse latest View live

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

ORA-19000: missing RELATIONAL keyword

Cause: The keyword RELATIONAL in the work OBJECT RELATIONAL is missing in the XMLTYPE storage clause specification.

Action: Supply the RELATIONAL keyword in the storage clause

ORA-19001: Invalid storage option specified

Cause: An invalid storage option was specified for the XMLType.

Action: Supply a valid storage option.

ORA-19002: Missing XMLSchema URL

Cause: A XML schema URL must be specified in the storage option.

Action: Specify a URL for the XMLSchema.

ORA-19003: Missing XML root element name

Cause: A root element in the XMLSchema must be specified if the XML schema is given.

Action: Specify a root element in the XML schema.

ORA-19004: Duplicate XMLType OBJECT RELATIONAL storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19005: Duplicate XMLType LOB storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19006: XMLType TYPE storage option not appropriate for storage type

Cause: The TYPE option can only be used in case of OBJECT RELATIONAL storage option

Action: Remove the TYPE option or specify an OBJECT RELATIONAL storage for the XMLType column

ORA-19007: Schema string does not match expected string.

Cause: The given XML document conformed to a different schema than expected.

Action: Insert/Update only the XML documents that conform to that particular schema.

ORA-19008: Invalid version of the XMLType

Cause: An invalid version of the XMLType was found.

Action: This is possibly due to data corruption or an internal error or running an older client against a newer version of the database. Ensure that the version of the client can understand the XMLType in the database.

ORA-19009: Missing XMLSchema keyword

Cause: The XMLSchema keyword is missing

Action: Specify the XMLSchema URL and element name.

ORA-19010: Cannot insert XML fragments

Cause: XML fragments got from extractNode cannot be inserted into the database.

Action: Convert the fragment into a proper XML document before insertion.

ORA-19011: Character string buffer too small

Cause: The string result asked for is too big to return back

Action: Get the result as a lob instead

ORA-19012: Cannot convert XML fragment to the required datatype

Cause: A conversion to a datatype was requested which cannot be performed

Action: The XMLType may contain fragments and other elements which cannot be converted to the appropriate datatype.

ORA-19013: Cannot create VARRAY columns containing XMLType

Cause: An attempt was made to create a VARRAY column which contains a XMLType

Action: You cannot store VARRAYs containing XMLTypes in tables. Use nested tables instead

ORA-19015: Invalid XML tag identifier (string)

Cause: An invalid XML identifer was detected during XML generation

Action: Fix the offending tag to not contain characters or symbols that are not allowed by the XML specification

ORA-19016: attributes cannot occur after element specifications

Cause: Attributes specified using the “@” identifier can only occur before any other element definition when creating XML

Action: Change the order of the types so that the attributes occur in the begining

ORA-19017: Attributes can only be simple scalars

Cause: Attribute values can only be simple scalar values

Action: Use only simple datatypes for attribute values

ORA-19018: Invalid character in XML tag ‘string

Cause: A tag name was found to have an invalid XML character during XML generation.

Action: Rewrite the query so that the generated XML tag, corresponding to a column name or alias, contains only valid characters.

ORA-19019: Invalid context passed to DBMS_XMLGEN.GETXML

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19020: invalid dereference of XMLType columns

Cause: An attempt was made to dereference the attributes of an XMLType column which is not part of a base table

Action: You can only dereference the attributes of a base table XMLType column

ORA-19022: Unoptimized XML construct detected.

Cause: The XMLOptimizationCheck variable was enabled and an unrewritten XML construct was detected. This prevents execution of the XML construct.

Action: Ensure that the XML construct is being optimized. See the trace file for further information. Disable the XMLOptimizationCheck variable if you want the unoptimized XML operation to be executed.

ORA-19023: The first argument to UPDATEXML operator has to be an XMLTYPE

Cause: The first argument passed to the update value operator was not an XMLTYPE.

Action: Rewrite the query so that the first argument to the UPDATEXML operator is XMLTYPE.

ORA-19024: Cursor expression must be named

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19025: EXTRACTVALUE returns value of only one node

Cause: Given XPath points to more than one node.

Action: Rewrite the query so that exactly one node is returned.

ORA-19026: EXTRACTVALUE can only retrieve value of leaf node

Cause: Given XPath does not point to a leaf node.

Action: Rewrite the query so that a leaf node is returned.

ORA-19028: Invalid ADT parameter passed to toObject() function

Cause: The object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type.

Action: Pass an object of the correct type to toObject().

ORA-19029: Cannot convert the given XMLType to the required type

Cause: The passed in XMLType could not be convert to the required type

Action: Binary XMLtype instances or other objects cannot be converted to the required object or collection types.

ORA-19030: Method invalid for non-schema based XML Documents.

Cause: The method can be invoked on only schema based xmltype objects.

Action: Don’t invoke the method for non schema based xmltype objects.

ORA-19031: XML element or attribute string does not match any in type string.string

Cause: The passed in XML tag does not match any in the object type

Action: Pass a valid canonical XML that can map to the given object type

ORA-19032: Expected XML tag string got string

Cause: When converting XML to object, a wrong tag name was present

Action: Pass a valid canonical XML that can map to the given object type

ORA-19033: schema specified in the XML document does not match the schema parameter

Cause: When creating schema-based XML, the schema specified in the XML document is different from the schema passed in as the ‘schema’ parameter.

Action: Change the schema parameter to match the schema specified in the XML document.

ORA-19034: Type not supported during schema generation

Cause: The object type contained a type that is not supported for schema generation.

Action: Use a different type or do not generate a schema.

ORA-19035: Invalid select item of the query in newContextFromHierarchy()

Cause: The query did not have a number select item followed by an XMLType select item only.

Action: Ensure that the result set of the query used in the newContextFromHierarchy() function has only two selected items: the first item must be number type and the second item must be XMLType.

ORA-19036: Invalid query result set in newContextFromHierarchy()

Cause: The result set of the query used in the newContextFromHierarchy() function did not have the same property as the result set generated by a CONNECT BY query.

Action: Ensure that the query used in the newContextFromHierarchy() function is a CONNECT BY query or that the query returns a result set having the same property as the result set generated by a CONNECT BY query.

ORA-19037: XMLType result can not be a fragment

Cause: The select item of the query in the newContextFromHierarchy() function was an XML fragment.

Action: Ensure that the select item of the query in the newContextFromHierarchy() function is not an XML fragment.

ORA-19038: Invalid opertions on query context

Cause: SetMaxRows, SetSkipRows, SetRowTagName opertions are applied to a query context created from newContextFromHierarchy().

Action: SetMaxRows, SetSkipRows, SetRowTagName opertions can not be applied to a query context created from newContextFromHierarchy().

ORA-19039: Keyword string reserved for future use

Cause: The keyword is reserved for future use as a builtin function.

Action: Change the name mentioned above to a different one.

ORA-19040: Element string does not match expected string.

Cause: The given XML document had a different root element than expected.

Action: Insert/Update only the XML documents that conform to that particular schema and element.

ORA-19041: Comment data cannot contain two consecutive ‘-‘s

Cause: The given comment string expression has two consecutive ‘-‘s.

Action: Modify comment string to eliminate one or both of the consevutive ‘-‘s.

ORA-19042: Enclosing tag string cannot be xml in any case combination

Cause: The given enclosing tag matched ‘xml’ in some case combination

Action: Modify the enclosing tag so that it is not xml in any case combination.

ORA-19043: Multiply nested XMLROOT function disallowed

Cause: An XMLROOT function has an operand that is also an XMLROOT function.

Action: Modify the query so that there are no multiply nested XMLROOT functions.

ORA-19044: character length specified for XMLSerialize is too small.

Cause: An XMLSerialize function was called with a type of character type (e.g. VARCHAR2(27)), and the length specified (27 in the example) was too small.

Action: Modify the query so that the character length specified is larger.

ORA-19045: character set id specified for XMLSerialize not valid

Cause: An XMLSerialize function was called with an invalid value for the caracter set id.

Action: Modify the query so that the character set id is valid.

ORA-19046: Out-of-line table cannot be shared by two top-level tables (table ‘string.string‘ and the current table being created).

Cause: An attempt was made to share an out-of-line table between two top-level tables.

Action: Use the existing top-level XML table.

ORA-19047: Cannot specify storage for individual VARRAYS

Cause: An attempt was made to combine storage specification for a particular VARRAY with STORE ALL VARRAYS clause.

Action: Either specify storage for individual VARRAYs or use the STORE ALL VARRAYS clause.

ORA-19048: Cannot specify VARRAY storage in tableProps

Cause: An attempt was made to store all varrays as tables or LOBs in tableProps.

Action: Do not specify varray store as tables or LOBs in tableProps.

ORA-19051: Cannot use fast path insert for this XMLType table

Cause: Error while trying to insert into an XMLType table using fast path insert.

Action: Set event 19049 to disable fast path insert and try again.

ORA-19055: Unsupported use of DISABLE XML EXCHANGE

Cause: The option, DISABLE XML EXCHANGE, was specified in a CREATE TABLE statement.

Action: Do not specify DISABLE XML EXCHANGE in a CREATE TABLE statement.

ORA-19057: Internal error: binary XML [string]

Cause: The operation failed due to an internal error.

Action: This is an internal error. Contact Oracle Support Services.

ORA-19058: Enabling XML exchange may cause data corruption.

Cause: An attempt was made to enable XML exchange for a binary XML column or table with a conflicting binary XML column or table.

Action: Use the XML exchange option only if at least one of the two involved tables is empty.

ORA-19059: XML exchange has not been enabled.

Cause: An attempt was made to disable XML exchange on a table that does not have XML exchange enabled.

Action: Use the disable XML exchange option only if the table already has XML exchange enabled.

ORA-19060: Operation disallowed on XML token set object

Cause: An attempt was made to perform a disallowed operation on a token set object for binary XML support.

Action: Do not perform the attempted operation on an XML token set object.

ORA-19061: Granular Token Set operations are not supported for tables.

Cause: An attempt was made to perform some Granular Token Set related operations on a non-binary XML table or on an older binary XML table.

Action: Do not perform the attempted operation unless tables support Granular Token Set options.

ORA-19062: XML exchange is already enabled.

Cause: An attempt was made to enable XML exchange on a table that had XML exchange already enabled.

Action: Use the disable XML exchange option only if the table has XML exchange disabled.

ORA-19063: Granular token table does not support schema-based storage.

Cause: An attempt was made to use granular token tables with schema-based storage.

Action: Use non-schema based storage for granular token tables.

ORA-19064: Tablespace has XML token set objects used in another tablespace.

Cause: The tablespace contained an XML token set object that was used by a binary XML table in a different tablespace and dropping it would cause some data to be lost.

Action: Move the XML token set object to a different tablespace.

ORA-19065: cannot drop tablespace with XML token set while XDB tablespace is offline

Cause: The tablespace contained an XML token set object but the metadata could not be read since the XDB default tablespace was offline. By dropping the tablespace, some data may be lost.

Action: Bring XDB default tablespace online.

ORA-19066: XML EXCHANGE is not enabled between the two tables.

Cause: The two tables specified in the EXCHANGE had different XML token sets. By exchanging partitions, some data might get corrupted.

Action: Enable XML EXCHANGE between the tables.

ORA-19067: Unable to create binary granular token on user default tablespace.

Cause: The user default tablespace was full.

Action: Increase the size of the user default tablespace.

ORA-19068: Disabling XML EXCHANGE creates token tables in the SYSTEM tablespace.

Cause: Either the table was in SYSTEM tablespace or it was partitioned and the default tablespace was SYSTEM. Granular token tables are forbidden on SYSTEM tablespace.

Action: Move the table to a different tablespace or change the default tablespace if the table is partitioned.

ORA-19069: Table is already exchanging XML with itself.

Cause: An XML exchange was performed with the same table.

Action: Do not enable XML exchange with the same table.

ORA-19070: cannot enable XML EXCHANGE in this type of table

Cause: XML EXCHANGE was not allowed in global temporary tables or external tables.

Action: Do not use a global temporary table or external table.

ORA-19071: Table does not have an XMLType stored as BINARY XML.

Cause: The table was not an XMLTable or did not have an XMLType column stored as BINARY XML.

Action: Use an XMLType or XMLTable stored as BINARY XML.

ORA-19072: Only STORE AS CLOB is supported with XMLType on the sharded table.

Cause: STORE AS CLOB was not specified with XMLType on the sharded table.

Action: Specify the STORE AS CLOB clause in the query.

ORA-19073: unsupported column type for granular token set enabled table

Cause: An attempt was made to add or modify a column with an unsupported type for a granular token set enabled table.

Action: Do not use user-defined Abstract Data Types (ADTs) or an ANYDATA column with granular token sets.

ORA-19074: Table does not have a granular token set.

Cause: The table was not used with a granular token set.

Action: Use an XMLType stored as BINARY XML with a granular token set.

ORA-19075: Failed to move the token table indexes. Run dbms_csx_admin.RebuildTokenTablesIndexes before using the table.

Cause: An attempt to move the indexes to the given tablespace failed.

Action: Run dbms_csx_admin.RebuildTokenTablesIndexes.

ORA-19076: cannot move the XML token set to tablespace where the table owner does not have privileges

Cause: The table owner did not have privileges in the given tablespace.

Action: Use a tablespace where the table owner has privileges.

ORA-19100: PASSING or RETURNING keyword expected

Cause: The keyword PASSING or RETURNING was missing.

Action: Specify the PASSING or RETURNING keyword.

ORA-19101: CONTENT keyword expected

Cause: The keyword CONTENT was missing.

Action: Specify the CONTENT keyword.

ORA-19102: XQuery string literal expected

Cause: The string literal containing the XQuery expression was missing.

Action: Specify the XQuery expression as a string literal.

ORA-19103: VALUE keyword keyword

Cause: The keyword VALUE was missing.

Action: Specify the VALUE keyword.

ORA-19104: invalid XQueryX: missing attribute string

Cause: The XQueryX expression was not assigned the expected attribute.

Action: Specify a valid XQueryX.

ORA-19105: invalid XQueryX: expected text node – got string

Cause: The XQueryX expression did not contain a text node as expected.

Action: Specify a valid XQueryX.

ORA-19106: invalid XQueryX: expected string – got string

Cause: The XQueryX expression did not contain the node as expected.

Action: Specify a valid XQueryX.

ORA-19107: invalid XQueryX – unsupported construct – string

Cause: The given XQuery expression contains an unsupported construct.

Action: Specify a valid XQueryX.

ORA-19108: WHITESPACE keyword expected

Cause: The keyword WHITESPACE was missing.

Action: Specify the WHITESPACE keyword.

ORA-19109: RETURNING keyword expected

Cause: The keyword RETURNING was missing.

Action: Specify the RETURNING keyword.

ORA-19110: unsupported XQuery expression

Cause: The program specified an XQuery expression that is not supported.

Action: Rewrite the XQuery with a expression that is supported.

ORA-19111: error during evaluation of the XQuery expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19112: error raised during evaluation: string

Cause: The error function was called during evaluation of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19113: trace function called during evaluation: string

Cause: The trace function was called during evaluation of the XQuery expression.

Action: Check the log file for the trace message.

ORA-19114: XPST0003 – error during parsing the XQuery expression: string

Cause: An error occurred during the parsing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19115: too many context items specified

Cause: More than one context item was specified as input to the XMLQuery function.

Action: Specify a single context item for the XMLQuery function.

ORA-19116: too many xmlspace declarations

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19117: XQST0070 – invalid redefinition of predefined namespace prefix ‘string

Cause: The given predefined namespace was being redefined in a namespace declaration.

Action: Remove the namespace declaration that redefines the predefined namespace prefix.

ORA-19118: XQST0066 – duplicate default namespace definition – string

Cause: More than one default namespace declaration used the given namespace URI.

Action: Remove the duplicate default namespace definition.

ORA-19121: duplicate attribute definition – string

Cause: More than one attribute with the same name.

Action: Remove the duplicate attribute definition.

ORA-19122: unsupported XQuery declaration

Cause: The program specified an XQuery declaration that is not supported.

Action: Rewrite the XQuery with a declaration that is supported.

ORA-19123: FORG0003: fn:zero-or-one() called with a sequence containing more than one item

Cause: sequence with more than one item was passed into fn:zero-or-one() function

Action: correct input argument to fn:zero-or-one() function

ORA-19124: FORG0004: fn:one-or-more() called with a sequence containing no items

Cause: sequence containing no items was passed into fn:one-or-more() function

Action: correct input argument to fn:one-or-more() function

ORA-19125: FORG0005: fn:exactly-one() called with a sequence containing zero or more than one item

Cause: sequence containing zero or more than one item was passed into fn:exactly-one() function

Action: correct input argument to fn:exactly-one() function

ORA-19126: XQuery extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: No expression was enclosed in curly braces for the extension expression or the pragma content was not recognized.

Action: Correct inputs to extension expression.

ORA-19127: XQST0067: XQST0067: A static error is raised if a Prolog contains more than one construction declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19128: XQST0068: A static error is raised if a Prolog contains more than one boundary-space declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19129: XQST0069: A static error is raised if a Prolog contains more than one empty order declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19130: XQST0070: A static error is raised if the predefined namespace prefix xml or xmlns is redeclared by a namespace declaration or namespace declaration attribute

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19131: XQST0071: A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19132: XQDY0072: It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19133: XQST0073: It is a static error if the graph of module imports contains a cycle (that is, if there exists a sequence of modules M1 … Mn such that each Mi imports Mi+1 and Mn imports M1), unless all the modules in the cycle share a common namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19134: XQDY0074: It is a dynamic error if the value of the name expression in a computed element constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19135: XQST0075: An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19136: XQST0076: It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19137: XQST0079: It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19138: The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator “?”; otherwise a static error is raised

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19139: XPST0081: It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19140: XPST0083: It is a static error if the target type of a cast expression or constructor function is xs:QName or a type derived from xs:QName or xs:NOTATION, and the argument of the cast expression or constructor function is not a string literal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19141: XQDY0084: It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19142: FONC0001 = FONC0001: undefined context item

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19143: XQTY0086: It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19145: XQST0087: It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0]

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19146: XQST0088: It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19147: XQST0089: It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19148: XQST0090: It is a static error if a character reference does not identify a valid character in the version of XML that is in use

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19149: XQDY0091: An implementation may raise a dynamic error if an xml:id error, as defined in [XML ID], is encountered during construction of an attribute named xml:id

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19150: XQDY0092: An implementation may raise a dynamic error if a constructed attribute named xml:space has a value other than preserve or default

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19151: XQST0093: It is a static error to import a module M1 if there exists a sequence of modules M1 … Mi … M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19152: FOCH0001 = FOCH0001: codepoint not valid

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19153: FOCH0002: unsupported collation

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19154: FOCH0003: unsupported normalization form

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19155: FOCH0004: collation does not support collation units

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19156: FODC0001: no context document

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19157: FODC0002: error retrieving resource

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19158: FODC0004: invalid argument to fn:collection()

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19159: FODC0005: invalid argument to fn:doc

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19160: XPST0003 – syntax error: invalid variable name string

Cause: The given XQuery variable does not begin with the ‘$’ sign

Action: Fix the variable name to start with the “$” sign.

ORA-19161: XPTY0004 – XQuery type mismatch: invalid argument type ‘string‘ for function ‘string

Cause: The type of the argument that was passed to the given function was not valid.

Action: Fix the argument to be of a type supported by the given function.

ORA-19162: XPTY0004 – XQuery type mismatch: invalid argument types ‘string‘, ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19163: XPTY0004 – XQuery type mismatch: argument type mismatch: expected – ‘string‘ got – ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19164: XQST0085 – It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1].

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19165: FONS0003: no prefix defined for namespace

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19166: FONS0003: FONS0004: no namespace found for prefix

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19167: FONS0005: base uri not defined in the static context

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19168: FORG0002: invalid argument to fn:resolve-uri()

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19169: FORG0006: invalid argument type in ‘string

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19171: FORG0007: invalid argument to aggregate function

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19172: FORG0008: both arguments to fn:dateTime have a specified timezone

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19173: FORG0009: error in resolving a relative URI against a base URI in fn:resolve-uri

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19174: FORX0001: invalid regular expression flags

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19175: FORX0002: invalid regular expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19176: FORX0003: regular expression matches zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19177: FORX0004: invalid replacement string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19178: FOTY0001: type error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19179: FOTY0011: Type error. Context item is not a node

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19180: FOTY0012: argument node does not have a typed value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19181: FOTY0014: type exception

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19182: FORT0001: invalid number of parameters

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19183: FOTY0002: type definition not found

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19184: FOTY0021: invalid node type

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19185: FOAR0002: numeric operation overflow/unflow

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19186: FOCA0001: input value too large for decimal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19187: FOCA0002: invalid lexical value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19188: FOCA0003: input value too large for integer

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19189: FOCA0005: NaN supplied as float/double value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19190: FOER0000: Unidentified error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19191: FOAR0001: division by zero

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19192: XQST0047: It is a static error if multiple module imports in the same Prolog specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19193: XQST0045: It is a static error if the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/04/xpath-functions, http://www.w3.org/2005/04/xpath-datatypes

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19194: XQDY0026: It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string “?>”

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19195: Invalid policy in ora:contains

Cause: An invalid policy was specified in ora:contains.

Action: Rename the policy name, policy schema name, or do not specify any policy to pick up default policy.

ORA-19196: XMLType table or view is not allowed with this form of fn:collection

Cause: The table or view specified in fn:collection was of XMLType.

Action: XMLType table or view is not allowed in the form of fn:collection(‘oradb:/schema/table/ROW/column’). It has to be a relational table or view.

ORA-19197: Column not found or invalid column type with this form of fn:collection

Cause: The column to be retrieved was not found or was not of XMLType.

Action: The column to be retrieved in the form of fn:collection(‘oradb:/schema/table/ROW/column’) or fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) has to be of XMLType.

ORA-19198: Column not found or invalid column specified in the predicate with this form of fn:collection

Cause: The column specified in the predicate was not found or was not allowed.

Action: The column specified in the predicate in the form of fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) cannot be of XMLType.

ORA-19199: too many levels of nesting

Cause: An XQuery expression contained too many levels of nesting parentheses.

Action: Reduce the level of nesting parentheses.

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

 

5 total views, no views today


Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

ORA-19201: Datatype not supported

Cause: The particular datatype is not supported in the XMLGEN operator

Action: Specify only supported datatypes as arguments to the XMLGEN operator

ORA-19202: Error occurred in XML processingstring

Cause: An error occurred when processing the XML function

Action: Check the given error message and fix the appropriate problem

ORA-19203: Error occurred in DBMS_XMLGEN processingstring

Cause: An error occurred when processing the DBMS_XMLGEN functions

Action: Check the given error message and fix the appropriate problem

ORA-19204: Non-scalar value ‘string‘ is marked as XML attribute

Cause: Only scalar values (i.e. values which are not of object or collection type) can be marked as XML attribute,i.e. is prefixed by ‘@’. In this case, a non-scalar value was prefixed with ‘@’

Action: Remove the ‘@’ sign, or make the value a scalar.

ORA-19205: Attribute ‘string‘ qualifies a non-scalar value in the select list

Cause: The attribute immediately follows a value of object or collection type in the select list or type definition.

Action: Remove the ‘@’ sign, or make the previous value a scalar.

ORA-19206: Invalid value for query or REF CURSOR parameter

Cause: The queryString argument passed to DBMS_XMLGEN.newContext was not a valid query, or REF CURSOR.

Action: Rewrite the query so that the queryString argument is a valid query or REF CURSOR.

ORA-19207: scalar parameter string of XMLELEMENT cannot have an alias.

Cause: The scalar parameter to XMLELEMENT has been qualified with an alias.

Action: Remove the AS clause of the scalar element.

ORA-19208: parameter string of function string must be aliased

Cause: The indicated parameter of the XML generation function has not been aliased, although it is an expression.

Action: Specify an alias for the expression using the AS clause.

ORA-19209: invalid or unsupported formatting argument

Cause: An invalid or unsupported formatting argument was supplied

Action: Change the formatting argument to legal supported values

ORA-19210: column ‘string‘, specified to be a key or update column for DBMS_XMLSTORE, does not not exist in table ‘string

Cause: The column specified using setKeyColumn()/setUpdateColumn() did not exist in the table.

Action: Change the column specified to be a column in the table

ORA-19211: column ‘string‘, specified as key using DBMS_XMLSTORE.setKeyColumn() , must be of scalar type

Cause: The column specified using setKeyColumn() was a non-scalar type column.

Action: Change the column specified to be a scalar column in the table

ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()

Cause: No columns were specified as key columns before the call to DBMS_XMLSTORE.updateXML.

Action: Use DBMS_XMLSTORE.setKeyColumn() to specify key columns

ORA-19213: error occurred in XML processing at linesstring

Cause: An error occurred when processing the given lines in an XML function.

Action: Check the given error message and fix the appropriate problem.

ORA-19221: XPST0001 – XQuery static context component string not initialized

Cause: An unitialized static context component was encountered during the static analysis of the expression.

Action: initialize the given static context.

ORA-19222: XPDY0002 – XQuery dynamic context component string not initialized

Cause: An unitialized dynamic context component was encountered during the evaluation of the expression.

Action: Initialize the particular dynamic context component.

ORA-19223: XPST0003 – syntax error in XQuery expression

Cause: The given XQuery expression contains syntax errors.

Action: Fix the syntax error in the XQuery expression.

ORA-19224: XPTY0004 – XQuery static type mismatch: expected – string got – string

Cause: The expression could not be used because it’s static type is not appropriate for the context in which it was used.

Action: Fix the expression to be of the required type or add appropriate cast functions around the expression.

ORA-19225: XPST0005 – XQuery static type error: expected non empty type got empty sequence

Cause: The static type assigned to an expression other than the () expression must not be the empty type.

Action: Fix the expression so it does not return empty sequences.

ORA-19226: XPTY0006 – XQuery dynamic type mismatch: expected string got string

Cause: The expression could not be used because it’s dynamic type did not match the required type as specified by XQuery sequencetype matching rules.

Action: Fix the expression to return the expected type or use appropriate cast functions.

ORA-19227: XPTY0007 – fn:data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content.

Cause: The input node for atomization contained a type annotation that denoted a complex type with non-mixed complex content.

Action: Fix the input expression to fn:data to be a node that does not contain non-mixed complex content.

ORA-19228: XPST0008 – undeclared identifier: prefix ‘string‘ local-name ‘string

Cause: The given identifier refers to either a type name, function name, namespace prefix, or variable name that is not defined in the static context.

Action: Fix the expression to remove the identifier, or declare the appropriate variable, type, function or namespace.

ORA-19229: XQST0009 – schema import not supported

Cause: A schema import was encountered in the query.

Action: remove the schema import.

ORA-19230: XPST0010 – unsupported axis string

Cause: An unsupported axis was encountered in the given expression.

Action: Remove the unsupported axis from the expression.

ORA-19231: XPST0011 –
ORA-19232: XQST0012 – imported schemas violate validity rules

Cause: The imported schemas did not satisfy the conditions for schema validity specified in the XMLSchema specification.

Action: Fix the imported schemas to satisfy the validity rules.In particular, the definitions must be valid, complete, and unique — that is, the pool of definitions must not contain two or more schema components with the same name and target namespace.

ORA-19233: XQST0013 – invalid pragma

Cause: A pragma was specified whose contents are invalid.

Action: Specify the pragma with the correct contents.

ORA-19234: XQST0014 – invalid or unsupported must-understand extension

Cause: The must-understand extension specified was either invalid or unsupported.

Action: remove the unsupported must-understand extension or fix the error.

ORA-19235: XQST0015 – unsupported must-understand extension

Cause: The XQuery flagger was enabled and the query contained a must-understand extension.

Action: remove the unsupported must-understand extension.

ORA-19236: XQST0016 – module declaration or import not supported

Cause: The given query had a module declaration or module import.

Action: Remove the import module or module declaration.

ORA-19237: XPST0017 – unable to resolve call to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19238: XPTY0018 – It is a type error if the result of the last step in a path expression contains both nodes and atomic values

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19239: XPTY0019 – It is a type error if the result of an step (other than the last step) in a path expression contains an atomic value

Cause: The step expression returned a sequence containing an atomic value.

Action: Fix the path expression to return only nodes.

ORA-19240: XPTY0020 – context item must be node in an axis expression

Cause: The context item that was used in the axis epression is not a node.

Action: Change the context item to be a node.

ORA-19241: XPDY0021 – cast to type string failed

Cause: The value inside a cast expression could not be cast to the required type.

Action: Fix the input to the cast expression to be of a castable type.

ORA-19242: XQST0022 – namespace declaration attribute must be a literal

Cause: The namespace declaration attribute was not a literal string.

Action: Fix the namespace declaration to be a literal string.

ORA-19243: XQTY0023 – invalid document node content in element constructor

Cause: The content sequence in an element constructor contained a document node.

Action: Change the content of the element constructor so that it does not contain a document node.

ORA-19244: XQTY0024 – invalid attribute node in element constructor

Cause: The content sequence in an element constructor contained an attribute node following a node that was not an attribute node.

Action: Change the content sequence of the element constructor so that it does not contain the attribute node.

ORA-19245: XQDY0025 – duplicate attribute name string

Cause: The content sequence of the element constructor contained more than one attribute that had the same name.

Action: Remove the duplicate attributes.

ORA-19246: validation failed – element string not found in in-scope element declarations

Cause: The validation mode was strict and the element-constructor contained an element name that was not present in the in-scope element declarations.

Action: Fix the validation mode to be lax or import the schema definition that contains the required element declaration.

ORA-19247: XQDY0027 – validation error

Cause: An error was encountered during the validation of the expression.

Action: Fix the validation error.

ORA-19248: XQTY0028 – invalid node in document constructor

Cause: The content sequence in a document constructor contained either a document or an attribute node.

Action: Fix the content so it does not contain any of the above node types.

ORA-19249: XQDY0029 – value does not match facet of the target type

Cause: The input value to a cast expression did not satisfy the facets of the target type.

Action: Fix the value to conform to the facets of the target type.

ORA-19250: XQTY0030 – too many values to validate expression

Cause: The argument of a validate expression returned more than one element or document node.

Action: Fix the argument of the validate expression to return a single element or document node.

ORA-19251: XQST0031 – unsupported query version

Cause: The query version specified in the prolog was not supported.

Action: Supply the version of the query that is supported.

ORA-19252: XQST0032 – too many declarations for base URI

Cause: The query prolog contained multiple declarations for the base URI.

Action: Remove the duplicate definitions for the base URI.

ORA-19253: XQST0033 – too many declarations for namespace prefix string

Cause: The query prolog contained multiple declarations for the same namespace prefix.

Action: Remove the duplicate definitions for the namespace prefix.

ORA-19254: XQST0034 – too many declarations for function string

Cause: The query module contained more than one function, either declared or imported, which have the same expanded QName.

Action: Remove the duplicate function definitions.

ORA-19255: XQST0035 – too many declarations of string in imported schemas

Cause: Two schemas were imported that defined the same name in the same symbol space and in the same scope.

Action: Fix the schema imports to remove the name conflict.

ORA-19256: XQST0036 – missing type definitions in imported module

Cause: A module was imported, which contains references to type names that are not defined in the in-scope type definitions inside the module.

Action: Fix the module definintion to include the in-scope type definition.

ORA-19257: XQST0037 – function or variable string in module already defined

Cause: A module being imported contained the function or variable that is already declared in the static context of the importing module.

Action: Remove the conflicting declarations.

ORA-19258: XQST0038 – unsupported or duplicate default collation specified

Cause: The query prolog prolog either specified more than one default collation or the collation specified was not supported.

Action: Remove the duplicate definition or specify a supported collation.

ORA-19259: XQST0039 – duplicate parameter name string in function declaration

Cause: The function declaration contained more than one parameter with the same name.

Action: Fix the function declaration to remove the duplicate parameters.

ORA-19260: XQST0040 – invalid namespace node in element constructor

Cause: The content sequence in an element constructor contained a namespace node node following a node that was not a namespace node.

Action: Remove the namespace node in the element constructor.

ORA-19261: XQDY0041 – non empty URI in QName

Cause: The name expression in a computed processing instruction or computed namespace constructor returned a QName whose URI part was not empty.

Action: Fix the processing instruction or computed namespace constructor to return the QName with an empty URI part.

ORA-19262: XQST0042 – namespace constructor not inside an element constructor

Cause: The enclosing expression of a computed namespace constructor was not a computed element constructor.

Action: Fix the namespace constructor to be inside an element constructor.

ORA-19263: XQST0043 – duplicate namespace prefix string

Cause: Two or more computed namespace constructors within the same computed element constructor attempted to bind the same namespace prefix.

Action: Remove the duplicate namespace definitions.

ORA-19264: XQDY0044 – invalid namespace in attribute constructors

Cause: A computed attribute constructor returned a QName that is in the pre-defined XML namespace (corresponding to namespace prefix xmlns).

Action: Change the namespace for the computed attribute constructor.

ORA-19265: XQST0045 – invalid or unknown prefix string in function declaration

Cause: The declared function name in a function declaration had no namespace prefix or had one of the predefined namespace prefixes other than local.

Action: Fix the function declaration to have the correct prefix.

ORA-19266: XQST0046 – invalid URI

Cause: The given URI contained a lexical form that was not valid according to the definition of xs:anyURI in XML Schema.

Action: Fix the URI.

ORA-19267: module string not found

Cause: The module with the given target URI could not be found.

Action: Fix the prolog to import only available modules.

ORA-19268: XQST0048 – namespace string does not match target namespace string

Cause: The module contained a function or variable whose namespace did not match the target namespace of the module.

Action: Fix the namespace of the function or variable to match the target namespace of the module.

ORA-19269: XQST0049 – variable string defined multiple times

Cause: The module defined or imported the same variable multiple times.

Action: Fix the import or the module definition to remove duplicate definitions.

ORA-19270: XPDY0050 – treat failed – expected string got string

Cause: The type of the operand to the treat expression did not match the required type.

Action: Fix the input operand to be of the correct type.

ORA-19271: XPST0051 – invalid atomic type definition

Cause: The QName used as an AtomicType in a SequenceType was not defined in the in-scope type definitions as an atomic type.

Action: Use the correct atomic type name.

ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor

Cause: The content of the element or attribute constructor included an atomic value that could not be cast into a string.

Action: Fix the content to contain atomic values that can be cast to a string.

ORA-19273: XQST0053 – empty string in namespace declaration

Cause: An empty string was used in a namespace declaration.

Action: Fix the namespace declaration to have a non-empty string.

ORA-19274: XQST0054 – variable initialization failed due to circularity

Cause: A circular definition was encountered when the variable was initialized.

Action: Remove the circularity in the initialization.

ORA-19275: XQST0055 – schema path string not found in list of in-scope schema definitions

Cause: The ElementTest specified a schema path that could not be found in the list of in-scope schema definitions.

Action: Include the appropriate schema that can be used to resolve the ElementTest.

ORA-19276: XPST0005 – XPath step specifies an invalid element/attribute name: (string)

Cause: The XPath step specified invalid element or attribute name that did not match any nodes according to the input XML schema or structure.

Action: Correct the element or attribute name as the name may be mis-spelled.

ORA-19277: XPST0005 – XPath step specifies an item type matching no node: (string)

Cause: The XPath step specified an item type that did not match any nodes according to the input XML schema or structure.

Action: Correct the item type defintion as node of such type does not exit in the input XML schema or structure.

ORA-19278: Invalid value: (string) for type: (string)

Cause: The value was invalid for the type.

Action: Correct the value or change the type.

ORA-19279: XPTY0004 – XQuery dynamic type mismatch: expected singleton sequence – got multi-item sequence

Cause: The XQuery sequence passed in had more than one item.

Action: Correct the XQuery expression to return a single item sequence.

ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node

Cause: A node was passed in to the expression where an atomic value was expected.

Action: Correct the XQuery expression to return an atomic value.

ORA-19281: XQST0055 – It is a static error if a Prolog contains more than one copy-namespaces declaration

Cause: The query prolog contained multiple copy-namespaces declarations.

Action: Remove the duplicate copy-namespaces declarations.

ORA-19282: XQST0068 – It is a static error if a Prolog contains more than one xmlspace declaration

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19283: XQST0031 – It is a static error if the version number specified in a version declaration is not supported by the implementation.

Cause: The query contained a version declaration not supported by this implementation.

Action: Change the version declaration to 1.0 which is the version supported by this implementation.

ORA-19284: Encoding specification in version declaration not supported

Cause: The query contained an encoding specification.

Action: Remove the encoding specification.

ORA-19285: FODC0002 – error retrieving resource

Cause: The URI provided could not be resolved to a valid resource.

Action: Provide a valid URI for a resource.

ORA-19286: XPST0017 – unable to resolve call to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19287: XPST0017 – invalid number of arguments to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19288: XPST0017 – invalid number of arguments to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19289: XQST0034 – function string:string declared or defined multiple times

Cause: Multiple functions declared or imported by a module had the same expanded QName and the same number of arguments.

Action: Fix the function declaraction or definition to remove duplicates.

ORA-19290: XQST0069 – more than one empty order declaration declared in the prolog

Cause: A prolog had more than one empty order declaration.

Action: Fix the prolog to have just one empty order declaration.

ORA-19291: XPST0081 – specified QName cannot be expanded into a namespace URI

Cause: The namespace prefix of the QName could not be expanded into a namespace URI by using the statically known namespaces.

Action: Use a namespace prefix that can be resolved into a namespace URI from the statically known namespaces.

ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19293: XQST0058: It is a static error if multiple schema imports specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19294: XQST0059: It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19295: XQST0060: It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19296: XQDY0061: It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19297: XQDY0064: It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to “XML” (in any combination of upper and lower case

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19298: XQST0065: A static error is raised if a Prolog contains more than one ordering mode declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19299: XQST0066: A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19300: Error occurred in uri processingstring

Cause: An error occurred when processing the URL

Action: Check the given error message and fix the appropriate problem

ORA-19320: Host name not specified in HTTP URL

Cause: A host name was not specified in the HTTP url

Action: Specify a host name in the HTTP url when creating the URL string

ORA-19321: Could not open HTTP connection to host (string): port (string)

Cause: A HTTP connection could not be opened to the host

Action: Specify a valid host name and port to connect to

ORA-19322: An error occurred while reading from host (string): port (string)

Cause: An error occurred while reading from the HTTP host

Action: Specify a valid host name and port to read from

ORA-19323: Invalid url string

Cause: The URL must be a valid URL string

Action: Specify a valid url string

ORA-19330: Type ‘string‘.’string‘ not installed. Please install the type before using the CREATE_DBURI operator

Cause: The type required for the CREATE_DBURI operator has not been installed correctly.

Action: Read the installation notes to install the type correctly.

ORA-19331: Last argument to CREATE_DBURI operator must be a column

Cause: The final argument to the CREATE_DBURI operator must be a column to which the reference is being created.

Action: Specify a valid column name in the query.

ORA-19332: Invalid column in the CREATE_DBURI operator

Cause: The argument to the CREATE_DBURI operator can only be a column.

Action: Specify a valid column name for the operator

ORA-19333: Invalid flags for the CREATE_DBURI operator

Cause: The flags argument given to the DBURI operator is invalid

Action: Specify a valid flag value (TEXT) for the DBURI operator

ORA-19334: Invalid column specification for CREATE_DBURI operator

Cause: All columns must be valid and pointing to the same table or view

Action: Specify valid list of columns that are from the same table or view.

ORA-19335: Invalid format type object

Cause: An invalid format type object was specified for the XML function

Action: Specify a valid format type object

ORA-19336: Missing XML root element

Cause: The XML being generated does not have an enclosing root element.

Action: The XML generated must have a root element

ORA-19361: ONLINE option not allowed with this type of index

Cause: The ONLINE option was specified to validate the structure of a system-generated metadata index

Action: The ONLINE option can not be used with system-generated metadata indexes such as an LOB index, an IOT Top index, an Index on Clusters etc., Run query without using the ONLINE option.

ORA-19371: invalid update option

Cause: The user attempted to call load_sqlset with an update option that is different than REPLACE and ACCUMULATE.

Action: Adjust the update option and retry the operation.

ORA-19372: invalid update condition

Cause: The user attempted to call load_sqlset with an invalid update condition.

Action: Check the update condition (e.g., NEW.COL1_NAME >= OLD.COL2_NAME) and retry the operation.

ORA-19373: invalid staging table or tablespace

Cause: The user attempted to create a staging table and specified an invalid staging table (or one that already exists) or tablespace

Action: Check the arguments and try again.

ORA-19374: invalid staging table

Cause: The user specified an invalid staging table to one of the pack, unpack, or remap stgtab routines, or the user does not have the correct privileges on the staging table

Action: Provide a correct staging table or grant the appropriate privileges

ORA-19375: no CREATE TABLE privilege on schema “string

Cause: The user tried to create a staging table when he is missing the CREATE TABLE privilege on the specified schema.

Action: Grant the privilege to the user and retry

ORA-19376: no privileges on tablespace provided or tablespace is offline

Cause: The user tried to create a staging table on a tablespace on which he does not have any space allocated, or it is offline

Action: Allocate space on the tablespace, bring it online, and retry

ORA-19377: no “SQL Tuning Set” with name like “string” exists for owner like “string

Cause: The user specified a filter to a pack/unpack function for the SQL Tuning Set that targets no STS in the SYS schema or the staging table, respectively

Action: Provide a different filter after checking the state of the system

ORA-19378: invalid mode

Cause: The user specified an invalid mode argument to the capture function.

Action: Provide a mode argument that was defined in the dbmssqlt file

ORA-19379: invalid time_limit or repeat_interval

Cause: Either a NULL value was specified for the time_limit or the repeat_interval value, or the repeat_interval value was greater than the time_limit value.

Action: Provide a non-NULL value and ensure that time_limit value is greater than or equal to the repeat_interval value.

ORA-19380: invalid plan filter

Cause: The user specified an invalid filter for the plan when calling the select_sqlset table function.

Action: Adjust the the filter to be one of the following values and retry the operation: MAX_ELAPSED_TIME, MAX_CPU_TIME, MAX_DISK_READS, MAX_OPTIMIZER_COST, MAX_BUFFER_GETS, FIRST_LOADED LAST_LOADED, FIRST_GENERATED, or LAST_GENERATED.

ORA-19381: cannot create staging table in SYS schema

Cause: The user attempted to create a staging table in the sys schema

Action: Create the table in another schema.

ORA-19384: cannot pack into staging table from previous version

Cause: An attempt was made to perform a pack operation on a staging table from a previous version.

Action: Create a staging table in the current version and retry the operation.

ORA-19385: staging table is empty

Cause: An attempt was made to perform an operation on an empty staging table.

Action: Check the staging table to ensure that it has rows.

ORA-19386: target object already exists for tuning task “string

Cause: An attempt was made to set a target object for a tuning task when one had already been set.

Action: Create a new task if another target object is needed.

ORA-19387: “SQL Tuning Set” “string” belongs to another tuning task

Cause: The user attempted to tune a task-managed SQL Tuning Set belonging to one task within the scope of another task.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19388: operation not supported for “SQL Tuning Set” type

Cause: The attempted operation was unsupported for the type of the given SQL Tuning Set.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19389: LOB types are not supported for SQL binds

Cause: A LOB type was provided in a SQL bind list.

Action: Replace the LOB binds with legal bind types or try another SQL.

ORA-19390: The profile type is not valid

Cause: The profile type is not valid.

Action: Check the available profile types.

ORA-19400: System type conflict with object SYS.string

Cause: The user had an object with the same name as one of the system types. The system types were not initialized properly.

Action: Remove the conflicting object and rerun migration.

20 total views, 15 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19500 to ORA-19700

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19500 to ORA-19700

ORA-19500: device block size string is invalid

Cause: the device block size returned by sequential I/O OSD is invalid

Action: If the block size was set by using the PARMS option of the Recovery Manager ALLOCATE CHANNEL command, then the specified block size must be changed. If no PARMS option was specified on the ALLOCATE CHANNEL command, then this is an internal error that should be reported to Oracle.

ORA-19501: read error on file “string“, block number string (block size=string)

Cause: read error on input file

Action: check the file

ORA-19502: write error on file “string“, block number string (block size=string)

Cause: write error on output file

Action: check the file

ORA-19503: cannot obtain information on device, name=”string“, type=”string“, parms=”string

Cause: call to get device information returned an error

Action: check device name, type and parameters

ORA-19504: failed to create file “string

Cause: call to create file returned an error

Action: check additional messages, check access permissions.

ORA-19505: failed to identify file “string

Cause: call to identify the file returned an error

Action: check additional messages, and check if the file exists.

ORA-19506: failed to create sequential file, name=”string“, parms=”string

Cause: call to create the sequential file returned an error

Action: check additional messages, check access permissions.

ORA-19507: failed to retrieve sequential file, handle=”string“, parms=”string

Cause: call to retrieve the sequential file returned an error

Action: check additional messages, and check if the file exists.

ORA-19508: failed to delete file “string

Cause: call to delete the file returned an error

Action: check additional messages.

ORA-19509: failed to delete sequential file, handle=”string“, parms=”string

Cause: call to delete the sequential file returned an error

Action: check additional messages.

ORA-19510: failed to set size of string blocks for file “string” (block size=string)

Cause: call to resize the file returned an error

Action: check additional messages.

ORA-19511: non RMAN, but media manager or vendor specific failure, error text:\n string

Cause: An error occurred in the media management software which is linked with the Oracle server to perform backup and restore in cooperation with Recovery Manager.

Action: If the text of message 19511 does not provide enough information to resolve the problem, then you should contact the vendor of the media management software.

ORA-19512: file search failed

Cause: Recovery manager or Oracle Server attempted to discover files that matched the specified pattern but failed.

Action: Check errors on the error stack for an explanation why the search for files could not be successfully executed.

ORA-19513: failed to identify sequential file

Cause: Unable to identify the sequential file.

Action: Check additional messages, and check if the file exists on media.

ORA-19525: tempfile for the clone database must be renamed

Cause: Opening a clone database failed because Oracle server forces the tempfile to be renamed, in order to avoid overwriting the primary tempfile.

Action: Rename the tempfiles manually or automatically by using the DB_FILE_NAME_CONVERT initialization parameter.

ORA-19526: only one location allowed for parameter string

Cause: A list of default locations was provided in an Oracle-managed files parameter.

Action: Edit the parameter to include a single location.

ORA-19527: physical standby redo log must be renamed

Cause: An attempt was made to clear redo log at a physical standby database. Clearing an OMF redo log will not work unless DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n or DB_RECOVERY_FILE_DEST parameter is specified. Clearing a non-OMF (or user-defined) redo log file will not work unless the LOG_FILE_NAME_CONVERT initialization parameter is set.

Action: Set DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n or DB_RECOVERY_FILE_DEST parameter for OMF redo log files and re-issue the operation that attempted to clear redo log. Set LOG_FILE_NAME_CONVERT parameter for non-OMF redo log files and re-issue the operation that attempted to clear redo log.

ORA-19528: redo logs being cleared may need access to files

Cause: The redo logs are being cleared. This procedure may need the files this operation is being applied to.

Action: Wait for the redo logs to be cleared.

ORA-19529: Pattern string in initialization parameter string has an Oracle Managed Files file name.

Cause: An attempt was made to convert a database file name to an Oracle Managed Files file name using DB_FILE_NAME_CONVERT, PDB_FILE_NAME_CONVERT or LOG_FILE_NAME_CONVERT initialization parameter. This was not a valid operation.

Action: Retry the operation with a pattern template instead of a full Oracle Managed Files file name.

ORA-19550: cannot use backup/restore functions while using dispatcher

Cause: Attempted to use backup/restore functions while connected to the dispatcher in a shared server. This is not allowed because the device that is used for backup and restore must remain allocated to a single process.

Action: Connect directly to the instance then re-execute the backup or restore function.

ORA-19551: device is busy, device type: string, device name: string

Cause: The indicated device could not be allocated because it is allocated to another session, or no device was named, or all devices of the requested type are busy.

Action: Either attempt to allocate another device or wait until the required device is no longer busy.

ORA-19552: device type string is invalid

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

ORA-19553: device name string is invalid

Cause: The device name indicated is invalid.

Action: Supply a correct device name and retry the allocation.

ORA-19554: error allocating device, device type: string, device name: string

Cause: The specified device could not be allocated.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19555: invalid LOG_ARCHIVE_MIN_SUCCEED_DEST parameter value

Cause: The value of parameter LOG_ARCHIVE_MIN_SUCCEED_DEST was not set within the valid range.

Action: Specify a correct value for parameter LOG_ARCHIVE_MIN_SUCCEED_DEST. If the archive log parameters LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST are in use, set parameter LOG_ARCHIVE_MIN_SUCCEED_DEST to either 1 or 2.

ORA-19556: required destination LOG_ARCHIVE_DUPLEX_DEST currently is deferred

Cause: The destination for parameter LOG_ARCHIVE_DUPLEX_DEST was deferred when it was required to be enabled. The destination was deferred automatically when an ALTER SYSTEM command for parameter LOG_ARCHIVE_DEST defined a destination which duplicated an existing LOG_ARCHIVE_DUPLEX_DEST parameter destination.

Action: Change the destination value for the LOG_ARCHIVE_DUPLEX_DEST parameter.

ORA-19557: device error, device type: string, device name: string

Cause: An error occurred in the platform-specific device code

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19558: error de-allocating device

Cause: The specified device could not be de-allocated.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19559: error sending device command: string

Cause: An error occurred while sending the indicated command to the session device.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19560: string is not a valid device limit name

Cause: An invalid name of device limit was specified in a call to DBMS_BACKUP_RESTORE.SETLIMIT.

Action: Use one of the device limit names described in dbmsbkrs.sql

ORA-19561: string requires a DISK channel

Cause: The attempted command requires that a DISK device channel be allocated to the session, but a non-DISK device was found.

Action: Deallocate the current device and allocate a DISK channel, then then retry the command.

ORA-19562: file string is empty

Cause: The indicated file, which is an archived log, control file, or datafile was found to be empty during a copy, backup, or scan] operation.

Action: Ensure that the correct files are being specified for the copy or backup operation.

ORA-19563: string header validation failed for file string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (datafile, archived log, or control file) belonging to the current database.

Action: Ensure that the correct files are being specified for the copy or backup operation.

ORA-19564: error occurred writing string bytes at block number string

Cause: An error occurred while writing to a file.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error if possible, then retry the copy, backup, or restore operation.

ORA-19565: BACKUP_TAPE_IO_SLAVES not enabled when duplexing to sequential devices

Cause: An attempt was made to specify duplexing to sequential devices, but the BACKUP_TAPE_IO_SLAVES initialization parameter was not enabled.

Action: Specify BACKUP_TAPE_IO_SLAVES=TRUE in the INIT.ORA file, or do not specify duplexing to sequential devices.

ORA-19566: exceeded limit of string corrupt blocks for file string

Cause: The user specified limit of allowable corrupt blocks was exceeded while reading the specified datafile for a datafile copy or backup.

Action: None. The copy or backup operation fails. The session trace file contains detailed information about which blocks were corrupt.

ORA-19567: cannot shrink file string because it is being backed up or copied

Cause: An ALTER statement attempted to reduce the size of the indicated file while the same file is being backed up or copied.

Action: Retry the resize after the backup or copy is complete.

ORA-19568: a device is already allocated to this session

Cause: A device cannot be allocated to a session if another device is already allocated.

Action: Deallocate the current device

ORA-19569: no device is allocated to this session

Cause: An operation was attempted which requires a device to be allocated to the current session, and there is no device allocated.

Action: Allocate a device then retry the operation.

ORA-19570: file number string is outside valid range of 1 through string

Cause: A file number used in a copy, backup, or restore operation is not valid for the current database.

Action: Specify a valid file number.

ORA-19571: string RECID string STAMP string not found in control file

Cause: The input file specified for a copy or backup operation could not be opened because the record describing the file is not found in the control file.

Action: Specify a correct RECID/STAMP and retry the copy or backup.

ORA-19572: cannot process file string, file is being being resized

Cause: The input file specified for a copy or backup operation could not be opened because the file is being resized.

Action: Wait for the resize to complete then retry the copy or backup.

ORA-19573: cannot obtain string enqueue for datafile string

Cause: The file access enqueue could not be obtained for a file specified in a backup, copy or restore operation. If the enqueue type shown is ‘shared’, then the file is the input file for a backup or copy. If the type is ‘exclusive’, then the file is the output file for a datafile copy or restore which is attempting to overwrite the currently active version of that file – in this case, the file must be offline or the database must be closed. If the type is ‘read-only’, then you are attempting to back up or copy this file while the database is in NOARCHIVELOG mode.

Action: Wait until the conflicting operation is complete, then retry the copy or backup. If the database is in NOARCHIVELOG mode, then all files being backed up must be closed cleanly.

ORA-19574: output file name must be specified

Cause: This type of copy or restore requires an output file name.

Action: Specify an output file name and retry the copy.

ORA-19575: expected string blocks in file string, found string

Cause: During a backup, restore, copy, or scan operation, the indicated file did not contain as many blocks as were indicated in the file header.

Action: The input copy or backup piece is probably corrupt. If another backup or copy exists of the file that is being restored, then the corrupt file can be deleted from the recovery catalog and the operation can be restarted.

ORA-19576: datafile string not defined in control file

Cause: The specified file number was not found in the control file.

Action: Specify a correct file number and retry the operation.

ORA-19577: file string is MISSING

Cause: A COPYDATAFILECOPY, RESTOREDATAFILETO or PROXYRESTOREDATAFILE function specified a file number but no output file name, indicating that the output file name should be taken from the control file. However, the control file entry for this file indicates that it was created for a file that was present in the data dictionary but not named during the last CREATE CONTROLFILE statement, so the name in the control file cannot be used for restoration.

Action: Either specify an output file name or issue a SQL RENAME command to enter a valid name for this file in the control file.

ORA-19578: end of volume while duplexing to sequential files, backup piece incomplete

Cause: An end of volume (EOV) condition was detected while duplexing to sequential files, and this condition cannot be handled currently.

Action: Before retrying the backup, make sure the backup pieces will fit in the volume, or disable duplexing.

ORA-19579: archived log record for string not found

Cause: No archived log record corresponding to input file could be found in the control file.

Action: Specify a valid archived log file name and retry the operation.

ORA-19580: string conversation not active

Cause: A backup or restore operation was attempted before a conversation was started.

Action: Start a conversation then retry the operation.

ORA-19581: no files have been named

Cause: An attempt was made to proceed from the file naming phase to the piece processing phase of a backup or restore conversation before any files have been specified for backup or restore.

Action: Specify some files then retry the operation.

ORA-19582: archived log file header validation for string failed

Cause: Archived log file header is corrupt and could not be validated.

Action: Provide a valid archived log file and retry the operation.

ORA-19583: conversation terminated due to error

Cause: An error occurred which forced the termination of the current backup or restore conversation.

Action: There should be other error messages to help identify the cause of the problem. Correct the error and begin another conversation.

ORA-19584: file string already in use

Cause: The indicated file, which was specified as the target for a copy, restore, or delete operation is already in use by the database.

Action: Specify a different name and retry the operation.

ORA-19585: premature end of volume on piece string

Cause: While creating the indicated backup piece, an end-of-volume condition was encountered before all of the backup set control data was written to the backup piece. This is most likely a media error, because the amount of backup set control data is very small in relation to the total amount of data in a backup set.

Action: Retry the piece with a larger piece of output media.

ORA-19586: string k-byte limit is too small to hold piece directory

Cause: The user-specified limit for MAXPIECESIZE for this channel is not enough to hold the backup set control data.

Action: Allocate a channel specifying a larget valule for MAXPIECESIZE and retry the operation.

ORA-19587: error occurred reading string bytes at block number string

Cause: An error occurred while reading from a file.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error then retry the copy, backup, or restore operation.

ORA-19588: string RECID string STAMP string is no longer valid

Cause: The indicated record has been marked as deleted. This indicates that the corresponding file has either been overwritten by another copy or restore, or that the copy was ‘consumed’ by a SWITCHTOCOPY operation.

Action: If you know the name of the file you wish to copy, then inspect it and then retry the copy specifying the new RECID.

ORA-19589: string is not a snapshot or backup control file

Cause: The control file that is the source for a backup or copy operation is not a snapshot or backup control file.

Action: Specify the name of a snapshot or backup control file.

ORA-19590: conversation already active

Cause: You tried to begin a backup or restore conversation, but another conversation is already active in this session.

Action: Either continue the current conversation, or call BACKUPCANCEL or RESTORECANCEL to end the current conversation before starting a new one.

ORA-19591: backup aborted because job time exceeded duration time

Cause: You tried to backup with duration option and the time provided was not sufficient to complete the backup.

Action: Adjust the duration time and re-run the command. Or run the backup command without duration option.

ORA-19592: wrong string conversation type

Cause: You attempted to specify a type of file to be backed-up or restored, but the current conversation cannot process this type of file. For example, you specified an archived log to be included in a datafile backup set. The specified file will not be included in the backup or restore operation.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19593: datafile number string already included as string

Cause: This datafile is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of a datafile.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19594: control file already included as string

Cause: The control file is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of the control file.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19595: archived log string already included in backup conversation

Cause: The indicated archived log has already been specified for inclusion in this backup conversation.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19596: SPFILE already included

Cause: The SPFILE is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of the SPFILE.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19597: file string block size string does not match set block size of string

Cause: A file was specified for inclusion in a backup set but it has a logical block size different from the rest of the files in the backup set. All files in a backup set must have the same logical block size.

Action: Specify a file that has the same block size as the rest of the files in the backup set. The conversation is still active and more files can be specified.

ORA-19598: can not backup SPFILE because the instance was not started with SPFILE

Cause: A backup command requested a backup of the SPFILE, but no SPFILE was used to startup the instance.

Action: Create an SPFILE and re-start the instance using the SPFILE.

ORA-19599: block number string is corrupt in string string

Cause: A corrupt block was found in a control file, archived log, or backup piece that is being read for a backup or copy. Corruption shall not be tolerated in control files, archived logs, or backup pieces.

Action: None. The copy or backup operation fails. Note that in the case of a backup set, the conversation is still active and the piece may be retried.

ORA-19600: input file is string string (string)

Cause: This message identifies the input file for a failed copy operation. Both the file number and name (if the name has been determined) are shown. For a datafile, the file number refers to the datafile’s absolute file number as shown in the DBA_DATA_FILES view. For a datafile copy, the file number refers to the copy’s control file record number as shown in the RECID column of the V$DATAFILE_COPY view. For an archived log, the file number refers to the log’s control file record number as shown in the RECID column of the V$ARCHIVED_LOG view.

Action: See other error message.

ORA-19601: output file is string string (string)

Cause: This message identifies the output file for a failed copy operation. The fields are as described in message 19600. When creating a new datafile copy, its control file record number may not have been determined when the message is printed. In that case, the record number shown is zero.

Action: See other error message.

ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

Cause: You tried to copy or backup a file that was not closed cleanly, and the database was in NOARCHIVELOG mode. This is not allowed because when restored, the file will require redo application before it is usable, and redo is not currently being saved beyond the contents of the online redo logs.

Action: Take the tablespace offline clean or close the database and retry the copy or backup.

ORA-19603: cannot backup or copy active file with KEEP .. UNRECOVERABLE option

Cause: The user tried to copy or backup a file that was not closed cleanly, with KEEP .. UNRECOVERABLE option. This is not allowed because when restored, the file will require redo application before it is usable, and redo will not be saved because of KEEP .. UNRECOVERABLE option.

Action: Take the tablespace offline cleanly, or close the database and retry the copy or backup.

ORA-19604: conversation file naming phase is over

Cause: A call was made to specify a file to be backed up or restored after the first backup piece has been processed.

Action: You cannot specify more files to be processed during a backup or restore conversation after the first backup piece has been processed. If more files must be specified, you must begin a new conversation.

ORA-19605: input file name must be specified

Cause: The input file name was not specified for a control file copy operation.

Action: Specify an input file name and retry the operation.

ORA-19606: Cannot copy or restore to snapshot control file

Cause: A control file copy or restore operation specified the name of the snapshot control file as the output file. It is not permitted to overwrite the snapshot control file in this manner. Other methods are available to create the snapshot control file.

Action: Specify a different file name and retry the operation. If this is a restore, then the restore conversation remains active and more files may be specified.

ORA-19607: string is an active control file

Cause: A control file copy, restore, or backup specified the name of a control file named in the INIT.ORA file as the input or output file.

Action: Specify a different file name and retry the operation. If this is a backup or restore conversation, then the conversation remains active and more files may be specified.

ORA-19608: string is not a backup piece

Cause: The specified file is not a backup piece produced by the DBMS_BACKUP_RESTORE package. Either the first block of the backup piece is corrupt or this file is not a backup piece.

Action: Specify a different file name and retry the operation.

ORA-19609: string is from different backup set: stamp string count string

Cause: The specified file is not from the backup set which is currently being processed. It is part of a different backup set. The identification of the set containing this piece is shown.

Action: Specify the correct backup piece and retry the operation.

ORA-19610: directory block string is corrupt

Cause: The indicated directory block failed checksum validation. This backup piece is unusable.

Action: Supply another copy of the same backup piece, or terminate the restore conversation.

ORA-19611: backup piece out of order. Expected string but found string

Cause: This backup piece is out of sequence.

Action: Supply the correct backup piece.

ORA-19612: datafile string not restored due to string

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the restore conversation must be cancelled.

ORA-19613: datafile string not found in backup set

Cause: The indicated file could not be restored, because it is not in this backup set. If the file number is zero, then this refers to the control file.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19614: archived log thread string sequence string not found in backup set

Cause: The indicated archived log file was named explicitly for restoration but is not contained in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19615: some files not found in backup set

Cause: Some files that were specified for restoration were not found in the backup set directory. Message 19613 or 19614 is issued for each file that was not found.

Action: See the instructions for message 19613.

ORA-19616: output file name must be specified if database not mounted

Cause: A datafile restore specified no target file name, but the database is not mounted. The database must be mounted when no target file name is specified, so that the target file name can be obtained from the control file.

Action: The restore conversation remains active. If you wish to restore datafiles without their target file names, then mount the database before continuing. Otherwise, a target file name must be specified on all datafile restoration calls.

ORA-19617: file string contains different RESETLOGS data

Cause: The indicated file contains RESETLOGS data which is different from the archived log files which are already included in the backup set. All archived log files in a backup set must have the same RESETLOGS data.

Action: The restore conversation remains active, and you may continue to specify archived log files for inclusion in the backup set.

ORA-19618: cannot name files after RESTOREVALIDATE has been called

Cause: A call was made to specify a file to restore from a backup set, but a previous call to RESTOREVALIDATE has already been made.

Action: You must cancel and restart the conversation if you wish to specify files to restore.

ORA-19619: cannot call RESTOREVALIDATE after files have been named

Cause: RESTOREVALIDATE was called after some files had already been specified for restoration.

Action: You must cancel and restart the conversation if you wish to call RESTOREVALIDATE.

ORA-19620: string is not of string type

Cause: When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (datafile, archived log, or control file) belonging to the current database.

Action: The indicated file cannot be processed. Ensure that the correct files are being specified for the copy or backup operation.

ORA-19621: archived log range has already been specified

Cause: A range of logs has already been specified. Only one SCN range may be specified per conversation.

Action: The restore conversation remains active and more logs may be specified by thread and sequence number, if desired.

ORA-19622: archived log thread string sequence string not restored due to string

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the restore conversation must be cancelled.

ORA-19623: file string is open

Cause: A SWITCHTOCOPY operation specified a datafile copy whose parent datafile is open.

Action: Take the owning tablespace offline or close the database, then retry the operation.

ORA-19624: operation failed, retry possible

Cause: A backup, restore or image copy operation failed with an I/O error. If the source of the I/O error can be corrected, then the operation may be retried.

Action: This message is used by recovery manager to decide whether or not to retry the operation.

ORA-19625: error identifying file string

Cause: A file specified as input to a copy or backup operation, or as the target for an incremental restore, could not be identified as an Oracle file. The file may have been deleted or moved so that it is no longer accessible to RMAN. An operating system-specific error accompanies this error to help pinpoint the problem.

Action: Specify a different file and retry the operation. If the problem file has simply been deleted or moved, you can run crosscheck to allow RMAN to update its metadata with the correct file status.

ORA-19626: backup set type is string – can not be processed by this conversation

Cause: The data in the backup set is not compatible with the current conversation.

Action: Either supply the first piece from a backup set that matches the current conversation or start a new restore conversation which can process this backup set.

ORA-19627: cannot read backup pieces during control file application

Cause: This is a control file restore conversation, which is using the offline range information from one or more control files to update datafile checkpoint data. Backup sets are not used during this type of conversation.

Action: The conversation is still active and more control files may be applied.

ORA-19628: invalid SCN range

Cause: The starting SCN for RESTOREREDOLOGRANGE is greater than the ending SCN.

Action: Specify a starting SCN which is less than or equal to the ending SCN.

ORA-19629: no files in specified archived log SCN range

Cause: This backup set contains no files in the specified range.

Action: Either supply a backup set that contains files in the correct range or start a new conversation and specify a range which will select some files from this backup set.

ORA-19630: end of volume encountered while copying backup piece

Cause: While copying a backup piece from the OS native file system to an output device, the output device encountered end-of-volume.

Action: The copy fails. This could happen if a tape was used which is not large enough to hold the entire backup piece.

ORA-19631: archived log record contains no file name

Cause: This archived log record represents a switch into an active log that took place without archiving its prior contents. The prior contents of the log file are lost.

Action: Specify the RECID of an archived log record that contains a file name. Fixed view v$archived_log can be used to examine the archived logs.

ORA-19632: file name not found in control file

Cause: The name passed to GETFNO was not found in the control file.

Action: Supply a valid file name.

ORA-19633: control file record string is out of sync with recovery catalog

Cause: The control file record describing the file to be deleted in a call to DELETEBACKUPPIECE, DELETEDATAFILECOPY, PROXYDELETE or DELETEARCHIVEDLOG does not match the validation data supplied by recovery manager.

Action: contact Oracle support

ORA-19634: file name required for this function

Cause: The FNAME or HANDLE parameter was not specified for DELETEPIECE, DELETEDATAFILECOPY, DELETEREDOLOG or PROXYDELETE.

Action: Specify the FNAME or HANDLE parameter when calling these functions.

ORA-19635: input and output file names are identical: string

Cause: Identical input and output file names were specified for a datafile copy operation.

Action: Specify an output file name which is different from the input file name.

ORA-19636: archived log thread string sequence string already included

Cause: The indicated archived log has already been specified for inclusion in this restore conversation. A restore conversation may process only one copy of any archived log.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19637: BACKUPPIECECREATE requires file name when using DISK device

Cause: The session device is currently allocated to disk, and so a file name is required.

Action: Supply a file name and retry the operation.

ORA-19638: file string is not current enough to apply this incremental backup

Cause: The checkpoint of the target for this incremental backup is less than the start of the incremental backup. If this backup were applied, then any changes made between the datafile checkpoint and the start of the incremental backup could be lost.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19639: file string is more current than this incremental backup

Cause: The checkpoint of the target for this incremental backup is greater than or equal to the checkpoint of the file in the incremental backup set. This backup cannot advance the checkpoint of the target file, so there is no point in applying it.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19640: datafile checkpoint is SCN string time string

Cause: This message identifies the datafile checkpoint for a datafile that was too old to take an incremental backup from, or the target of an incremental restore that could not be applied.

Action: See other error message.

ORA-19641: backup datafile checkpoint is SCN string time string

Cause: This message identifies the checkpoint of a datafile in an incremental backup set that could not be applied.

Action: See other error message.

ORA-19642: start SCN of incremental backup is string

Cause: This message identifies the starting SCN of an incremental backup that could not be applied.

Action: See other error message.

ORA-19643: datafile string: incremental-start SCN is too recent

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is greater than the datafile checkpoint SCN, which could cause some blocks to be missed.

Action: Specify a smaller incremental-start SCN.

ORA-19644: datafile string: incremental-start SCN is prior to RESETLOGS SCN string

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the RESETLOGS SCN.

Action: Specify a larger incremental-start SCN.

ORA-19645: datafile string: incremental-start SCN is prior to creation SCN string

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the datafile’s creation SCN.

Action: Specify a larger incremental-start SCN.

ORA-19646: cannot change size of datafile string from string to string

Cause: Restore needs to adjust the size of the file as indicated, but the file size adjustment failed.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19647: non-zero LEVEL cannot be specified when INCREMENTAL is FALSE

Cause: BACKUPSETDATAFILE was called with a non-zero backup_level and a FALSE incremental indication.

Action: Either set incremental to TRUE or change backup_level to zero.

ORA-19648: datafile string: incremental-start SCN equals checkpoint SCN

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is equal to the datafile’s checkpoint SCN. Since an incremental backup can only be applied to a datafile whose checkpoint SCN is between the backup set incremental-start SCN (inclusive) and the backup set checkpoint SCN (exclusive), there is no datafile that this backup set could ever be applied to.

Action: Specify a smaller incremental-start SCN. NOTE that this message will usually only be encountered by the user while taking an incremental backup with Recovery Manager. Recovery Manager should intercept all usual cases of this error and simply ignore the incremental backup for this file. So, if you do encounter this error, please report it to Oracle Support.

ORA-19649: offline-range record RECID string STAMP string not found in file string

Cause: APPLYOFFLINERANGE was called with a RECID/STAMP which was not found in the indicated control file. This probably means that the specified control file is no longer the same control file that Recovery Manager thinks it is.

Action: Specify the RECID/STAMP of a record that exists in the control file copy.

ORA-19650: Offline-range record RECID string STAMP string in file string has SCN string

Cause: This messages identifies the offline-clean SCN from the indicated offline-range record in the indicated file.

Action: See other error message.

ORA-19651: cannot apply offline-range record to datafile string: SCN mismatch

Cause: APPLYOFFLINERANGE cannot apply an offline-range record to a target datafile unless the datafile’s checkpoint SCN exactly matches the offline-clean SCN in the specified offline-range record.

Action: Specify an offline-range record whose offline-clean SCN matches the target datafile’s checkpoint.

ORA-19652: cannot apply offline-range record to datafile string: file is fuzzy

Cause: The target datafile for an APPLYOFFLINERANGE call is fuzzy.

Action: Specify a target datafile that is closed cleanly.

ORA-19653: cannot switch to older file incarnation

Cause: SWITCHTOCOPY was called with a datafile copy for a datafile that was dropped prior to the time this control file was backed up.

Action: Restore and mount an earlier control file. It is acceptable to use a control file that was backed up prior to the creation of the specified datafile.

ORA-19654: must use backup control file to switch file incarnations

Cause: This SWITCHTOCOPY operation is attempting to switch incarnations of a datafile, but the currently mounted control file is not a backup control file.

Action: Restore and mount a backup control file.

ORA-19655: cannot switch to incarnation with different RESETLOGS data

Cause: This SWITCHTOCOPY operation is attempting to switch to a datafile which comes from a different RESETLOGS version of the database.

Action: Either restore a backup control file that was taken from the same database version as the target datafile copy, or switch to a different datafile copy.

ORA-19656: cannot backup, copy, or delete online log string

Cause: The indicated log file is an active log. You can only backup, copy, or delete archived logs.

Action: The indicated log file cannot be processed – select another file.

ORA-19657: cannot inspect current datafile string

Cause: The file being inspected is already part of the currently mounted database.

Action: None – the file is already part of the database.

ORA-19658: cannot inspect string – file is from different RESETLOGS

Cause: The RESETLOGS data in the log file being inspected does not match that in the currently mounted control file.

Action: The indicated file cannot be processed – inspect another file.

ORA-19659: incremental restore would advance file string past RESETLOGS

Cause: This incremental backup cannot be applied to the specified datafile, because the datafile is from an earlier incarnation of the database, and its checkpoint would be advanced too far to be recoverable in the current incarnation of the database.

Action: This incremental cannot be applied to this datafile. If you wish to recover the file to the RESETLOGS SCN so that the database can be opened with the RESETLOGS option, then you must use redo-log recovery, not incremental restore, to continue recovering this file.

ORA-19660: some files in the backup set could not be verified

Cause: A restore conversation was made to verify all the files in a backup set, and the files which were printed in messages 19661 or 19662 could not be verified because corrupt blocks for those files were found in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated files cannot be restored from this backup set.

ORA-19661: datafile string could not be verified

Cause: Some data blocks for the indicated datafile were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated datafile cannot be restored from this backup set.

ORA-19662: archived log thread string sequence string could not be verified

Cause: Some data blocks for the indicated archived log were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated archived log cannot be restored from this backup set.

ORA-19663: cannot apply current offline range to datafile string

Cause: An attempt was made to apply the current offline range to the specified datafile, but the datafile is either not current enough or is not at the correct SCN to apply the offline range.

Action: The datafile remains unchanged.

ORA-19664: file type: string, file name: string

Cause: This message is issued to identify the file which is the subject of an error.

Action: None – this is an informational message. There should be other Oracle messages explaining the cause of the error.

ORA-19665: size string in file header does not match actual file size of string

Cause: The size of the file as indicated in the file header does not match the true size of the file. The two differing sizes are shown in units of logical blocks.

Action: This file is not usable – it has most likely been truncated.

ORA-19666: cannot do incremental restore of the control file

Cause: The control file was included in an incremental restore conversation

Action: If you wish to restore the control file, you must do a full restore of the control file

ORA-19667: cannot do incremental restore of datafile string

Cause: The backup of the datafile is a full backup

Action: If you wish to restore the datafile, you must do a full restore of the datafile

ORA-19668: cannot do full restore of datafile string

Cause: The backup of the datafile is an incremental backup

Action: If you wish to restore the datafile, you must do an incremental restore of the datafile

ORA-19669: proxy copy functions cannot be run on DISK channel

Cause: A proxy copy procedure was called, but the device which is allocated to the current session has type DISK.

Action: Allocate a non-DISK channel and retry the operation. Note that proxy copy requires a 3rd-party media management software product that supports the this backup/restore feature.

ORA-19670: file string already being restored

Cause: A proxy restore function has already named this file as a restore destination.

Action: Use a different file name. If this message occurs during a recovery manager job, then this is an internal error in recovery manager, and you should contact Oracle support.

ORA-19671: media management software returned invalid proxy handle

Cause: During a proxy backup or restore, the media management software returned an invalid file handle.

Action: This is an internal error in the media management software which is linked with Oracle to provide backup/restore services. Contact the media management software vendor.

ORA-19672: media management software returned invalid file status

Cause: During a proxy backup or restore, the media management software returned an invalid file status.

Action: This is an internal error in the media management software which is linked with Oracle to provide backup/restore services. Contact the media management software vendor.

ORA-19673: error during proxy copy of file string

Cause: During a proxy backup or restore, an error occurred while copying this file, but other files may have been copied successfully.

Action: There should be other errors on the error stack which explain why the file could not be successfully copied.

ORA-19674: file string is already being backed up with proxy copy

Cause: Recovery manager attempted to back up the specified file with proxy copy, but the file is already being backed up by another recovery manager job.

Action: Wait until the other recovery manager backup of this file is complete, then retry the backup.

ORA-19675: file string was modified during proxy copy

Cause: A proxy backup of the specified file failed because the file was brought on-line or otherwise modified while the proxy backup was in progress. This file was off-line or read-only when the backup began, so the file was not put into hot-backup mode, therefore no modifications are permitted while the backup is in progress.

Action: Take another backup of this file.

ORA-19676: one or more files failed during proxy backup or restore

Cause: During a proxy backup or restore, errors were encountered while processing some files. The files for which no error messages are shown were processed successfully.

Action: Examine the messages regarding the specific files to determine the cause of the problems.

ORA-19677: RMAN configuration name exceeds maximum length of string

Cause: The configuration name string exceeds maximum length.

Action: Supply a correct configuration name and retry the function.

ORA-19678: RMAN configuration value exceeds maximum length of string

Cause: The configuration value string exceeds maximum length.

Action: Supply a correct configuration value and retry the operation.

ORA-19679: RMAN configuration number string is outside valid range of 1 through string

Cause: An invalid RMAN Configuration number was specified.

Action: Specify a correct datafile number and retry the operation.

ORA-19680: some blocks not recovered. See trace file for details

Cause: Some blocks are not recovered during block media recovery.

Action: See trace files for details of the problem.

ORA-19681: block media recovery on control file not possible

Cause: file number 0 specified in block media recovery

Action: check file number

ORA-19682: file string not in block media recovery context

Cause: Internal error

Action: n/a

ORA-19683: real and backup block size of file string are unequal

Cause: block size changed between backup & real file

Action: use right backup

ORA-19684: block media recovery failed because database is suspended

Cause: Database is suspended, probably by an ALTER SYSTEM SUSPEND statement

Action: Execute ALTER SYSTEM RESUME then retry block media recovery

ORA-19685: SPFILE could not be verified

Cause: Some data blocks for the SPFILE were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the SPFILE cannot be restored from this backup set.

ORA-19686: SPFILE not restored due to string

Cause: The indicated file could not be restored, because some of its data blocks were not found in the backup piece.

Action: Unless the damage to the backup set can be repaired, the SPFILE cannot be restored from this backup set.

ORA-19687: SPFILE not found in backup set

Cause: The SPFILE could not be restored, because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19688: control file AUTOBACKUP format(string) for string does not have %F

Cause: control file AUTOBACKUP format must contain %F for the device.

Action: Change control file format using RMAN command CONFIGURE CONTROLFILE BACKUP FORMAT FOR DEVICE TYPE type TO format.

ORA-19689: cannot have more than one %F in control file AUTOBACKUP format(%0!s) for %1!s

Cause: control file AUTOBACKUP format contains more than one %F for the device.

Action: Change control file format using RMAN command CONFIGURE CONTROLFILE BACKUP FORMAT FOR DEVICE TYPE type TO format.

ORA-19690: backup piece release string incompatible with Oracle release string

Cause: The backup piece was created by incompatible software.

Action: Either restart with a compatible software release or create another backup using the current release.

ORA-19691: string is from different database: id=string, name=string

Cause: The database name or database id in backup piece header does not match the one in control file.

Action: Supply the correct backup piece belonging to this database.

ORA-19692: missing creation stamp on piece string

Cause: The backup piece doesn’t have information about creation stamp.

Action: Supply another backup piece which is created by oracle 9i or later version.

ORA-19693: backup piece string already included

Cause: This backup piece was already specified for inclusion in the restore conversation. A restore conversation may process only a single instance of a backup piece.

Action: Remove the specified duplicate backup piece in restore steps and restart the conversation.

ORA-19694: some changed blocks were not found in the change tracking file

Cause: A backup or copy found that some changed blocks had not been recorded in the change tracking file. The details of which files and blocks are affected will be in an Oracle trace file.

Action: This indicates that there is a problem with the change tracking feature. Disable change tracking and re-start the backup.

ORA-19695: fixed table X$KRBMSFT has not been populated

Cause: This is an internal error. The fixed table X$KRBMAFT was not populated using the function DBMS_BACKUP_RESTORE.SEARCHFILES.

Action: Internal error – contact Oracle Customer Support.

ORA-19696: control file not found in backup set

Cause: The control file could not be restored because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19697: standby control file not found in backup set

Cause: The standby control file could not be restored because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19698: string is from different database: id=string, db_name=string

Cause: Catalog failed because the database id in file header does not match the one in control file.

Action: Supply the correct file belonging to this database.

ORA-19699: cannot make copies with compression enabled

Cause: Datafile copies with compression are not supported.

Action: If the function DBMS_BACKUP_RESTORE.BACKUPPIECECREATE is called outside RMAN, then the incompatible values are being passed for the parameters DOCOMPRESS and IMAGCP. If this message occurs during an RMAN job, then this is an internal error in RMAN, and you should contact Oracle support.

ORA-19700: device type exceeds maximum length of string

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

 

5 total views, no views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19700 to ORA-20000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19700 to ORA-20000

ORA-19700: device type exceeds maximum length of string

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

ORA-19701: device name exceeds maximum length of string

Cause: The device name indicated is invalid.

Action: Supply a correct device name and retry the allocation.

ORA-19702: device parameter exceeds maximum length of string
ORA-19703: device command string exceeds maximum length of string

Cause: The device command string exceeds maximum length.

Action: Correct the command and retry the operation.

ORA-19704: file name exceeds maximum length of string

Cause: The specified file name, which was a parameter to a copy, backup, or restore operation, exceeds the maximum file name length for this operating system.

Action: Retry the operation with a shorter file name.

ORA-19705: tag value exceeds maximum length of string characters

Cause: During a backup or copy operation, the user supplied a tag value too long to fit in the file header.

Action: Supply a shorter tag and retry the operation.

ORA-19706: invalid SCN

Cause: The input SCN is either not a positive integer or too large.

Action: Check the input SCN and make sure it is a valid SCN.

ORA-19707: invalid record block number – string

Cause: The input number is either negative or too large.

Action: Check the input record block number and make sure it is a valid number clauses in the create database statement.

ORA-19708: log destination exceeds maximum length of string characters

Cause: When starting a restore conversation, the user specified a log restore destination longer than the port-specific maximum.

Action: Supply a shorter destination and retry the operation.

ORA-19709: numeric parameter must be non-negative integer

Cause: A numeric parameter to an DBMS_BACKUP_RESTORE procedure is negative or contains a fractional portion.

Action: Supply a valid numeric parameter.

ORA-19710: unsupported character set string

Cause: When the target database is not mounted, RMAN sets the target database character set to the value specified in the users environment.

Action: Specify a valid character set in the environment. This is usually done via the NLS_LANG environment variable.

ORA-19711: cannot use RENORMALIZEALLFILENAMES while database is open

Cause: An attempt was made to re-normalize all the file names in the control file while the database is open.

Action: Close the database before using the RENORMALIZEALLFILENAMES procedure.

ORA-19712: table name exceeds maximum length of string

Cause: The table name string exceeds maximum length.

Action: Retry the operation with a shorter table name.

ORA-19713: invalid copy number: string

Cause: The copy number is not in a valid range or you have reached maximum limit.

Action: Report the error and other information to support.

ORA-19714: length for generated name longer than string

Cause: The specified format exceeds the maximum length for the piece name.

Action: Change the format to create shorter piece names.

ORA-19715: invalid format string for generated name

Cause: A restricted format or undefined format was used incorrectly.

Action: Change the format specified in the additional information by removing the restricted format.

ORA-19716: error processing format string to generate name for backup

Cause: There were errors while processing the format to generate name for backup.

Action: Change the format.

ORA-19717: for non-OMF search the pattern must be specified

Cause: The procedure DBMS_BACKUP_RESTORE.SEARCHFILES was called with an empty pattern while the parameter OMF was set to FALSE.

Action: Either specify the pattern or set the parameter OMF to TRUE.

ORA-19718: length for command id longer than string

Cause: The specified command id exceeds the maximum length for command id.

Action: Supply a shorter command id and retry the operation.

ORA-19719: length for operation name longer than string

Cause: The specified operation name exceeds the maximum length for operation name.

Action: Supply a shorter operation name and retry the operation.

ORA-19720: Error occurred when converting an OCI number into an SCN

Cause: This is most likely caused by an invalid SCN number that came from an external file, such as an export file.

Action: See other errors on the error stack to look for the source of the problem.

ORA-19721: Cannot find datafile with absolute file number string in tablespace string

Cause: Can not find one of the datafile that should be in the Pluggable Set.

Action: Make sure all datafiles are specified via import command line option or parameter files.

ORA-19722: datafile string is an incorrect version

Cause: The datafile is an incorrect version. It contains either less or more changes then the desired version.

Action: Make sure the right datafiles are transported. Make sure the datafile is copied while its tablespace is read only.

ORA-19723: Cannot recreate plugged in read-only datafile string

Cause: The datafile is plugged in read only. It can not recreated.

Action: Use ALTER DATABASE RENAME FILE command instead.

ORA-19724: snapshot too old: snapshot time is before file string plug-in time

Cause: The snapshot SCN is before the SCN at which the referred datafile is plugged into the database.

Action: retry the query.

ORA-19725: can not acquire plug-in enqueue

Cause: There maybe another “ALTER DATABASE RESET COMPATIBILITY” command issued concurrently, preventing this process from acquiring the plug-in enqueue.

Action: retry the operation.

ORA-19726: cannot plug data [string] at level string into database running at compatibility level string

Cause: Some of the data in the pluggable set requires a compatibility level higher than what is currently allowed by the database. The string in square bracket is the name of the compatibility type associated with the data.

Action: Raise the “compatible” init.ora parameter and retry the operation.

ORA-19727: cannot plug data [string] at level string into database running Oracle string

Cause: Some of the data in the pluggable set requires a compatibility level higher than the release level of the Oracle executable. The string in square bracket is the name of the compatibility type associated with the data.

Action: Upgrade Oracle and retry the operation.

ORA-19728: data object number conflict between table string and partition string in table string

Cause: The non-partitioned table has the same data object number as one of the partitions in the partitioned table. One can not exchange the table with the partition in this case.

Action: Use “alter table move partition” command to move the offending partition, so that the partition will get a new data object number. Retry the operation then.

ORA-19729: File string is not the initial version of the plugged in datafile

Cause: The file is not the initial version of the plugged in datafile.

Action: Use the correct initial version of the plugged in datafile.

ORA-19730: can not convert offline plugged-in datafile string

Cause: As part of making a tablespace read-write, we need to convert datafiles that are plugged in read-only. The file must be online.

Action: Online the datafile and retry the operation.

ORA-19731: cannot apply change to unverified plugged-in datafile string

Cause: Recovery was not able to verify the referred datafile according to information in the control file. Before encountering this change vector for this file, somehow recovery did not encounter the file conversion redo that is supposed to verify the file. This may happen due to corrupted or incorrect control file used for media recovery.

Action: Use the correct control file and continue recovery.

ORA-19732: incorrect number of datafiles for tablespace string

Cause: The number of datafiles in the export file for the referred tablespace is not the same as expected. This is most likely caused by a user editing the export file.

Action: Use the correct export file and retry the operation.

ORA-19733: COMPATIBLE parameter needs to be string or greater

Cause: The COMPATIBLE initialization parameter is not high enough to allow the operation. Allowing the command would make the database incompatible with the release specified by the current COMPATIBLE parameter.

Action: Shutdown and startup with a higher compatibility setting.

ORA-19734: wrong creation SCN – control file expects converted plugged-in datafile

Cause: When a tablespace is plugged into a database, the tablespace is initially read-only. Oracle converts the header of the plugged-in datafiles (assign them a new creation SCN) when the tablespace is first made read-write. This error occurs when the creation SCN in the file header is different from the creation SCN in the control file, possibly because this is the initial version of plugged-in datafile.

Action: Either restore the converted datafile or continue recovering the datafile.

ORA-19735: wrong creation SCN – control file expects initial plugged-in datafile

Cause: When a tablespace is plugged into a database, the tablespace is initially read-only. Oracle converts the header of the plugged-in datafiles (assign them a new creation SCN) when the tablespace is first made read-write. This error occurs when the creation SCN in the file header is different from the creation SCN in the control file, possibly because this is the converted datafile.

Action: Either restore the initial version of the plugged-in datafile, or continue database recovery, which will recover the control file.

ORA-19736: can not plug a tablespace into a database using a different national character set

Cause: Oracle does not support plugging a tablespace into a database using a different national character set.

Action: Use import/export or unload/load to move data instead.

ORA-19738: cannot find language information for character set: ‘string

Cause: The compatibility check failed because a character set name that was provided is not valid.

Action: Correct the character set name and retry.

ORA-19740: text is longer than string

Cause: The specified text exceeds the maximum length for text.

Action: Supply a shorter text and retry the operation.

ORA-19741: string exceeds maximum allowable length of string for parameter ‘string

Cause: The specified string exceeds the maximum allowable length for the parameter

Action: Supply a shorter string for the parameter and retry the operation.

ORA-19742: control file is not a backup control file

Cause: This parameter could not be set because the control file was not a backup control file.

Action: Do not use this call for this control file.

ORA-19743: could not unmount volume string:string

Cause: The specified server and volume combination was not found and could not be unmounted.

Action: Specify the server and volume name correctly to complete the operation successfully.

ORA-19744: Volume string:string is currently in use and cannot be unmounted.

Cause: The specified volume could not be unmounted because it was in use and had open files.

Action: Retry the unmount after all open files in the volume have been closed.

ORA-19750: change tracking file: ‘string

Cause: This message reports the name of a file involved in other messages.

Action: See associated error messages for a description of the problem.

ORA-19751: could not create the change tracking file

Cause: It was not possible to create the change tracking file.

Action: Check that there is sufficient disk space and no conflicts in file names and try to enable block change tracking again.

ORA-19752: block change tracking is already enabled

Cause: The ALTER DATABASE ENABLE BLOCK CHANGE TRACKING command was issued, but block change tracking is already turned on for this database.

Action: None, this is an informative message only.

ORA-19753: error writing to change tracking file

Cause: An I/O error occurred while writing to the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19754: error reading from change tracking file

Cause: An I/O error occurred while reading from the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19755: could not open change tracking file

Cause: The change tracking file could not be opened.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19756: corrupt block number string found in change tracking file

Cause: The specified block number is corrupt in the change tracking file.

Action: There will be other messages on the error stack that show details of the problem. There will also be a trace file that contains a complete dump of the corrupt block.

ORA-19757: could not resize change tracking file to string blocks

Cause: An error occurred while trying to change the size of the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19758: failed to enable/disable block change tracking: out of SGA memory

Cause: out of SGA memory

Action: Increase SGA and restart the instance.

ORA-19759: block change tracking is not enabled

Cause: A command was entered that requires block change tracking to be enabled, but block change tracking is not enabled.

Action: None, this is an informative message only.

ORA-19760: error starting change tracking

Cause: Change tracking is enabled, but a problem was encountered while enabling the change tracking subsystem in this instance. The alert log and the trace file from the CTWR process will contain more information about the error.

Action: Examine the trace and alert files. Correct the error if possible, otherwise disable change tracking.

ORA-19761: block size string is not valid for change tracking file

Cause: While opening the specified change tracking file, it was found that the file header did not contain a valid logical block size. This probably means that the file is corrupt.

Action: If the file can be repaired, do so, otherwise disable and re-enable change tracking to re-initialize the file.

ORA-19762: invalid file type string

Cause: An invalid file type was found in the change tracking file. Some other file was put in place of the change tracking file, or the file is corrupt.

Action: Disable then re-enable change tracking.

ORA-19763: compatibility version string is higher than maximum allowed: string

Cause: The compatibility version in the change tracking file is greater than what can be used by the current release of Oracle. This can happen when you upgrade, use change tracking with a new release, then downgrade.

Action: Disable then re-enable change tracking.

ORA-19764: database id string does not match database id string in control file

Cause: The change tracking file is not the correct one for this database. This can happen when the database ID for this database has been changed.

Action: Disable then re-enable change tracking.

ORA-19765: mount id string does not match mount id string in control file

Cause: The change tracking file does not match the one that was present when this instance was opened. In RAC, this error is most likely caused by having a change tracking file that cannot be consistently updated by all instances.

Action: In RAC, ensure that the name specified for the change tracking file truly represents the same disk location for all nodes in the cluster. Disable then re-enable change tracking.

ORA-19766: missing CHANGE keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19767: missing TRACKING keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19768: USING clause only valid with ENABLE CHANGE TRACKING

Cause: The USING clause was specified with DISABLE CHANGE TRACKING

Action: Correct the statement.

ORA-19769: missing FILE keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19770: invalid change tracking file name

Cause: The USING clause was specified with ALTER DATABASE ENABLE BLOCK CHANGE TRACKING, but no file name was given.

Action: Specify the change tracking file name, or omit the USING clause to allow Oracle to create a default name for the change tracking file.

ORA-19771: cannot rename change tracking file while database is open

Cause: The ALTER DATABASE RENAME FILE command was used to rename the change tracking file, and the database is open by one or more instances. The database must be mounted, and not open, to rename the change tracking file.

Action: Close the database and reissue the command.

ORA-19772: change tracking file name exceeds limit of string characters

Cause: The name specified for the change tracking file is too long.

Action: Specify a shorter change tracking file name.

ORA-19773: must specify change tracking file name

Cause: No file name was specified with the ALTER DATABASE ENABLE CHANGE TRACKING command, and the DB_CREATE_FILE_DEST parameter was not set.

Action: Either specify a file name, or set the DB_CREATE_FILE_DEST parameter.

ORA-19776: PROXY restore to ASM disk group “string” is not supported.

Cause: An attempt was made to proxy restore a file to ASM disk group using RMAN command. This is not supported.

Action: Use a different file name and reissue RMAN command.

ORA-19777: ASM file string cannot be proxy backed up.

Cause: An attempt was made to proxy backup a ASM file. This is not supported.

Action: Use a different file name and reissue RMAN command.

ORA-19779: could not obtain resilvering status for change tracking file

Cause: An error occurred while obtaining the mirror resilvering status of the change tracking file.

Action: Refer to other error messages shown for additional details of the problem.

ORA-19780: Active Data Guard option not enabled

Cause: Change tracking at a standby database required the Active Data Guard option.

Action: Enable the Active Data Guard option.

ORA-19781: The PROXY option is not supported on sparse file string

Cause: The PROXY option was used with a sparse file. This is not supported.

Action: Do not use the PROXY option with sparse files.

ORA-19800: Unable to initialize Oracle Managed Destination

Cause: The name given for an Oracle managed files destination cannot be initialized.

Action: Check previous error messages for the reason Oracle was unable to initialize destination. Take corrective action, if possible, and retry the command or use a different name for destination.

ORA-19801: initialization parameter DB_RECOVERY_FILE_DEST is not set

Cause: An attempt was made to create a file in DB_RECOVERY_FILE_DEST when DB_RECOVERY_FILE_DEST was not set. There are number of possible causes of this error, including: 1) A LOG_ARCHIVE_DEST_n parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archived log file creation was attempted. 2) STANDBY_ARCHIVE_DEST parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archived log file creation was attempted.

Action: Specify a valid destination for DB_RECOVERY_FILE_DEST in initialization parameter file or with the ALTER SYSTEM SET command.

ORA-19802: cannot use DB_RECOVERY_FILE_DEST without DB_RECOVERY_FILE_DEST_SIZE

Cause: There are two possible cause for this error: 1) The DB_RECOVERY_FILE_DEST parameter was in use when no DB_RECOVERY_FILE_DEST_SIZE parameter was encountered while fetching initialization parameter. 2) An attempt was made to set DB_RECOVERY_FILE_DEST with the ALTER SYSTEM command when no DB_RECOVERY_FILE_DEST_SIZE was in use.

Action: Correct the dependency parameter definitions and retry the command.

ORA-19803: Parameter DB_RECOVERY_FILE_DEST_SIZE is out of range (1 – string)

Cause: Parameter DB_RECOVERY_FILE_DEST_SIZE specified was not valid.

Action: Specify a valid number within the range.

ORA-19804: cannot reclaim string bytes disk space from string bytes limit

Cause: Oracle cannot reclaim disk space of specified bytes from the DB_RECOVERY_FILE_DEST_SIZE limit.

Action: There are five possible solutions: 1) Take frequent backup of recovery area using RMAN. 2) Consider changing RMAN retention policy. 3) Consider changing RMAN archived log deletion policy. 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete files from recovery area using RMAN.

ORA-19805: RECID string of string was deleted to reclaim disk space

Cause: The file described by the record in control file was deleted in order to reclaim disk space from recovery area for other operations.

Action: Wait and try again.

ORA-19806: cannot make duplex backups in recovery area

Cause: Duplex backup to recovery area is not supported.

Action: Remove duplex option and try again.

ORA-19808: recovery destination parameter mismatch

Cause: The value of parameters DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE must be same in all instances. instance. All databases must have same recovery destination parameters.

Action: Check DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE values in all instances.

ORA-19809: limit exceeded for recovery files

Cause: The limit for recovery files specified by the DB_RECOVERY_FILE_DEST_SIZE was exceeded.

Action: There are five possible solutions: 1) Take frequent backup of recovery area using RMAN. 2) Consider changing RMAN retention policy. 3) Consider changing RMAN archived log deletion policy. 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete files from recovery area using RMAN.

ORA-19810: Cannot create temporary control file string in DB_RECOVERY_FILE_DEST

Cause: An attempt was made to create a control file for a temporary purpose in DB_RECOVERY_FILE_DEST.

Action: Retry the operation with a new file name.

ORA-19811: cannot have files in DB_RECOVERY_FILE_DEST with keep attributes

Cause: An attempt was made to 1) Create a backup piece or image copy in the recovery area with KEEP option. 2) Update the KEEP attributes of an existing backup piece or image copy in the recovery area.

Action: Reissue RMAN command without KEEP options.

ORA-19812: cannot use string without DB_RECOVERY_FILE_DEST

Cause: There are three possible cause for this error: 1) The indicated parameter was in use when no DB_RECOVERY_FILE_DEST parameter was encountered while fetching the initialization parameter. 2) An attempt was made to set indicated the parameter with the ALTER SYSTEM command when no DB_RECOVERY_FILE_DEST was in use. 3) An attempt was made to clear DB_RECOVERY_FILE_DEST with the ALTER SYSTEM command when the indicated parameter was in use.

Action: Eliminate any incompatible parameter definitions.

ORA-19813: cannot have unavailable file string in DB_RECOVERY_FILE_DEST

Cause: An attempt was made to change a backup piece or image copy in recovery area to UNAVAILABLE.

Action: Correct and resubmit the RMAN command. Do not use messages 19814; it is used for simulating crash.

ORA-19815: WARNING: string of string bytes is string%% used, and has string remaining bytes available.

Cause: DB_RECOVERY_FILE_DEST is running out of disk space.

Action: One of the following: 1. Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 2. Backup files to tertiary device using RMAN. 3. Consider changing RMAN retention policy. 4. Consider changing RMAN archived log deletion policy. 5. Delete files from recovery area using RMAN.

ORA-19816: WARNING: Files may exist in string that are not known to database.

Cause: One of the following events caused this: 1. A database crash happened during file creation. 2. A backup control file was restored. 3. The control file was re-created. 4. DB_RECOVERY_FILE_DEST has previously been enabled and then disabled.

Action: Use RMAN command CATALOG RECOVERY AREA to re-catalog any such files. If the file header is corrupted, then delete those files using an OS utility. Do not use messages 19817; it is used for simulating lock failure Do not use messages 19818; it is used for space reclamation before backup Do not use messages 19819; it is used to disable clearing file name

ORA-19820: database must be in NOARCHIVELOG mode to disable logging

Cause: Logging was disabled when ARCHIVELOG mode was used.

Action: Execute ALTER DATABASE NOARCHIVELOG in mount state.

ORA-19821: an intentionally corrupt log file was found

Cause: A log file that was intentionally corrupt for testing or benchmarking purposes was found and failed the operation.

Action: Remove such log files and retry or use the NOARCHIVELOG option if possible.

ORA-19827: Restoring preplugin files to a recovery area is not supported.

Cause: An attempt to resore a preplugin file in a recovery area failed. This is not supported.

Action: Use the SET ARCHVIELOG DESTINATION RMAN command to specify an archivelog destination and retry the RESTORE or RECOVER command.

ORA-19830: error from target database: \nstring

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: No action required.

ORA-19831: incompatible string.string.string.string DBMS_BACKUP_RESTORE package: string.string.string.string required

Cause: This version of database was incompatible with the the indicated DBMS_BACKUP_RESTORE package installed in the database.

Action: If the database has been upgraded from an earlier version, ensure that the catxxxx.sql script has been run successfully. Re-install dbmsbkrs.sql and prvtbkrs.plb if necessary.

ORA-19836: cannot use passphrase encryption for this backup

Cause: Passphrase encryption was attempted for a backup that contains encrypted tablespaces and uses compression.

Action: Do not use passphrase encryption for this backup. Use transparent wallet-based encryption instead.

ORA-19837: invalid blocksize string in backup piece header

Cause: The blocksize of the backup piece obtained from the header was invalid.

Action: The backup piece is corrupted, a different backup piece should be used for restore.

ORA-19838: cannot use this control file to mount or open database

Cause: This control file was restored by a DUPLICATE operation used only to restore and recover the data files of the new database. It is not meant to be used for mounting or opening the database, as allowing so might corrupt data files or online redo logs of the target database or both.

Action: Re-create the control file manually specifying all of the names of the data files and online redo logs. Do not forget to use NID to change the name or DBID or both of the new database.

ORA-19839: snapshot datafile checkpoint time is greater than snapshot time

Cause: The snapshot time which was specified when starting the recovery less than data file’s checkpoint time. The snapshot recovery is only possible with data file’s whose checkpoint time is less than snapshot time.

Action: Restore the data file’s associated for the specified snapshot time or specify the correct snapshot time associated with the data file.

ORA-19840: SNAPSHOT TIME recovery is not enabled

Cause: An attempt was made to use SNAPSHOT TIME recovery. But, the feature was not enabled.

Action: Contact Oracle Support Services to enable snapshot time recovery and then retry the command.

ORA-19841: Cross-platform backups require COMPATIBLE string or greater

Cause: An attempt to create a cross-platform backup was made but the COMPATIBLE parameter was not set to a high enough value to allow this.

Action: Do not attempt to use this functionality or raise the compatibility level.

ORA-19842: The current database incarnation changed during backup

Cause: The backup failed because the current database incarnation was changed during the backup. One of the following events caused this incarnation change: – The database was opened using ALTER DATABASE OPEN RESETLOGS statement. – RMAN command RESET DATABASE TO INCARNATION was issued. – If this happened on physical standby database, then redo apply has applied redo data from a new database incarnation.

Action: Retry the backup.

ORA-19843: Cannot obtain datafile name for datafile string

Cause: While trying to obtain the file enqueue for the datafile the datafile name could not be obtained.

Action: Examine the trace and alert files for possible causes. Fix underlying problem before attempting command again.

ORA-19844: database ID is from different database: ID=string

Cause: The database ID on the remote site did not match the ID of the target database. This is most likely caused by a wrong service name for the remote connection.

Action: Supply the correct service name and retry the command.

ORA-19845: error in string while communicating with remote database server

Cause: An error occurred while initiating backup on remote database server for network restore. Additional error messages will be issued to describe the failure.

Action: Check additional error messages.

ORA-19846: cannot read header of datafile string from remote site

Cause: Unable to read the file header from remote site.

Action: Make sure the data file is accessible on remote site and retry the command.

ORA-19847: cannot read header of control file from remote site

Cause: Could not read the control file header from the remote site.

Action: Make sure the database is mounted on the remote site and retry the command.

ORA-19848: cross-platform backup piece requires COMPATIBLE string or greater

Cause: An attempt was made to perform a cross-platform operation from a backup piece created with a higher compatibility than the current COMPATIBLE parameter.

Action: Raise the compatibility level or do not attempt a cross-platform restore from this backup piece.

ORA-19849: error while reading backup piece from service string

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: See other errors actions.

ORA-19850: backup piece constructed from service string is corrupt

Cause: This error indicates that the backup piece that was constructed from the service is corrupt.

Action: See alert log for details of the corruption. Fix the corruption and retry the command.

ORA-19851: OS error while managing auxiliary database string

Cause: An OS error was received while managing the automatic auxiliary instance.

Action: Check the accompanying errors.

ORA-19852: error creating services for auxiliary instance string (error string)

Cause: An error was received while managing the services of the auxiliary instance.

Action: Check the accompanying errors.

ORA-19853: error preparing auxiliary instance string (error string)

Cause: An error was received while managing the automatic auxiliary instance.

Action: Check the accompanying errors.

ORA-19854: error obtaining connect string from target

Cause: Could not obtain the connect string from the target database

Action: Check the accompanying errors.

ORA-19855: cannot use clone mounted control file to drop database

Cause: The clone mounted control file could not be used to drop the database because the names of the data files and online logs were not fixed using the RMAN DUPLICATE command. This could cause the original database files to be lost.

Action: Manually drop the database.

ORA-19860: piece validation cannot be performed more than once

Cause: The user attempted to validate a list of backup pieces more than once. Validation may only be performed once for a given validation conversation.

Action: Do not attempt to validate the pieces more than once.

ORA-19861: additional backup pieces cannot be validated in this conversation

Cause: The user tried to add new pieces to the list of files being validated after the validation had already been performed. In a validation conversation, the list can only be validated once.

Action: Add all the backup pieces to the list before validating, or start a new validation conversation for the remaining pieces.

ORA-19862: backup pieces must be validated before accessing results

Cause: The user tried to get validation results for backup pieces before the pieces were actually validated.

Action: Validate the pieces before trying to access the results.

ORA-19863: device block size string is larger than max allowed: string

Cause: The user specified a device BLKSIZE that is larger than the device BLKSIZE specified during compressed backup.

Action: Change the device BLKSIZE to be smaller than the maximum allowed.

ORA-19864: string
ORA-19865: Backup piece string has no data

Cause: No data was returned for the specified backup piece.

Action: This normally indicates a problem with the media management software which is linked with Oracle to provide backup and restore services. Contact the media management software vendor.

ORA-19866: error writing file header for datafile string

Cause: During a block recovery, the header of the datafile could not be updated.

Action: Contact Oracle Support Services.

ORA-19867: backup piece string is from a different container identifier string; data file string

Cause: This backup piece container identifier did not match the supplied data file container identifier.

Action: Retry the command with the correct backup piece or the correct data file.

ORA-19870: error while restoring backup piece string

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: See other errors actions.

ORA-19872: Unexpected end of file at block string while decompressing backup piece string

Cause: While reading a compressed backup piece, RMAN received an end-of-file without finding the end-of-compression stream.

Action: This is most likely caused by a corrupted backup piece. Consider using a different backup piece for restore.

ORA-19873: cannot apply this backup section to file string

Cause: RMAN cannot restore a multi-section backup to the indicated file, because this section is not a backup of this file, or the file was not prepared correctly for this restore.

Action: If this error occurs while running RMAN, then it is an internal error and you should contact Oracle support.

ORA-19874: cannot finish multisection restore or copy to file string

Cause: During a multisection restore or copy, the file being restored was not a file in which a multisection restore or copy was in progress.

Action: If this error occurs while running RMAN, then it was an internal error and you should contact Oracle Support Services.

ORA-19875: multisection restore or copy not complete for file string

Cause: While completing a multisection restore or copy, it was found that all required sections for this file were not correctly applied.

Action: If this error occurs while running RMAN, then it is an internal error and you should contact Oracle Support Services.

ORA-19880: Corrupted space header for datafile string, block string

Cause: When reading the space header block to use Unused Block Optimization for the backup of the datafile, the space header block had corrupted information.

Action: The corrupt space header must be fixed before Unused Block Optimization can be used for this file. Note that you should fix the corruption in any case because it will affect the availability of the data in the file, beyond just taking backups.

ORA-19881: Corrupted space bitmap for datafile string, block string

Cause: When reading a space bitmap block to use Unused Block Optimization for the backup of the datafile, the space bitmap block had corrupted information.

Action: The corrupt space bitmap must be fixed before Unused Block Optimization can be used for this file. Note that you should fix the corruption in any case because it will affect the availability of the data in the file, beyond just taking backups.

ORA-19882: datafile string checkpoint string is ahead of space bitmap datafile string checkpoint string

Cause: When checkpointing the datafile containing the space bitmaps for the datafile being backed up in order to use Unused Block Optimization, the checkpoint of the datafile containing the space bitmaps did not advance.

Action: Examine the trace and alert files for possible causes. Fix underlying problem to use Unused Block Optimization for datafile’s backup.

ORA-19883: Unused Block Optimization stopped for data file string

Cause: Accompanying errors detail the problem that prevented Unused Block Optimization from being used.

Action: See accompanying errors for appropriate action.

ORA-19884: datafile string is unable to use Unused Block Optimization because tablespace has been dropped

Cause: When attempting to find information about datafile that holds bitmaps of migrated tablespace, the tablespace was found to have been dropped.

Action: None. This is an informational message.

ORA-19899: missing incarnation information

Cause: Media recovery stopped because information of one or more ancestor incarnations of recovery target incarnation was not available.

Action: Register logs from the missing incarnations and retry recovery.

ORA-19900: RESETLOGS must be specified after recovery to new incarnation

Cause: Recovery was done to an incarnation after changing the destination incarnation using RMAN’s RESET DATABASE command.

Action: Open the database with the RESETLOGS option.

ORA-19901: database needs more recovery to create new incarnation

Cause: Recovery was done to an incarnation after changing the destination incarnation using RMAN’s RESET DATABASE command, but one or more of the recovered datafiles still belongs to the parent incarnation. This usually happens when recovery is ended before any logs from the desired incarnation have been applied.

Action: Continue recovery.

ORA-19902: incarnation key string not found

Cause: The specified incarnation was not found in the control file.

Action: Resubmit request with known incarnation key. To see which incarnations are available for this target database, query V$DATABASE_INCARNATION or use RMAN’s LIST INCARNATION command.

ORA-19903: test recovery not allowed when recovering to new incarnation

Cause: Either a new incarnation was set using RMAN’s RESET DATABASE command for a control file that was CURRENT, or the control file is from a prior incarnation. As recovery to a new incarnation requires changing the control file, test recovery is not allowed.

Action: Perform actual recovery or RESET DATABASE to incarnation that was last opened using the control file to do test recovery.

ORA-19904: test recovery not allowed for datafile string

Cause: The specified datafile has been restored from a backup that was taken before the last RESETLOGS. Recovering this datafile will require a file header update that is incompatible with test recovery.

Action: Perform actual recovery.

ORA-19905: log_archive_format must contain %string, %string and %%r

Cause: log_archive_format is missing a mandatory format element. Starting with Oracle 10i, archived log file names must contain each of the elements %s(sequence), %t(thread), and %r(RESETLOGS ID) to ensure that all archived log file names are unique.

Action: Add the missing format elements to log_archive_format.

ORA-19906: recovery target incarnation changed during recovery

Cause: While a media recovery was active, a new incarnation was detected by the server due to inspection or cataloging of archived logs or backup files.

Action: If you want recovery to use the new incarnation, restart recovery. This is the most common action on a standby database when RESETLOGS is done in primary. If you do not want recovery to use the new incarnation, change the recovery destination using RMAN’s RESET DATABASE TO INCARNATION <incarnation#> command. To see which incarnations are available for this target database, query V$DATABASE_INCARNATION or use RMAN’s LIST INCARNATION command.

ORA-19907: recovery time or SCN does not belong to recovered incarnation

Cause: A point-in-time recovery to an SCN or time stamp prior to the last RESETLOGS was requested.

Action: Either change the specified recovery time/SCN, or change the recovery destination using RMAN’s RESET DATABASE command.

ORA-19908: datafile string has invalid checkpoint

Cause: The specified datafile has an invalid checkpoint.

Action: Restore the datafile from a backup.

ORA-19909: datafile string belongs to an orphan incarnation

Cause: Either the specified datafile was restored from a backup that was taken during a period of time that has already been discarded by a RESETLOGS operation, or Oracle cannot identify which database incarnation the file belongs to. The alert log contains more information.

Action: Restore a backup of this file that belongs to either the current or a prior incarnation of the database. If you are using RMAN to restore, RMAN will automatically select a correct backup.

ORA-19910: can not change recovery target incarnation in control file

Cause: The RESET DATABASE TO INCARNATION command was used while the database is open. This is not allowed.

Action: Close the database then re-issue the command.

ORA-19911: datafile string contains future changes at the incarnation boundary

Cause: The file did not hit end backup marker redo during recovery at the incarnation boundary, hence may contain changes discarded by new incarnation.

Action: Use older backup of the file and then re-issue the command.

ORA-19912: cannot recover to target incarnation string

Cause: The control file is not in the recovery path of the target incarnation, and does not contain enough information as to how to recover to the target incarnation.

Action: Restore the latest control file from the target incarnation and retry.

ORA-19913: unable to decrypt backup

Cause: A backup piece could not be decrypted. This message is accompanied with another message that indicates the name of the encrypted backup that could not be restored. The reason could be either that an invalid password was entered, or that, when using transparent decryption, the database external security device is not open.

Action: If password-based restore was enabled for this backup, then supply the correct password using the RMAN SET DECRYPTION command. If transparent restore was enabled for this backup, then ensure that the database external security device is open.

ORA-19914: unable to encrypt backup

Cause: RMAN could not create an encrypted backup. This message will be accompanied by other messages that give more details about why the encrypted backup could not be created. The most common reason for this message is that you are trying to create a backup that can be transparently decrypted, and the database external security device is not open.

Action: If the external security device is not open, then open it. If the external security device is not configured, then the only type of encrypted backup that you can create is a password-based backup.

ORA-19915: unable to encrypt pre-10.2 files

Cause: An RMAN encrypted backup was requested, but this backup includes one or more archived logs that were generated by an older release of Oracle. These archived logs cannot be encrypted.

Action: Back up the older logs without encryption. Logs created with Oracle release 10.2 and greater can be encrypted.

ORA-19919: encrypted backups to tertiary storage require Oracle Secure Backup

Cause: RMAN was configured to create encrypted backups, but the channel is neither a DISK channel nor an Oracle Secure Backup channel.

Action: Allocate a DISK channel or an Oracle Secure Backup channel to use backup encryption.

ORA-19920: RMAN does not support PKI-based master key for encryption.

Cause: An attempt was made to use Oracle public key infrastructure (PKI) based master key algorithm. RMAN only supports Advanced Encryption Standard (AES) based encryption.

Action: Use AES based encryption.

ORA-19921: maximum number of string rows exceeded

Cause: The maximum number of rows in the V$RMAN_STATUS or V$RMAN_OUTPUT table has been exceeded.

Action: Close some of existing and unused RMAN connections and sessions.

ORA-19922: there is no parent row with id string and level string

Cause: RMAN tried to add a new V$RMAN_STATUS row, but the parent row did not exist.

Action: This is an internal error. Contact Oracle Support.

ORA-19923: the session for row with id string is not active

Cause: RMAN tried to update an V$RMAN_STATUS row but the process which owns this row died.

Action: This is an internal error. Contact Oracle Support.

ORA-19924: there are no row with id string

Cause: RMAN tried to update an V$RMAN_STATUS row, but the row don’t exist.

Action: This is an internal error. Contact Oracle Support.

ORA-19925: Internal error while cleaning memory used by V$RMAN_STATUS view
ORA-19926: Database cannot be converted at this time

Cause: Another CONVERT DATABASE operation is already in progress.

Action: Retry CONVERT DATABASE command later.

ORA-19927: CONVERT DATABASE operation cannot proceed

Cause: An error occurred earlier during CONVERT DATABASE operation.

Action: Retry CONVERT DATABASE command.

ORA-19928: CONVERT of data files with undo segments between different endian is not supported.

Cause: Conversion of data files with undo segments was not supported between endianess. The only time that data files with undo segments can be converted is between the same endianess as part of convert database. Convert database between different endian is not supported.

Action: Do not attempt to convert data files with undo segments between different endian.

ORA-19929: no archive log registered

Cause: An error occurred during ALTER DATABASE RECOVER with the FORCE START AT option because there were no archive logs registered in the control file covering the specified start SCN or time.

Action: Register archive logs covering the specified SCN or time.

ORA-19930: file string has invalid checkpoint SCN string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, the file header was not recognized as a valid header because it contained a invalid checkpoint SCN. The indicated file cannot be processed.

Action: Ensure that the correct files are being specified for the catalog or backup operation.

ORA-19931: file string has invalid creation SCN string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, the file header was not recognized as a valid header because it contained a invalid creation SCN. The indicated file cannot be processed.

Action: Ensure that the correct files are being specified for the catalog or backup operation.

ORA-19932: control file is not clone, standby or backup

Cause: The operation failed because the control file was not mounted as clone, standby or backup.

Action: Mount the database as clone, standby or backup and retry.

ORA-19933: catalog backup piece string of data pump dump file is not supported

Cause: This backup piece contained data pump dump file. Cataloging such a backup piece is not supported.

Action: Do not request to catalog data pump dump file backup piece.

ORA-19934: cannot validate block 0

Cause: An attempt was made to validate block 0 of a datafile.

Action: Do not specify block 0 for validation.

ORA-19935: During backing up, the data file string is moved or rekeyed to string.

Cause: The data file was moved or rekeyed.

Action: Check the status of the data file and try this command again.

ORA-19936: some tablespaces were not found in backup set

Cause: Some tablespaces that were specified for restoration were not found in the backup set directory. Message 19937 is issued for each file that was not found.

Action: See the instructions for message 19937.

ORA-19937: tablespace string was not found in backup set

Cause: The indicated tablespace could not be restored because it was not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more tablespaces named for restoration are not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files or tablespaces or both.

ORA-19938: Data Pump dump file backup requires COMPATIBLE string or greater

Cause: Data Pump dump file backup requested but COMPATIBLE did not allow it.

Action: Do not request dump file backup or set COMPATIBLE to minimum value and retry backup.

ORA-19939: Data Pump dump file can only be included in a cross-platform backup

Cause: Data Pump dump file backup requested but the backup conversation is not a cross-platform conversation.

Action: Start a new cross-platform backup conversation or do not include a Data Pump dump file.

ORA-19940: cannot use cross-platform backups to convert whole database to different endianess

Cause: Cross-platform backups or restores of whole database between different endianess was requested but it is not supported.

Action: Revise the specified platforms for conversion before retrying the command.

ORA-19941: invalid blocksize in cross-platform datafile string

Cause: Blocksize in header of datafile copy being converted at target was invalid. Either datafile has not been made read/write with compatibility 10.0 or greater at source database or datafile copy is corrupted.

Action: Make a new datafile copy taken after tablespace has been made read/write with compatibility 10.0 at source database and retry conversion.

ORA-19942: datafile copy string not created with compatibility 10.0 or greater

Cause: The specified datafile copy to be converted at the target was not produced after making the tablespace in read/write mode with compatibility 10.0 or greater at the source database.

Action: Make a new datafile copy taken after tablespace has been made read/write with compatibility 10.0 at source database and retry conversion.

ORA-19943: Data Pump dump file not found in backup set

Cause: The Data Pump dump file could not be restored because it was not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and the Data Pump dump file is not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19944: Specified platform: ‘string‘ does not match piece header platform: ‘string

Cause: The backup piece did not belong to the platform specified in FROM PLATFORM.

Action: Retry the restore using the correct FROM PLATFORM or without specifying FROM PLATFORM at all.

ORA-19945: file string already included to be restored to string

Cause: This file was already specified for inclusion in this restore conversation. The restore conversation may process only a single instance of a datafile.

Action: No action required. The conversation is still active and more files can be specified.

ORA-19946: Cannot determine block size of backup piece ‘string‘ (string)

Cause: It was not possible to determine the cross-platform transportable backup piece block size.

Action: Contact Oracle Support Services.

ORA-19947: Invalid block size string in backup piece ‘string‘ from specified platform ‘string

Cause: The block size obtained from the backup piece using the specified platform was not valid. Either the piece is corrupted or the specified platform is incorrect.

Action: Retry the restore using the correct FROM PLATFORM clause.

ORA-19948: Backup piece does not contain a cross-platform datafile backup, reason=string

Cause: A cross-platform transportable restore was specified but the backup piece was not produced with the correct command.

Action: Produce a cross-platform transportable backup piece by using BACKUP … TO PLATFORM and retry the restore.

ORA-19949: Specified platform: ‘string‘ has different endianess than piece ‘string‘, cannot read

Cause: The backup piece had a different endianess than the platform specified in FROM PLATFORM.

Action: Retry the restore using the correct FROM PLATFORM or without specifying FROM PLATFORM at all.

ORA-19950: tablespace string already included to be restored

Cause: This tablespace was already specified for inclusion in this restore conversation.

Action: No action required. The conversation is still active and more tablespaces or files or both can be specified. The restore conversation may process only a single instance of a tablespace.

ORA-19951: cannot modify control file until DBNEWID is completed

Cause: An operation requiring to modify the control file was attempted, but a NID change is in progress.

Action: Wait until NID completes before attempting the operation.

ORA-19952: database should be mounted exclusively

Cause: The database was started in parallel mode. To change the DBID, the database must be mounted exclusively.

Action: Shut down the database and start it in exclusive mode.

ORA-19953: database should not be open

Cause: The database was open. To change the DBID, the database must be mounted exclusively.

Action: Shut down the database and mount it in exclusive mode.

ORA-19954: control file is not current

Cause: The operation failed because a non-current, non-standby control file was mounted.

Action: Make the control file current and retry.

ORA-19955: only one open thread is allowed to change the DBID

Cause: The operation failed because there were active threads in the database. The most likely cause is that the database crashed the last time it was shut down.

Action: Ensure that all threads are closed before retrying the operation. Start and open the database to perform crash recovery, then shut down with the NORMAL or IMMEDIATE options to close it cleanly. Finally, try running the utility again.

ORA-19956: database should have no offline immediate datafiles

Cause: The operation failed because the database had one or more datafiles that were in OFFLINE IMMEDIATE mode.

Action: Drop the datafiles or recover them and bring them online.

ORA-19957: database should have no datafiles in unknown state

Cause: The operation failed because the database had one or more datafiles that were in an unknown state.

Action: Drop the datafiles or recover them and bring them online.

ORA-19958: potential deadlock involving DIAG process

Cause: DIAG requested a control file operation that may lead to a deadlock

Action: Try last operation later when the control file is released

ORA-19959: DBNEWID utility only allowed in CDB$ROOT

Cause: An attempt was made to use the DBNEWID utility in a pluggable database.

Action: Connect to CDB$ROOT and retry the command.

ORA-19960: Internal use only

Cause: NID usage

Action: None

ORA-19961: compression algorithm string requires advanced compression option to be enabled

Cause: Requested compression algorithm in initialization parameter or by RMAN configuration requires that the advanced compression option be enabled and it was not.

Action: Change initialization parameter advanced_compression_option_usable to true or change RMAN configurations and retry the operation.

ORA-19962: compression algorithm string is not valid with release string

Cause: Algorithm in initialization parameter requires a lower compatibility that is currently set.

Action: Change algorithm in initialization parameter file or lower compatibility.

ORA-19963: error getting logical block size of file string

Cause: Error occurred when querying the logical block size of a file.

Action: None

ORA-19965: ALTER DATABASE RECOVER STANDBY TABLESPACE has been deprecated

Cause: The STANDBY TABLESPACE clause of the ALTER DATABASE RECOVER statement (partial_database_recovery clause) has been deprecated.

Action: If you want to recover the standby database to a consistent point, but no further, use the statement ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CONSISTENT.

ORA-19966: ALTER DATABASE RECOVER STANDBY DATAFILE has been deprecated

Cause: The STANDBY DATAFILE clause of the ALTER DATABASE RECOVER statement (partial_database_recovery clause) has been deprecated.

Action: If you want to recover the standby database to a consistent point, but no further, use the statement ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CONSISTENT.

ORA-19970: multi-instance standby role transition in progress

Cause: ALTER DATABASE MOUNT failed because a multi-instance standby role transition was in progress.

Action: Retry after the multi-instance standby role transition finishes.

ORA-19971: event 10875 or 10879 is set

Cause: Event 10875 or event 10879 was set which prevented the operation from completing with multiple instances running in Oracle RAC.

Action: Shutdown all but one instance, then retry the command.

ORA-19972: ALTER DATABASE RECOVER TO LOGICAL requires one instance left

Cause: ALTER DATABASE RECOVER TO LOGICAL required only one instance to be left running.

Action: Shutdown all but one instance, then retry the command.

ORA-19973: flashback database is not enabled

Cause: Physical standby transition to snapshot standby required only one instance left running if flashback database logging was not enabled.

Action: Shutdown all but one instance, then retry the command.

ORA-19974: database name has changed

Cause: Physical standby role transition required only one instance left running if database name was changed and flashback database logging was enabled.

Action: Shutdown all but one instance, then retry the command.

ORA-19975: database must not be started in any other instance

Cause: The physical standby role transition command failed because a certain condition required the database to be mounted in this instance and not started in any other instance.

Action: See associated error message for detailed explanation.

ORA-19976: a concurrent standby role transition in progress

Cause: The standby role transition operation failed because a concurrent standby role transition was already in progress.

Action: None

ORA-19980: cannot open Data Pump dump file string

Cause: When attempting to open the specified dump file, an error was received.

Action: Verify that the specified dump file exists and is accessible.

ORA-19981: cannot read header of Data Pump dump file string

Cause: When attempting to read the header of the specified dump file, an error was received.

Action: Verify that the specified dump file is complete.

ORA-19982: file string is not a Data Pump dump file

Cause: The specified dump file did not contain data created by Data Pump.

Action: Verify that the specifed dump file is really a file created by Data Pump.

ORA-19983: Data Pump dump file could not be verified

Cause: Some data blocks for the Data Pump dump file were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the Data Pump dump file cannot be restored from this backup set.

ORA-19984: Data Pump dump file restore requires COMPATIBLE string or greater

Cause: Data Pump dump file restore requested but COMPATIBLE did not allow it.

Action: Do not request dump file backup or set COMPATIBLE to minimum value and retry backup.

ORA-19985: Data Pump dump file can only be requested in a cross-platform restore

Cause: Data Pump dump file restore requested but the restore conversation is not a cross-platform conversation.

Action: Start a new cross-platform restore conversation or do not include a Data Pump dump file.

ORA-19986: archived log backup piece found for cross-platform backup

Cause: A cross-platform backup was requested for a backup piece that contained archived logs.

Action: Specify a datafile backup piece for cross-platform processing.

ORA-19987: unknown platform ID string

Cause: The platform ID obtained from a cross-platform backup was incorrect.

Action: Verify that the platform specified in the FROM PLATFORM clause is correct.

ORA-19988: must specify FROM PLATFORM for cross-platform restore of backup sets with pre-12.1 compatibility

Cause: A cross-platform restore was requested from a backup piece created with pre-12.1 compatibility without providing the platform name that created it.

Action: Reissue the command including the FROM PLATFORM clause.

ORA-19990: restore from cross-platform encrypted backup is not supported

Cause: A cross-platform restore was requested from an encrypted backup set.

Action: Specify a non-encrypted backup set from which to perform the restore.

ORA-19991: cross-platform backup of encrypted backups to different endianess is not supported

Cause: A cross-platform backup was requested for an encrypted backup to a different endianess from the current platform.

Action: Do not specify an encrypted backup or specify the same endian platform.

ORA-19992: cross-platform backup of encrypted backup piece with different endianess is not supported

Cause: A cross-platform backup was requested for an encrypted backup piece with different endianess from the current platform.

Action: Specify a backup piece without encryption to the backup.

ORA-19993: must specify FROM PLATFORM for cross-platform backup of backup pieces with compatibility set prior to 12.1

Cause: A cross-platform backup was requested for a backup piece created with compatibility prior to 12.1 without providing the platform name that created it.

Action: Reissue the command including the FROM PLATFORM clause.

ORA-19994: cross-platform backup of compressed backups to different endianess is not supported

Cause: A cross-platform backup was requested for a compressed backup to a different endianess from the current platform.

Action: Do not specify a compressed backup or specify the same endian platform.

ORA-19995: controlfile cannot be restored from a cross-platform backup with different endianess

Cause: A restore of the controlfile was requested from a cross-platform backup, but the backup did not have the same endianess and restore was not possible.

Action: Do not attempt to restore a controlfile from a cross-platform backup set.

ORA-19996: cross-platform backup of backup pieces with pre-10.2 compatibility is not supported

Cause: A cross-platform backup was requested for a backup created with pre-10.2 compatibility.

Action: Do not attempt to perform cross-platform backup of backups created with with pre-10.2 compatibility.

ORA-19997: backup pieces prior to 10.2 cannot be operated for cross-platform

Cause: A cross-platform operation was requested for a backup created with pre-10.2 compatibility.

Action: Do not attempt to perform the cross-platform operation of backups created with pre-10.2 compatibility.

ORA-19998: data file string already included to be plugged

Cause: This data file was already specified for inclusion in this restore conversation.

Action: No action required. The conversation is still active and more files can be specified. 19999 is used for event

ORA-19999: skip_row procedure was called

Cause: The skip_row procedure was called which raises this error

Action: Skip_row should only be called within a trigger or a procedure called by a trigger.

ORA-20000: string

Cause: The stored procedure ‘raise_application_error’ was called which causes this error to be generated.

Action: Correct the problem as described in the error message or contact the application administrator or DBA for more information.

10 total views, no views today

TNS-12547: TNS:lost contact and Linux Error: 32: Broken pipe While Connect Oracle 12c Data Guard

$
0
0

I installed Oracle 12c Data Guard, everything was okey. But, I got an error like below when I wanted to connect data guard database with Toad or SQL Developer. tnsping was okey.

Error

SQL Developer :

Status : Failure -Test failed: IO Error: Got minus one from a read call

Listener.log

10-OCT-2017 15:01:16 * (CONNECT_DATA=(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=testuser))(SERVICE_NAME=TDG)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=testuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.24)(PORT=49834)) * establish * TDG * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe

Solution

If you have grid user to manage listener, you have to give permission on $ORACLE_HOME/bin/oracle executable file. You have to give chmod 6751 permission. This provides that grid user can execute oracle file like oracle user. Oracle open process on OS when you connect to database. If you connect from remote with using listener, listener owner (grid) will want to open new process on OS but grid user cannot open process with using $ORACLE_HOME/bin/oracle file due to do not have permission. So you have to give 6751 permission to use $ORACLE_HOME/bin/oracle file.

[root@tdg bin] chmod 6751 oracle

You can see the same problem 11g and 12c version of Oracle Data Guard. When oracle rac installation or single instance installation with grid, oracle automatically change permission of $ORACLE_HOME/bin/oracle file to 6751.

30 total views, 30 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-17500 to ORA-18000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-17500 to ORA-18000

ORA-17500: ODM err:string

Cause: An error returned by ODM library

Action: Look at error message and take appropriate action or contact Oracle Support Services for further assistance

ORA-17501: logical block size string is invalid

Cause: logical block size for oracle files must be a multiple of the physical block size, and less than the maximum

Action: check INIT.ORA file parameters

ORA-17502: ksfdcre:string Failed to create file string

Cause: file creation failed due to either insufficient OS permission or the file already exists

Action: check additional error messages

ORA-17503: ksfdopn:string Failed to open file string

Cause: file open failed due to either insufficient OS permission or the name of file exceeds maximum file name length.

Action: check additional error messages

ORA-17504: ksfddel:Failed to delete file string

Cause: The file that was being deleted is still in use or the process has insufficient permission to delete file.

Action: check additional error messages

ORA-17505: ksfdrsz:string Failed to resize file to size string blocks

Cause: There is insufficient space left on the device or the process has insufficient permission to resize file.

Action: check additional error messages

ORA-17506: I/O error simulation

Cause: The I/O request was marked with an error because the I/O error simulation event was turned on.

Action: n/a

ORA-17507: I/O request size string is not a multiple of logical block size.

Cause: I/O’s were done in a multiple of the logical block size.

Action: Check additional error messages.

ORA-17508: I/O request buffer pointer is not aligned.

Cause: I/O request buffer was not aligned. Check additional information for a buffer pointer value.

Action: Contact Oracle Support Services.

ORA-17509: An attempt to do I/O beyond block1 offset.

Cause: When a file is identified with logical block size of 0, only I/O’s to block1 is allowed.

Action: Check additional error messages and contact Oracle Support Services.

ORA-17510: An attempt to do I/O of size string to block string is beyond file size string. Logical block size: string.

Cause: The I/O request pointed to a block beyond the end of the file.

Action: Check additional error messages and contact Oracle Support Services.

ORA-17512: Block Verification Failed

Cause: Block Verification after a read operation on a database file failed since the block is media corrupt.

Action: check additional error messages in the trace file and call Oracle Support Services

ORA-17513: dNFS package call failed

Cause: An attempt was made to call a Direct NFS (dNFS) package in a non-dNFS environment.

Action: Ensure that dNFS is enabled and the file can be accessed using dNFS.

ORA-17514: Access to clonedb bitmap file failed

Cause: Accessing the bitmap block file in clonedb environment has encountered an error

Action: check additional error messages in the trace file and call Oracle Support Services

ORA-17515: Creation of clonedb failed using snapshot file string

Cause: Creating a data file in a CloneDB environment failed.

Action: Ensure that the snapshot file passed to CloneDB is not from another CloneDB instance and call Oracle Support Services for further assistance.

ORA-17516: dNFS asynchronous I/O failure

Cause: The asynchronous I/O request failed due to storage server reboot.

Action: Ensure that the storage server does not reboot repeatedly during database operations.

ORA-17517: Database cloning using storage snapshot failed on file string:string

Cause: An invocation of the storage clone command was returned with an error.

Action: Ensure that all necessary steps are performed for storage cloning and check the Oracle trace file for additional information.

ORA-17518: backup file string cannot be found

Cause: Access to the specified backup file was required for Instant Restore.

Action: Ensure that the path and file name are correct for the backup file and the path to the backup file can be accessed from the node of the instance.

ORA-17519: Reason(string): data file string cannot be prepared

Cause: The snapshot layer could not prepare the specified data file.

Action: Ensure that the file does not already exist, is already part of a clone setup, or is being repopulated by an Instant Restore background process. Ensure that the path specified is accessible and writable by the instance.

ORA-17520: data file string cannot be added to repopulation

Cause: Instant Restore could not add the file to the repopulation work queue.

Action: The repopulation process may be working on too many files for the system. Try waiting for some files to complete and try again.

ORA-17521: Instant Restore is not enabled

Cause: The initialization parameters for Instant Restore were not set.

Action: Ensure that Instant Restore initialization parameters are set as required for this feature.

ORA-17522: file string is already being repopulated

Cause: The file was already being repopulated from a previous restore.

Action: Ensure that the file completes restore before you start another restore.

ORA-17523: Instance number cannot spawn repopulation (RPOP) process

Cause: The instance had too many running processes.

Action: Ensure that the maxmimum number of processes initialization parameter is set properly for this feature.

ORA-17524: Repopulation cannot take place – no RPOP processes

Cause: The maxmimum processes initialization parameter was not set properly.

Action: Ensure that the maxmimum number of processes initialization parameter is set properly for this feature. Check the alert log for other related errors.

ORA-17525: Database clone using storage snapshot not supported on file string

Cause: Cloning a database using storage level snapshot is not supported on the underlying storage.

Action: Use storage product that has snapshot based cloning support for Oracle.

ORA-17526: Block size of file string is too small string. Must be >= string.

Cause: Files with block sizes smaller than a minimum size cannot be used for clones backed by snapshot file.

Action: Use files with larger block size.

ORA-17527: Creation of a snapshot failed because the destination string was not a sparse disk group.

Cause: Creating a snapshot failed because the destination disk group was not a sparse disk group.

Action: Ensure that the CREATE_FILE_DEST clause passed to the snapshot copy is in a sparse disk group.

ORA-17528: A read-only file or a file opened read-only cannot be written to: string.

Cause: The file was read-only or was opened read-only and an attempt was made to write to the file, or there was an internal error.

Action: If the file is a parent of a snapshot, then you cannot open read/write, drop or unplug the database. Otherwise, look at the trace file and contact Oracle Support Services.

ORA-17529: creation of compressed file failed

Cause: An attempt was made to create a compressed file on an instance that was not a CloneDB instance.

Action: Set CLONEDB parameter to TRUE and retry the operation.

ORA-17530: snapshot (parent), string, modified after clone (child) created, string

Cause: The snapshot referred to by the clone was incompatible with what the clone was created.

Action: Locate the appropriate snapshot and place it in the named location.

ORA-17531: snapshot (parent)=string modification time string is different from snapshot creation time string recorded in file string

Cause: The clone (child) referred to a snapshot at a specific point in time. The snapshot (parent) currently in that place is at the wrong time.

Action: Locate the appropriate snapshot (parent) and place it in the named location.

ORA-17532: snapshot (parent)=string checkpoint SCN string is different from snapshot checkpoint SCN string recorded in file string

Cause: The clone (child) referred to an SCN at a specific point in time. The snapshot (parent) currently in that place is at the wrong SCN.

Action: Locate the appropriate snapshot (parent) and place it in the named location.

ORA-17533: sparse merge copy operation failure because string and string do not share a valid relationship

Cause: Files specified with the ‘sparse_merge_begin’ and ‘sparse_merge_end’ options did not share a valid relationship.

Action: Check additional error messages.

ORA-17534: sparse merge copy operation failure because request to change file access permissions for string failed

Cause: File access permissions for the file could not be modified.

Action: Check additional error messages.

ORA-17535: sparse merge copy operation failure because it tried to merge to the base parent string

Cause: The sparse merge copy operation was not successful because it tried to merge to the base parent.

Action: Check additional error messages.

ORA-17610: file ‘string‘ does not exist and no size specified

Cause: An attempt to create a file found neither an existing file nor a size for creating the file.

Action: Specify a size for the file.

ORA-17611: ksfd: file ‘string‘ cannot be accessed, global open closed

Cause: An attempt to write to a file which has gone offline/unidentified

Action: Check for other errno in the stack

ORA-17612: Failed to discover Oracle Disk Manager library, return value string

Cause: Discovery of the odm library by calling odm_discover() failed

Action: Contact your storage vendor who has provided the ODM library or call Oracle Support

ORA-17613: Failed to initialize Oracle Disk Manager library: string

Cause: Initialization of the Oracle Disk Manager (ODM) for the thread failed due to insufficient privilege or memory.

Action: Ensure that there is enough system resources available for the Oracle process and that it has access to the ODM library.

ORA-17618: Unable to update block 0 to version 10 format

Cause: An attempt was made to update block 0 to version 10 format.

Action: Check additional error messages and call Oracle Support Services

ORA-17619: max number of processes using I/O slaves in a instance reached

Cause: An attempt was made to start large number of processes requiring I/O slaves.

Action: There can be a maximum of 35 processes that can have I/O slaves at any given time in a instance.

ORA-17620: failed to register the network adapter with Oracle Disk Manager library: string

Cause: The Oracle Disk Manager (ODM) library returned an error while trying to register the network adapter.

Action: Ensure that the network adapter name specified in the FILEIO_NETWORK_ADAPTERS initialization parameter is a valid name, and that the Oracle user has the correct access privileges.

ORA-17621: failed to register the memory with Oracle Disk Manager library

Cause: The ODM library returned an error while trying to register the memory.

Action: Contact the Oracle Disk Manager Library provider.

ORA-17622: failed to deregister the memory with Oracle Disk Manager library

Cause: The ODM library returned an error while trying to deregister the memory.

Action: Contact the Oracle Disk Manager Library provider

ORA-17624: Failed to delete directory string

Cause: The directory that was being deleted is still in use or the process had insufficient permission to delete the directory.

Action: check additional error messages.

ORA-17626: ksfdcre: string file exists

Cause: trying to create a database file, but file by that name already exists

Action: verify that name is correct, specify REUSE if necessary

ORA-17627: string

Cause: An error returned by OCI while sending/receiving message from remote instance

Action: Look at error message and take appropriate action or contact Oracle Support Services for further assistance

ORA-17628: Oracle error string returned by remote Oracle server

Cause: Oracle server on the remote instance has returned an error.

Action: Look at remote instance alert log/trace file for more information and take appropriate action or contact Oracle Support Services for further assistance

ORA-17629: Cannot connect to the remote database server

Cause: Connecting to the remote server specified by database connect string for netowrk file transfer failed.

Action: Check additional error messages

ORA-17630: Mismatch in the remote file protocol version client string server string

Cause: Cannot communicate with the remote database server as there is a mismatch in the Oracle file protocol version.

Action: Check additional error messages

ORA-17631: dbname ‘string‘ specified by remote server does not match the instance name ‘string

Cause: The dbname specified by the remote server is not intended for this instance.

Action: Check the dbname specified in the command of the remote instance and look for further error messages.

ORA-17632: file ‘string‘ is a formatted ASM disk

Cause: An attempt to create a datafile on a device that was formatted for ASM disk failed.

Action: Check that the device specified is not an ASM disk. If you would like to use the disk for datafiles, please clear the disk before you retry the operation.

ORA-17633: Operation not supported as one of the servers involved is not capable of performing the requested operation

Cause: An attempt was made to perform an operation involving two Oracle servers where both servers did not have the capability required for carrying out the operation. It is likely that one of the servers needs a patch or an upgrade to successfully participate in the operation.

Action: Apply the required fix or update on the lower version server. Contact Oracle Support Services for further assistance.

ORA-17634: network file transfer operation aborted

Cause: An error occurred during network file transfer operation.

Action: Check addtional error messages.

ORA-17635: failure in obtaining physical sector size for ‘string

Cause: An error occurred while determining the physical sector size from the underlying storage (ASM/ODM/OSD).

Action: Check additional error messages.

ORA-17636: Invalid sparse block format (string). Start block=string. Error=string. File=string

Cause: An error occurred while reading the block on sparse media.

Action: Contact Oracle Support Services.

ORA-17637: failed to change permission on file ‘string

Cause: An error occurred while changing permission on a database file.

Action: Verify that Oracle user has ownership on the database file.

ORA-17638: Error in accessing a compressed file string. ‘string‘.

Cause: An error occurred while accessing a compressed file.

Action: Verify that the Oracle user has permission to access the compressed file.

ORA-17639: Snapshot backing file not read-only ‘string‘.

Cause: An error occurred while opening the snapshot backing file.

Action: Verify that the backing file has not changed since the creation of the snapshot file and set the backing file permissions to read-only.

ORA-17640: SQL statement execution failed

Cause: The remote SQL statement execution failed on primary database.

Action: Check for the required privileges to run the SQL statement.

ORA-17675: execution of OFS procedure failed with error:’string

Cause: Either the procedure was called on a platform where Oracle File System (OFS) is not supported or an invalid file system type was provided.

Action: Check additional error messages in the trace file.

ORA-17676: Failed to mount ‘string‘ with error:’string

Cause: Mounting database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17677: failed to unmount ‘string‘ with error:’string

Cause: Unmounting database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17678: failed to mount ‘string‘ with error:’string

Cause: Mounting of the database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17679: failed to makefs ‘string‘ with error:’string

Cause: Either an invalid file system creation option was specified, the file system already existed, or a failure to create the tables occurred.

Action: Check additional error messages in the trace file.

ORA-17680: failed to destroy database file system ‘string‘ with error:’string

Cause: Either the database file system was invalid, it was still busy, it did not exist, or some other error has occurred.

Action: Check additional error messages in the trace file.

ORA-17681: cannot connect to the remote database server

Cause: An attempt was made to connect to the remote server using a shared server connection. This is not supported.

Action: Verify the connect string and use a dedicated server to connect to remote database.

ORA-18000: invalid outline name

Cause: The parser detected a missing or invalid outline name

Action: n/a

9,110 total views, 40 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18000 to ORA-18200

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18000 to ORA-18200

ORA-18000: invalid outline name

Cause: The parser detected a missing or invalid outline name

Action: n/a

ORA-18001: no options specified for ALTER OUTLINE

Cause: The parser detected that no clause was specified on the command Our performance tests, which are not typical as they exercise all branches of the code, have shown approximately a 30% performance increase line for ALTER OUTLINE.

Action: Re-issue the command, specifying a valid ALTER OUTLINE clause.

ORA-18002: the specified outline does not exist

Cause: Either the outline did not exist to begin with, or a timing window allowed for another thread to drop or alter the outline midstream.

Action: n/a

ORA-18003: an outline already exists with this signature

Cause: The signature generation algorithm generates signatures that are are 16 bytes in length so it is highly unlikely that any 2 signatures will be identical. This message is raised in such a rare case.

Action: Either re-issue the statement that led to the outline being created with some whitespace added or force the outline to be created in a different category.

ORA-18004: outline already exists

Cause: An outline already exists, either with the specified name, or for the specified SQL text.

Action: n/a

ORA-18005: CREATE ANY OUTLINE privilege is required for this operation
ORA-18006: DROP ANY OUTLINE privilege is required for this operation
ORA-18007: ALTER ANY OUTLINE privilege is required for this operation
ORA-18008: cannot find OUTLN schema

Cause: The database creation script that creates this schema must not have been executed.

Action: Review the log files to see what happened when the database was created.

ORA-18009: one or more outline system tables do not exist

Cause: Either the database creation script that creates these tables was not executed or a user accidently deleted the table

Action: Review the log files to see what happened when the database was created.

ORA-18010: command missing mandatory CATEGORY keyword

Cause: User failed to specify the CATEGORY keyword

Action: Re-issue the command with the CATEGORY keyword included

ORA-18011: the outline specified in the FROM clause does not exist
ORA-18012: select_catalog_role role is required for this operation
ORA-18013: timed out while waiting for resource string
ORA-18014: deadlock detected while waiting for resource string
ORA-18015: invalid source outline signature

Cause: User imported an 8i outline into a 9i database without updating signatures

Action: execute dbms_outln.update_signatures

ORA-18100: XUST0001 – Updating expression in a wrong position

Cause: An updating expression was used in a position other than one of the following: – The topmost expression in the body of a query. – The MODIFY clause of a TRANSFORM expression. – The RETURN clause of a FLWOR expression. – The RETURN clauses of a TYPESWITCH expression in which every RETURN clause contains an updating expression, an empty expression ( ), or a call to the fn:error function. – The THEN and ELSE clauses of a conditional statement in which both the then and else clauses contain either an updating expression, an empty expression ( ), or a call to the fn:error function. – An operand of a comma expression in which each operand is either an updating expression, an empty expression ( ), or a call to the fn:error function. – The content of a parenthesized expression. – The body of a function declaration in which the keyword UPDATING is specified.

Action: None

ORA-18101: XUST0002 – Non-updating expression in a wrong position

Cause: A non-updating expression other than an empty expression ( ) or a call to the fn:error function was used in one of the following positions: – The MODIFY clause of a TRANSFORM expression. – The top-level expression in the body of a function declaration in which the keyword UPDATING is specified.

Action: None

ORA-18102: XUST0003 – Repeated revalidation declaration

Cause: Prolog contained more than one revalidation declaration.

Action: None

ORA-18103: XUTY0004 – Invalid attribute node in the insertion sequence

Cause: The insertion sequence of an INSERT expression contained an attribute following a node that was not an attribute node.

Action: None

ORA-18104: XUTY0005 – Invalid target expression for INSERT

Cause: In an INSERT expression where INTO, AS FIRST INTO, or AS LAST INTO was specified, the target expression returned a nonempty result that did not consist of a single element or document node.

Action: None

ORA-18105: XUTY0006 – Invalid target expression for INSERT

Cause: In an INSERT expression where BEFORE or AFTER was specified, the target expression returned a nonempty result that did not consist element, text, comment, or processing instruction node.

Action: None

ORA-18106: XUTY0007 – Invalid target expression for DELETE

Cause: The target expression of a DELETE expression did not return a sequence of zero or more nodes.

Action: None

ORA-18107: XUTY0008 – Invalid target expression for REPLACE

Cause: In a REPLACE expression, the target expression returned a nonempty result that did not consist of a single element, attribute, text,

Action: None

ORA-18108: XUDY0009 – Invalid target expression for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified, the node returned by the target expression did not have a parent.

Action: None

ORA-18109: XUTY0010 – Invalid replacement sequence for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified and the target was an element, text, comment, or processing instruction node, the replacement sequence did not consist of zero or more element, text, comment, or processing instruction nodes.

Action: None

ORA-18110: XUTY0011 – Invalid replacement sequence for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified and the target is an attribute node, the replacement sequence did not consist of zero or more attribute nodes.

Action: None

ORA-18111: XUTY0012 – Invalid target expression for RENAME

Cause: In a RENAME expression, the target expression returned a nonempty result that did not consist of a single element, attribute, or processing instruction node.

Action: None

ORA-18112: XUTY0013 – Invalid COPY expression for TRANSFORM

Cause: In a TRANSFORM expression, a source expression in the copy clause did not return a single node.

Action: None

ORA-18113: XUDY0014 – Modified node was not created by the COPY clause

Cause: In a TRANSFORM expression, the MODIFY clause modified a node that was not created by the COPY clause.

Action: None

ORA-18114: XUDY0015 – Duplicate RENAME for the same target node

Cause: A node was the target of more than one RENAME expression within the same query.

Action: None

ORA-18115: XUDY0016 – Duplicate REPLACE for the same target node

Cause: A node was the target of more than one REPLACE expression (without VALUE OF being specified) within the same query.

Action: None

ORA-18116: XUDY0017 – Duplicate REPLACE for the same target node

Cause: A node was the target of more than one REPLACE VALUE OF expression within the same query.

Action: None

ORA-18117: XUDY0018 – External not updating function returns an updated value

Cause: A function that was declared to be external but not updating returned a nonempty pending update list.

Action: None

ORA-18118: XUDY0019 – External updating function returns an invalid value

Cause: A function that was declared to be both external and updating returned a nonempty data model instance.

Action: None

ORA-18119: XUDY0020 – Deleted node has no parent

Cause: Node was deleted that had no parent before execution of the query began.

Action: None

ORA-18120: XUDY0021 – The result XDM instance violates XDM constraints

Cause: XDM instance resulting from applying all the updates in a query violated constraint specified in [XQuery/XPath Data Model (XDM)]. In this case, none of the updates in the query were made effective.

Action: None

ORA-18121: XUTY0022 – Invalid attribute insertion into a document node

Cause: INSERT expression specified the insertion of an attribute node into a document node.

Action: None

ORA-18122: XUDY0023 – Updating expression introduces a namespace conflict

Cause: An INSERT, REPLACE, or RENAME expression affected an element node by introducing a new namespace binding that conflicted with one of its existing namespace bindings.

Action: None

ORA-18123: XUDY0024 – Updating expression introduces a namespace conflict

Cause: Effect of a set of updating expressions introduced conflicting namespace bindings into an element node.

Action: None

ORA-18124: XUDY0025 – Invalid QName for processing instruction RENAME

Cause: Target of a RENAME expression was a processing instruction node, and the new name expression returned a QName with a nonempty namespace prefix.

Action: None

ORA-18125: XUST0026 Revalidation mode string is not supported

Cause: Revalidation declaration in a Prolog specified a revalidation mode that is not supported by the current implementation.

Action: None

ORA-18126: XUDY0027 – Invalid target expression

Cause: Target expression of an INSERT, REPLACE, or RENAME expression evaluated to an empty sequence.

Action: None

ORA-18127: XUST0028 – Updating function should not have a return type

Cause: Function declaration specified both UPDATING and a return type.

Action: None

ORA-18128: XUDY0029 – INSERT expression target node doesn’t have a parent

Cause: In an INSERT expression where BEFORE or AFTER was specified, a node returned by the target expression did not have a parent.

Action: None

ORA-18129: XUDY0030 – Invalid insertion of an attribute node

Cause: INSERT expression specified the insertion of an attribute node before or after a child of a document node.

Action: None

ORA-18130: FOUP0001 – Invalid ‘fn:put’ first operand

Cause: The first operand of fn:put was not a node of a supported kind.

Action: None

ORA-18131: FOUP0002 – Invalid ‘fn:put’ second operand

Cause: The second operand of fn:put was not a valid lexical representation of the xs:anyURI type.

Action: None

ORA-18150: SQL input value cannot be modified in updating expression

Cause: Updating expression was specified as top-level XMLQuery expression.

Action: Use XQuery TRANSFORM expression to copy input value and modify it.

ORA-18160: FTST0001 – FTMildNot operator not supported

Cause: An attempt was made to use the mild not option when the FTMildNot operator was not supported. An implementation that does not support the FTMildNot operator must raise a static error if a full-text query contains a mild not.

Action: Do not use the FTMildNot full-text query operator.

ORA-18161: FTST0002 – FTUnaryNot operator not supported

Cause: An implementation that enforces one of the restrictions on FTUnaryNot must raise a static error if a full-text query does not obey the restriction.

Action: Do not use the FTUnaryNot full-text query operator.

ORA-18162: FTST0003 – FTUnit and FTBigUnit not supported

Cause: An implementation that does not support one or more of the choices on FTUnit and FTBigUnit must raise a static error if a full-text query contains one of those choices.

Action: Do not use the FTUnit or FTBigUnit option.

ORA-18163: FTST0004 – FTScope not supported

Cause: An implementation that does not support the FTScope operator must raise a static error if a full-text query contains a scope.

Action: Do not use the FTScope full-text query operator.

ORA-18164: FTST0005 FTTimes not supported

Cause: An implementation that does not support the FTTimes operator must raise a static error if a full-text query contains a times.

Action: Do not use the FTTimes full-text query operator.

ORA-18165: FTST0006 FTStopwordOption not supported

Cause: An implementation that restricts the use of FTStopwordOption must raise a static error if a full-text query contains a stop word option that does not meet the restriction.

Action: Do not use the FTStopwordOption full-text query operator.

ORA-18166: FTST0007 FTIgnoreOption not supported

Cause: An implementation that restricts the use of FTIgnoreOption must raise a static error if a full-text query contains an ignore option that does not meet the restriction.

Action: Do not use the FTIgnoreOption full-text query operator.

ORA-18167: FTST0008 stop word list not found

Cause: It was a static error if, during the static analysis phase, the query was found to contain a stop word option that referred to a stop word list that was not found in the statically known stop word lists.

Action: Ensure that the stop word list exists.

ORA-18168: FTST0009 language option not supported

Cause: It may be a static error if, during the static analysis phase, the query is found to contain a language identifier in a language option that the implementation does not support. The implementation may choose not to raise this error and instead provide some other implementation-defined behavior.

Action: Do not use the language full-text query option.

ORA-18169: FTST0010 FTOrder not succeeding FTWindow or FTDistance operator

Cause: It is a static error if, during the static analysis phase, an expression is found to use an FTOrder operator that does not appear directly succeeding an FTWindow or an FTDistance operator and the implementation enforces this restriction.

Action: Do not use the FTOrder succeeding FTWindow or FTDistance full-text query operator.

ORA-18170: FTST0011 FTWindow and FTDistance restriction

Cause: An implementation may restrict the use of FTWindow and FTDistance to an FTOr that is either a single FTWords or a combination of FTWords involving only the operators && and ||. If it a static error if, during the static analysis phase, an expression is found that violates this restriction and the implementation enforces this restriction.

Action: Follow FTWindow and FTDistance restriction.

ORA-18171: FTST0012 FTContent not supported

Cause: An implementation that does not support the FTContent operator must raise a static error if a full-text query contains one.

Action: Do not use FTContent full-text query operator.

ORA-18172: FTST0013 more than one language encountered

Cause: It is a static error if, during the static analysis phase, an implementation that restricts the use of FTLanguageOption to a single language, encounters more than one distinct language option.

Action: Do not use more than one language in FTLanguag full-text option.

ORA-18173: FTST0014 score computation restriction

Cause: An implementation may constrain the form of the expression used to compute scores. It is a static error if, during the static analysis phase, such an implementation encounters a scoring expression that does not meet the restriction.

Action: n/a

ORA-18174: FTST0015 FTCaseOption restriction

Cause: It is a static error if, during the static analysis phase, an implementation that restricts the choices of FTCaseOption encounters the “lowercase” or “uppercase” option.

Action: n/a

ORA-18175: FTDY0016 weights invalid

Cause: It is a dynamic error if an implementation that does not support negative weights encounters a weight expression that does not meet the restriction.

Action: Do not use invalid weights value.

ORA-18176: FTDY0017 mild not selection containings StringExclude

Cause: It is a dynamic error if an implementation encounters a mild not selection, one of whose operands evaluates to an AllMatches that contains a StringExclude

Action: n/a

ORA-18177: XQuery full text expression ‘string‘ cannot be evaluated using XML full-text index

Cause: There was no XML full-text index to evaluate the XQuery full text expression filtering XML documents that were stored in an XMLType table or column.

Action: Create an XML full-text index on the XML documents stored in an XMLType table or column and ensure that the XQuery full text expression can be evaluated by an XML full-text index.

ORA-18178: XMLType input to XMLTABLE row expression needs to use PASSING BY REF clause

Cause: The XMLTABLE column expression used the XMLTYPE(SEQUENCE) BY REF clause which requires XMLType input to the XMLTABLE row expression to use the PASSING BY REF clause.

Action: Specify the PASSING BY REF clause for XMLType input to the XMLTABLE row expression.

ORA-18179: XMLTABLE column expression needs to be specified using XMLTYPE(SEQUENCE) BY REF clause

Cause: Output of the XMLTABLE column expression was passed to an XMLTABLE row expression with PASSING BY REF clause.

Action: Specify the XMLTABLE column expression using XMLTYPE(SEQUENCE) BY REF clause.

ORA-18180: wrong argument is passed to XMLTABLE row expression using PASSING BY REF clause

Cause: An XML document that was not stored in an XMLType table or column was passed to an XMLTABLE row expression using the PASSING BY REF clause.

Action: Ensure that only XML documents that are stored in an XMLType table or column can be passed in as input to XMLTABLE row expression using the PASSING BY REF clause.

ORA-18181: XQuery full text expression option ‘string‘ is not supported

Cause: An attempt was made to use an XQuery full text expression option that is not supported.

Action: Avoid using an XQuery full text expression option which is not supported.

ORA-18182: FTST0018 unknown thesaurus is used

Cause: During the static analysis phase, the query was found to contain a thesaurus option that referred to a thesaurus that was not found in the statically known thesauri. This is a static error.

Action: Avoid using unknown thesaurus.

ORA-18183: FTST0019 more than one match option of any given match option group is used within a single FTMatchOptions.

Cause: Within the single FTMatchOptions, there was more than one match option of any given match option group. This is a static error.

Action: Avoid using more than one match option of any given match option group is used within a single FTMatchOptions.

ORA-18184: FTDY0020 a query string violates wildcard syntax when wildcards is in effect

Cause: Because wildcards were in effect, the query string violated wildcard syntax. This is a dynamic error.

Action: Fix wildcard syntax when wildcards is in effect.

ORA-18185: query is not parsed correctly

Cause: The query string was not parsed correctly.

Action: Check the syntax of the query string.

ORA-18201: The input MDX string is empty.

Cause: The input MDX (MultiDimensional eXpression) string was empty.

Action: Correct the input MDX (MultiDimensional eXpression) string.

2,455 total views, 5 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18200 to ORA-19000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18200 to ORA-19000

ORA-18201: The input MDX string is empty.

Cause: The input MDX (MultiDimensional eXpression) string was empty.

Action: Correct the input MDX (MultiDimensional eXpression) string.

ORA-18202: MDX parser error at line string, column stringstring.

Cause: The input MDX (MultiDimensional eXpression) query had invalid syntax.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18203: The MDX string string is not currently supported.

Cause: The input MDX (MultiDimensional eXpression) query contained an unsupported feature.

Action: Modify the MDX (MultiDimensional eXpression) query to use only supported features.

ORA-18204: The identifier at line string, column string has no closing right bracket (]) character.

Cause: The delimited identifier had no closing right bracket (]) character.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18205: Invalid arguments for function string.

Cause: The function had invalid arguments.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18220: The type of the expression in string is stringstring is expected.

Cause: The MDX (MultiDimensional eXpression) query had the wrong type.

Action: Use an expression with a valid type.

ORA-18221: The argument string in string has different hierarchies.

Cause: An argument had different hierarchies.

Action: Use uniform hierarchies.

ORA-18222: Hierarchy string already appears in string.

Cause: A hierarchy was repeated.

Action: Use disjoint hierarchies.

ORA-18223: Invalid identifier for dimension “string“.

Cause: More than one hierarchy existed for dimension.

Action: Specify the hierarchy with the dimension.

ORA-18224: invalid cube identifier “string

Cause: The cube identifier was specified incorrectly.

Action: Specify a valid cube identifier.

ORA-18225: The type of argument string of string is stringstring is expected.

Cause: An argument of the function had the wrong type.

Action: Use an argument with a valid type.

ORA-18226: argument string does not contain the hierarchy “string” in argument string in string

Cause: The hierarchy in one argument did not exist in the SET argument.

Action: Use an expression with the hierarchy from the set in the SET argument.

ORA-18227: The index is out of range in string.

Cause: The index was out of range.

Action: Use an index within the range.

ORA-18228: The set of argument string of string contains multiple hierarchies. Only one hierarchy is expected.

Cause: The set argument had more than one hierarchy.

Action: Use a SET argument that contains only one hierarchy.

ORA-18229: The hierarchy string is used more than once in arguments of string.

Cause: The hierarchy was used more than once.

Action: Use arguments that contain different hierarchies.

ORA-18230: The member identifier “string” cannot be resolved.

Cause: The member identifier could not be resolved.

Action: Use a valid member identifier.

ORA-18231: The StrToMember argument must be a member identifier when CONSTRAINED is specified.

Cause: The StrToMember argument was not a member identifier and CONSTRAINED was specified.

Action: Replace the argument with a member identifier or remove the CONSTRAINED option.

ORA-18232: A set with the name “string” has already been defined.

Cause: More than one set was defined with the same name.

Action: Rename the set so that it has a unique name within the WITH clause of the multidimensional expression (MDX) query.

ORA-18233: The set “string” has a cycle.

Cause: The set definition referenced itself either directly or indirectly using another referenced set.

Action: Change the definition of the set so that it does not directly or indirectly refer to itself.

ORA-18234: The calculated member “string” has the same name as an existing member.

Cause: The name specified for the calculated member identified another member in the hierarchy.

Action: Change the name of the calculated member so that it is unique within the specified hierarchy.

ORA-18235: The calculated member “string” must be a member identifier qualified by hierarchy.

Cause: The calculated member identifier either was not a valid member identifier or does not contain a hierarchy qualification.

Action: Change the calculated member identifier so that it is a valid member identifier qualifying the hierarchy.

ORA-18236: The calculated member “string” has a cycle.

Cause: The calculated member referenced itself either directly or indirectly using another referenced calculated member.

Action: Change the definition of the calculated member so that it does not directly or indirectly refer to itself.

ORA-18237: A calculated member with the name “string” has already been defined.

Cause: More than one calculated member was defined with the same name.

Action: Rename the calculated member so that it has a unique name within the WITH clause of the multidimensional expression (MDX) query.

ORA-18250: The input parameter to the MDX PL/SQL function is invalid.

Cause: The input parameter to the PL/SQL function was invalid.

Action: Correct the input parameter to the PL/SQL function.

ORA-18252: There are no active MDX queries.

Cause: Either an MDX (MultiDimensional eXpression) query was not executed or all executed queries were closed.

Action: Execute an MDX (MultiDimensional eXpression) query.

ORA-18253: invalid queryID: string

Cause: The MDX (MultiDimensional eXpression) query did not exist in the session with the given queryID.

Action: Specify a valid queryID obtained by calling dbms_mdx_odbo.execute.

ORA-18254: invalid cellRange size: string given, string expected

Cause: The size of the cellRange sequence was not 2 times the number of axes.

Action: Specify a cellRange that has the correct number of elements.

ORA-18255: Invalid cellRange: start (string) is greater than end (string) for axis string

Cause: The start was greater than end for a particular axis in the cellRange.

Action: Specify start less than or equal to end for each axis in the cellRange.

ORA-18256: Invalid axisIndex: string

Cause: The axisIndex was out of range.

Action: Specify an axisIndex greater than or equal to 0 and less than the number of axes.

ORA-18257: The classification value for “string” for measure “string” is invalid for MDX.

Cause: The classification value was invalid for MultiDimensional eXpression.

Action: Replace the Classification value.

ORA-18258: The MDX Slicer contains more than one row.

Cause: The set defining the Slicer resulted in more than one row.

Action: Correct the Slicer portion of the MultiDimensional eXpression query.

ORA-18259: The MDX Schema Rowset type request is invalid.

Cause: The MDX (MultiDimensional eXpression) Schema Rowset type was not a valid value.

Action: Valid MDX (MultiDimensional eXpression) schema Rowset types are between 1 and 10.

ORA-18260: The MDX Schema Rowset Restrictions array and Empty array are not the same size.

Cause: The MultiDimensional eXpression Schema Rowset Restrictions array and the Empty array were not the same size.

Action: Correct the sizes of the Restriction and Empty arrays.

ORA-18261: The TREE_OP restriction value is invalid.

Cause: The given TREE_OP restriction value was invalid.

Action: Provide a valid TREE_OP restriction value.

ORA-18262: invalid empty value

Cause: A value in the given empty list was invalid.

Action: Provide a valid empty value.

ORA-18263: invalid object name and log number combination

Cause: The object name and log number combination did not match the value returned by DBMS_HIERARCHY.VALIDATE_HIERARCHY or VALIDATE_CUBE.

Action: Provide a valid combination of object name and log number and reexecute.

ORA-18264: The ‘queryProperties’ sequence has an invalid length.

Cause: The ‘queryProperties’ sequence had an odd number of elements.

Action: Ensure that the ‘queryProperties’ sequence is either empty or contains an even number of elements.

ORA-18265: fact table key column (string) with value (‘string‘) not in dimension star table key column

Cause: There was a row in the fact table with a key column value that was not in the corresponding dimension star table key column.

Action: Ensure that each fact table key column value has a corresponding row in the dimension star table key column.

ORA-18266: analytic view key (string) with value (‘string‘) does not determine hierarchy lowest level key

Cause: The attribute references found on the analytic view keys could not determine the level key column values of the lowest level in the hierarchy.

Action: Ensure that the attribute references found on the analytic view keys determine the level key column values of the lowest level in the hierarchy.

ORA-18267: key (string) with value (string) for level “string” does not determine all level attributes

Cause: There were rows with the level key column value where the number of distinct values of every attribute column and alternate key attribute were not zero or one.

Action: Ensure that the number of distinct values of every attribute column and alternate key attribute is zero or one for each level key column value.

ORA-18268: alternate key (string) with value (string) for level “string” does not determine level key column value

Cause: There were rows with the alternate key attribute that had non-unique level key values.

Action: Ensure that the alternate key attribute rows all have the same level key value.

ORA-18269: key or alternate key attribute “string” has string NULL values

Cause: A level key column value was defined as NULL when it should be NOT NULL.

Action: Do not define a level key column value to NULL when it should be the NOT NULL value.

ORA-18270: key or alternate key attributes “string” and “string” for level “string” have string mismatched NULL values

Cause: There was a mismatch in the number of NULL values for a SKIP WHEN NULL level.

Action: Ensure that for each SKIP WHEN NULL level, either all level key column values and alternate key attributes are NULL, or all of the level key column values and alternate key attributes are not NULL.

ORA-18271: invalid value for VisualMode query property

Cause: A non-integer value, a negative value, or a value greater than 2 was specified for the VisualMode query property.

Action: Specify an integer value of 0, 1, or 2 for the VisualMode query property.

ORA-18272: analytic view join key (string) with value (‘string‘) not unique in dimension star table

Cause: An analytic view join key did not determine all rows in the dimension star table.

Action: Ensure that the analytic view join key determines all rows in the dimension star table.

ORA-18273: analytic view does not contain cache

Cause: An attempt was made to create a materialized view SQL statement for an analytic view that did not contain a cache.

Action: Modify the analytic view to contain a cache or specify an analytic view with a cache.

ORA-18274: invalid analytic view cache index

Cause: The specified analytic view cache index was invalid.

Action: Specify a valid cache index.

ORA-18275: invalid column length in log table

Cause: The column size of the table did not match with the default log table.

Action: Ensure that the table provided has a correct column definition.

ORA-18276: invalid log table version, upgrade is required

Cause: There was a mismatch in the log table format that corresponds with an older version of the table.

Action: Call DBMS_HIERARCHY.UPGRADE_VALIDATE_LOG_TABLE in order to upgrade to the latest format and retry the operation.

ORA-18280: The REFERENCES clause for analytic view dimension “string” is invalid.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension.

ORA-18281: cyclic reference detected for calculated measure “string

Cause: A cyclic reference for a calculated measure was detected.

Action: Correct the cyclic reference for the calculated measure.

ORA-18282: invalid join condition detected on join path “string

Cause: An invalid join condition was detected.

Action: Ensure that each side of the join condition comes from a different source.

ORA-18283: invalid join path reference “string” detected on hierarchy “string

Cause: An invalid join path reference was detected.

Action: Ensure that the join path on the hierarchy refers to a join path on the attribute dimension.

ORA-18284: invalid join paths detected on attribute dimension “string

Cause: Invalid join paths were detected on the attribute dimension.

Action: Ensure that every dimension source is reachable starting with any source and applying join paths of the visited sources.

ORA-18285: invalid join paths detected on hierarchy “string

Cause: Invalid join paths were detected on the hierarchy.

Action: Ensure that every join path contains a single unique path and includes every dim source of every level in the hierarchy exactly once.

ORA-18286: invalid SKIP WHEN NULL specification on a calculation expression detected on hierarchy string

Cause: An invalid SKIP WHEN NULL specification was detected on the calculation expression.

Action: Ensure that SKIP WHEN NULL is only specified on skip level hierarchies.

ORA-18287: invalid level name “string” detected on a calculation expression

Cause: An invalid level name specification was detected on the calculation expression.

Action: Ensure the level exists on the hierarchy specified in the calculation expression.

ORA-18288: parent-child hierarchy “string” detected on a calculation expression level specification

Cause: A parent-child hierarchy was detected on the calculation expression level specification.

Action: Ensure the level specifcation on the calculation expression does not reference a parent-child hierarchy.

ORA-18289: parent-child member literal expression detected for level-based hierarchy string

Cause: A parent-child member literal expression was detected for a level-based hierarchy.

Action: Ensure that the parent-child member literal expression is used with a parent-child hierarchy.

ORA-18290: positional member key mismatch detected between member literal expression and hierarchy level “string” on hierarchy “string

Cause: The number of member keys on the member literal expression did not match those on the corresponding level.

Action: Ensure that the number of member keys on the member literal expression match those on the corresponding level.

ORA-18291: named member key mismatch detected between member literal expression and hierarchy level “string” on hierarchy “string

Cause: The member keys on the member literal expression did not match those on the corresponding level.

Action: Ensure that the member keys on the member literal expression match those on the corresponding level.

ORA-18294: invalid data type detected on attribute “string

Cause: An invalid data type was detected on an attribute.

Action: Ensure that the attributes are not of LOB, BFILE, or LONG data type.

ORA-18295: duplicate hierarchy string detected in a calculation expression

Cause: The same cube hierarchy was named more than once in the calculation expression.

Action: Specify each cube hierarchy only once in the calculation expression.

ORA-18296: ambiguously defined hierarchy string detected in a calculation expression

Cause: An ambiguously defined hierarchy was detected in a calculation expression.

Action: Resolve the ambiguity on the hierarchy used in the calculation expression.

ORA-18297: invalid data type detected on base measure “string” for use with aggregation operator “string

Cause: An invalid data type was detected on a base measure for use with its specified aggregation operator.

Action: Ensure that the data type of the base measure is valid with the aggregation operator on the base measure.

ORA-18298: The REFERENCES clause for the analytic view dimension “string” does not determine the lowest level of every hierarchy.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension.

ORA-18299: level “string“: data type of string expression is invalid

Cause: The specified hierarchical attribute of the specified level had an invalid data type.

Action: Ensure that all attributes of the specified type are character expressions using the same character set.

ORA-18300: level “string“: character set of string expression does not match level “string

Cause: The specified hierarchical attribute of the specified level used a character set that did not match the character set of other levels.

Action: Ensure that all attributes of the specified type are character expressions using the same character set. An explicit ALL clause may need to be specified if the default character set of the ALL attributes does not match the character set used in other levels.

ORA-18301: attribute dimension “string“.”string” does not exist

Cause: The attribute dimension did not exist or the user did not have the required privileges.

Action: Check the spelling of the attribute dimension and ensure that the required privileges are granted.

ORA-18302: hierarchy “string“.”string” does not exist

Cause: The hierarchy did not exist or the user did not have the required privileges.

Action: Check the spelling of the hierarchy and ensure that the required privileges are granted.

ORA-18303: The REFERENCES clause for the analytic view dimension “string” refers to a level key where the level is marked as SKIP WHEN NULL.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension or remove the SKIP WHEN NULL from the attribute dimension level.

ORA-18304: non-measure “string” reference in calculated measure “string

Cause: A non-measure was referenced in a calculated measure.

Action: Ensure that only a measure is referenced in a calculated measure.

ORA-18305: non-aggregation user-defined function “string” detected in window calculated measure

Cause: A non-aggregation user-defined function was specified for a window calculated measure.

Action: Ensure that a valid user-defined aggregation function is specified for a window calculated measure.

ORA-18306: invalid depth expression specified in a hier ancestor calculated measure

Cause: An invalid depth expression was specified in a hier ancestor calculated measure.

Action: Ensure that the depth expression of the hier ancestor evaluates to a positive integer no greater than the number of levels in the hierarchy.

ORA-18307: analytic view “string“.”string” does not exist

Cause: The analytic view did not exist or the user did not have the required privileges.

Action: Check the spelling of the analytic view and ensure that the required privileges are granted.

ORA-18310: The attribute dimension has no level specification.

Cause: The attribute dimension did not have a level specification.

Action: Specify at least one level in the attribute dimension.

ORA-18311: MATERIALIZED or DYNAMIC keyword is missing.

Cause: Either the MATERIALIZED or DYNAMIC keyword was missing.

Action: Specify the MATERIALIZED or DYNAMIC keyword for this level group.

ORA-18312: Dynamic caching is not enabled.

Cause: Analytic View (AV) dynamic caching initialization parameter was not set.

Action: Enable Dynamic AV caching using the appropriate initialization parameter.

ORA-18340: Attribute “string” referenced in a key on level “string” does not exist.

Cause: The level key did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level key.

ORA-18341: Determined attribute “string” referenced on level “string” does not exist.

Cause: The determined attribute did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level.

ORA-18342: Level “string” does not have a member name.

Cause: The level did not have a member name.

Action: Specify a member name for this multi-attribute key level.

ORA-18343: Default measure “string” does not exist in the cube.

Cause: The default measure did not reference a valid measure in the cube.

Action: Reference an existing measure in the cube.

ORA-18344: Attribute “string” cannot be named using a reserved word.

Cause: The attribute was named using a reserved word.

Action: Use a name for the attribute that is not a reserved word.

ORA-18345: Duplicate metadata object “string“.

Cause: A duplicate metadata object was specified.

Action: Remove or rename the duplicate metadata object specification.

ORA-18346: Cube hierarchy “string” cannot be set as the default.

Cause: Another default cube hierarchy was specified within the same cube dimension.

Action: Set only one default cube hierarchy within a cube dimension.

ORA-18347: Duplicate level key “string” was detected in level “string“.

Cause: A duplicate level key was specified.

Action: Remove or replace the duplicate level key specification.

ORA-18348: Invalid hierarchical attribute name “string” specified.

Cause: The hierarchical attribute was named using an invalid word.

Action: Use a valid name for the hierarchical attribute.

ORA-18349: Invalid skip level specification on attribute dimension “string“.

Cause: The attribute dimension was defined with an invalid skip level specification.

Action: At least one level on the attribute dimension must be NOT NULL.

ORA-18350: Attribute “string” referenced on the ORDER BY clause on level “string” does not exist.

Cause: The ORDER BY attribute did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level.

ORA-18351: Cyclic-determined attribute reference detected for level “string“.

Cause: A cyclic-determined attribute reference for a level was detected.

Action: Correct the cyclic-determined attribute reference for the level.

ORA-18352: Invalid expression “string” detected on a calculated measure.

Cause: An invalid expression was detected on a calculated measure.

Action: An offset expression or member key expression cannot contain a column expression or be an analytic view SQL calculation expression.

ORA-18353: invalid ALL member name “string” detected on a hierarchy dimension “string

Cause: An invalid ALL member name was detected on a hierarchy dimension.

Action: Ensure that the ALL member name is a constant expression.

ORA-18356: duplicate level name “string” found in Cache Level List

Cause: A duplicate level was found in the level list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains a distinct list of levels.

ORA-18357: duplicate measure name in Cache Measure List “string

Cause: A duplicate measure was found in the measure list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains a distinct list of measures.

ORA-18358: Cache Level List hierarchy not found “string“.

Cause: A hierarchy specified in the level list for an Analytic View Cache Level Group was not found.

Action: Ensure that each specified hierarchy in the Analytic View Cache Level Group is defined within the Analytic View.

ORA-18359: Cache Level List dimension not found “string“.

Cause: A dimension specified in the level list for an Analytic View Cache Level Group was not found.

Action: Ensure that each specified dimension in the Analytic View Cache Level Group is defined within the Analytic View.

ORA-18360: duplicate hierarchy found in Cache Level List

Cause: Multiple levels for the same hierarchy were found in the level list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains only one level per hierarchy.

ORA-18361: duplicate Cache Object found in Analytic View Cache

Cause: A duplicate Analytic View Cache Level Group and Measure List combination was found in the Analytic View Cache.

Action: Ensure that for each Measure List the Analytic View Cache Level Group Lists are unique.

ORA-18362: The level type of level “string” is inconsistent with the dimension type.

Cause: The level type was inconsistent with the dimension type.

Action: Ensure the level type is consistent with the dimension type.

ORA-18363: Key “string” is a subset of another key at level “string“.

Cause: One key was a subset of another key at the same level.

Action: Ensure that no key is a subset of another key at the same level.

ORA-18364: invalid calculated measure clause “string” detected in measure “string

Cause: Invalid syntax was specified for a calculated measure.

Action: Ensure that the syntax is correct.

ORA-18365: invalid aggregation function detected in window calculated measure “string

Cause: An invalid aggregation function was specified for a window calculated measure.

Action: Ensure that a valid aggregation function is specified for a window calculated measure.

ORA-18370: The HIERARCHIES clause may only be specified for cubes.

Cause: A HIERARCHIES clause was used on a table or other non-cube object.

Action: Remove the HIERARCHIES clause.

ORA-18371: invalid cube hierarchy qualification

Cause: Cube hierarchies may only be qualified by dimension in the HIERARCHIES clause.

Action: Remove the additional qualification.

ORA-18372: syntax error in HIERARCHIES list

Cause: Illegal syntax was found in the HIERARCHIES clause.

Action: Ensure that the HIERARCHIES clause only contains a comma delimited list of cube hierarchies enclosed in parentheses.

ORA-18373: missing hierarchy name

Cause: No hierarchy was specified in the HIERARCHIES clause.

Action: Specify at least one hierarchy in the HIERARCHIES clause enclosed in parentheses.

ORA-18374: duplicate hierarchies in HIERARCHIES clause

Cause: The same cube hierarchy was named more than once in the HIERARCHIES clause.

Action: Specify each cube hierarchy only once in the HIERARCHIES clause.

ORA-18375: Cube columns cannot be directly or indirectly referenced in ANSI named column joins.

Cause: A cube column was referenced in an ANSI NATURAL JOIN or USING clause.

Action: Use the ANSI ON clause or Oracle join syntax.

ORA-18376: A hierarchy or analytic view is not allowed here.

Cause: A hierarchy or analytic view was specified in an incorrect location in a statement.

Action: Ensure that the name is correct or remove it.

ORA-18377: Comments on columns of analytic view objects are not supported.

Cause: A comment for a column of an analytic view object was specified.

Action: Do not define comments for columns of analytic views. Use classifications instead.

ORA-18378: calculated measure “string” in cache measure list

Cause: Calculated measures were not allowed in the cache measure list.

Action: Remove calculated measures from the cache measure list.

ORA-18379: the query hint must start with “/*+”

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-18380: the query hint must end with “*/

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-18381: the query hint cannot contain any occurrences of “*/” within the text

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-19000: missing RELATIONAL keyword

Cause: The keyword RELATIONAL in the work OBJECT RELATIONAL is missing in the XMLTYPE storage clause specification.

Action: Supply the RELATIONAL keyword in the storage clause

2,600 total views, no views today


Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

ORA-19000: missing RELATIONAL keyword

Cause: The keyword RELATIONAL in the work OBJECT RELATIONAL is missing in the XMLTYPE storage clause specification.

Action: Supply the RELATIONAL keyword in the storage clause

ORA-19001: Invalid storage option specified

Cause: An invalid storage option was specified for the XMLType.

Action: Supply a valid storage option.

ORA-19002: Missing XMLSchema URL

Cause: A XML schema URL must be specified in the storage option.

Action: Specify a URL for the XMLSchema.

ORA-19003: Missing XML root element name

Cause: A root element in the XMLSchema must be specified if the XML schema is given.

Action: Specify a root element in the XML schema.

ORA-19004: Duplicate XMLType OBJECT RELATIONAL storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19005: Duplicate XMLType LOB storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19006: XMLType TYPE storage option not appropriate for storage type

Cause: The TYPE option can only be used in case of OBJECT RELATIONAL storage option

Action: Remove the TYPE option or specify an OBJECT RELATIONAL storage for the XMLType column

ORA-19007: Schema string does not match expected string.

Cause: The given XML document conformed to a different schema than expected.

Action: Insert/Update only the XML documents that conform to that particular schema.

ORA-19008: Invalid version of the XMLType

Cause: An invalid version of the XMLType was found.

Action: This is possibly due to data corruption or an internal error or running an older client against a newer version of the database. Ensure that the version of the client can understand the XMLType in the database.

ORA-19009: Missing XMLSchema keyword

Cause: The XMLSchema keyword is missing

Action: Specify the XMLSchema URL and element name.

ORA-19010: Cannot insert XML fragments

Cause: XML fragments got from extractNode cannot be inserted into the database.

Action: Convert the fragment into a proper XML document before insertion.

ORA-19011: Character string buffer too small

Cause: The string result asked for is too big to return back

Action: Get the result as a lob instead

ORA-19012: Cannot convert XML fragment to the required datatype

Cause: A conversion to a datatype was requested which cannot be performed

Action: The XMLType may contain fragments and other elements which cannot be converted to the appropriate datatype.

ORA-19013: Cannot create VARRAY columns containing XMLType

Cause: An attempt was made to create a VARRAY column which contains a XMLType

Action: You cannot store VARRAYs containing XMLTypes in tables. Use nested tables instead

ORA-19015: Invalid XML tag identifier (string)

Cause: An invalid XML identifer was detected during XML generation

Action: Fix the offending tag to not contain characters or symbols that are not allowed by the XML specification

ORA-19016: attributes cannot occur after element specifications

Cause: Attributes specified using the “@” identifier can only occur before any other element definition when creating XML

Action: Change the order of the types so that the attributes occur in the begining

ORA-19017: Attributes can only be simple scalars

Cause: Attribute values can only be simple scalar values

Action: Use only simple datatypes for attribute values

ORA-19018: Invalid character in XML tag ‘string

Cause: A tag name was found to have an invalid XML character during XML generation.

Action: Rewrite the query so that the generated XML tag, corresponding to a column name or alias, contains only valid characters.

ORA-19019: Invalid context passed to DBMS_XMLGEN.GETXML

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19020: invalid dereference of XMLType columns

Cause: An attempt was made to dereference the attributes of an XMLType column which is not part of a base table

Action: You can only dereference the attributes of a base table XMLType column

ORA-19022: Unoptimized XML construct detected.

Cause: The XMLOptimizationCheck variable was enabled and an unrewritten XML construct was detected. This prevents execution of the XML construct.

Action: Ensure that the XML construct is being optimized. See the trace file for further information. Disable the XMLOptimizationCheck variable if you want the unoptimized XML operation to be executed.

ORA-19023: The first argument to UPDATEXML operator has to be an XMLTYPE

Cause: The first argument passed to the update value operator was not an XMLTYPE.

Action: Rewrite the query so that the first argument to the UPDATEXML operator is XMLTYPE.

ORA-19024: Cursor expression must be named

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19025: EXTRACTVALUE returns value of only one node

Cause: Given XPath points to more than one node.

Action: Rewrite the query so that exactly one node is returned.

ORA-19026: EXTRACTVALUE can only retrieve value of leaf node

Cause: Given XPath does not point to a leaf node.

Action: Rewrite the query so that a leaf node is returned.

ORA-19028: Invalid ADT parameter passed to toObject() function

Cause: The object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type.

Action: Pass an object of the correct type to toObject().

ORA-19029: Cannot convert the given XMLType to the required type

Cause: The passed in XMLType could not be convert to the required type

Action: Binary XMLtype instances or other objects cannot be converted to the required object or collection types.

ORA-19030: Method invalid for non-schema based XML Documents.

Cause: The method can be invoked on only schema based xmltype objects.

Action: Don’t invoke the method for non schema based xmltype objects.

ORA-19031: XML element or attribute string does not match any in type string.string

Cause: The passed in XML tag does not match any in the object type

Action: Pass a valid canonical XML that can map to the given object type

ORA-19032: Expected XML tag string got string

Cause: When converting XML to object, a wrong tag name was present

Action: Pass a valid canonical XML that can map to the given object type

ORA-19033: schema specified in the XML document does not match the schema parameter

Cause: When creating schema-based XML, the schema specified in the XML document is different from the schema passed in as the ‘schema’ parameter.

Action: Change the schema parameter to match the schema specified in the XML document.

ORA-19034: Type not supported during schema generation

Cause: The object type contained a type that is not supported for schema generation.

Action: Use a different type or do not generate a schema.

ORA-19035: Invalid select item of the query in newContextFromHierarchy()

Cause: The query did not have a number select item followed by an XMLType select item only.

Action: Ensure that the result set of the query used in the newContextFromHierarchy() function has only two selected items: the first item must be number type and the second item must be XMLType.

ORA-19036: Invalid query result set in newContextFromHierarchy()

Cause: The result set of the query used in the newContextFromHierarchy() function did not have the same property as the result set generated by a CONNECT BY query.

Action: Ensure that the query used in the newContextFromHierarchy() function is a CONNECT BY query or that the query returns a result set having the same property as the result set generated by a CONNECT BY query.

ORA-19037: XMLType result can not be a fragment

Cause: The select item of the query in the newContextFromHierarchy() function was an XML fragment.

Action: Ensure that the select item of the query in the newContextFromHierarchy() function is not an XML fragment.

ORA-19038: Invalid opertions on query context

Cause: SetMaxRows, SetSkipRows, SetRowTagName opertions are applied to a query context created from newContextFromHierarchy().

Action: SetMaxRows, SetSkipRows, SetRowTagName opertions can not be applied to a query context created from newContextFromHierarchy().

ORA-19039: Keyword string reserved for future use

Cause: The keyword is reserved for future use as a builtin function.

Action: Change the name mentioned above to a different one.

ORA-19040: Element string does not match expected string.

Cause: The given XML document had a different root element than expected.

Action: Insert/Update only the XML documents that conform to that particular schema and element.

ORA-19041: Comment data cannot contain two consecutive ‘-‘s

Cause: The given comment string expression has two consecutive ‘-‘s.

Action: Modify comment string to eliminate one or both of the consevutive ‘-‘s.

ORA-19042: Enclosing tag string cannot be xml in any case combination

Cause: The given enclosing tag matched ‘xml’ in some case combination

Action: Modify the enclosing tag so that it is not xml in any case combination.

ORA-19043: Multiply nested XMLROOT function disallowed

Cause: An XMLROOT function has an operand that is also an XMLROOT function.

Action: Modify the query so that there are no multiply nested XMLROOT functions.

ORA-19044: character length specified for XMLSerialize is too small.

Cause: An XMLSerialize function was called with a type of character type (e.g. VARCHAR2(27)), and the length specified (27 in the example) was too small.

Action: Modify the query so that the character length specified is larger.

ORA-19045: character set id specified for XMLSerialize not valid

Cause: An XMLSerialize function was called with an invalid value for the caracter set id.

Action: Modify the query so that the character set id is valid.

ORA-19046: Out-of-line table cannot be shared by two top-level tables (table ‘string.string‘ and the current table being created).

Cause: An attempt was made to share an out-of-line table between two top-level tables.

Action: Use the existing top-level XML table.

ORA-19047: Cannot specify storage for individual VARRAYS

Cause: An attempt was made to combine storage specification for a particular VARRAY with STORE ALL VARRAYS clause.

Action: Either specify storage for individual VARRAYs or use the STORE ALL VARRAYS clause.

ORA-19048: Cannot specify VARRAY storage in tableProps

Cause: An attempt was made to store all varrays as tables or LOBs in tableProps.

Action: Do not specify varray store as tables or LOBs in tableProps.

ORA-19051: Cannot use fast path insert for this XMLType table

Cause: Error while trying to insert into an XMLType table using fast path insert.

Action: Set event 19049 to disable fast path insert and try again.

ORA-19055: Unsupported use of DISABLE XML EXCHANGE

Cause: The option, DISABLE XML EXCHANGE, was specified in a CREATE TABLE statement.

Action: Do not specify DISABLE XML EXCHANGE in a CREATE TABLE statement.

ORA-19057: Internal error: binary XML [string]

Cause: The operation failed due to an internal error.

Action: This is an internal error. Contact Oracle Support Services.

ORA-19058: Enabling XML exchange may cause data corruption.

Cause: An attempt was made to enable XML exchange for a binary XML column or table with a conflicting binary XML column or table.

Action: Use the XML exchange option only if at least one of the two involved tables is empty.

ORA-19059: XML exchange has not been enabled.

Cause: An attempt was made to disable XML exchange on a table that does not have XML exchange enabled.

Action: Use the disable XML exchange option only if the table already has XML exchange enabled.

ORA-19060: Operation disallowed on XML token set object

Cause: An attempt was made to perform a disallowed operation on a token set object for binary XML support.

Action: Do not perform the attempted operation on an XML token set object.

ORA-19061: Granular Token Set operations are not supported for tables.

Cause: An attempt was made to perform some Granular Token Set related operations on a non-binary XML table or on an older binary XML table.

Action: Do not perform the attempted operation unless tables support Granular Token Set options.

ORA-19062: XML exchange is already enabled.

Cause: An attempt was made to enable XML exchange on a table that had XML exchange already enabled.

Action: Use the disable XML exchange option only if the table has XML exchange disabled.

ORA-19063: Granular token table does not support schema-based storage.

Cause: An attempt was made to use granular token tables with schema-based storage.

Action: Use non-schema based storage for granular token tables.

ORA-19064: Tablespace has XML token set objects used in another tablespace.

Cause: The tablespace contained an XML token set object that was used by a binary XML table in a different tablespace and dropping it would cause some data to be lost.

Action: Move the XML token set object to a different tablespace.

ORA-19065: cannot drop tablespace with XML token set while XDB tablespace is offline

Cause: The tablespace contained an XML token set object but the metadata could not be read since the XDB default tablespace was offline. By dropping the tablespace, some data may be lost.

Action: Bring XDB default tablespace online.

ORA-19066: XML EXCHANGE is not enabled between the two tables.

Cause: The two tables specified in the EXCHANGE had different XML token sets. By exchanging partitions, some data might get corrupted.

Action: Enable XML EXCHANGE between the tables.

ORA-19067: Unable to create binary granular token on user default tablespace.

Cause: The user default tablespace was full.

Action: Increase the size of the user default tablespace.

ORA-19068: Disabling XML EXCHANGE creates token tables in the SYSTEM tablespace.

Cause: Either the table was in SYSTEM tablespace or it was partitioned and the default tablespace was SYSTEM. Granular token tables are forbidden on SYSTEM tablespace.

Action: Move the table to a different tablespace or change the default tablespace if the table is partitioned.

ORA-19069: Table is already exchanging XML with itself.

Cause: An XML exchange was performed with the same table.

Action: Do not enable XML exchange with the same table.

ORA-19070: cannot enable XML EXCHANGE in this type of table

Cause: XML EXCHANGE was not allowed in global temporary tables or external tables.

Action: Do not use a global temporary table or external table.

ORA-19071: Table does not have an XMLType stored as BINARY XML.

Cause: The table was not an XMLTable or did not have an XMLType column stored as BINARY XML.

Action: Use an XMLType or XMLTable stored as BINARY XML.

ORA-19072: Only STORE AS CLOB is supported with XMLType on the sharded table.

Cause: STORE AS CLOB was not specified with XMLType on the sharded table.

Action: Specify the STORE AS CLOB clause in the query.

ORA-19073: unsupported column type for granular token set enabled table

Cause: An attempt was made to add or modify a column with an unsupported type for a granular token set enabled table.

Action: Do not use user-defined Abstract Data Types (ADTs) or an ANYDATA column with granular token sets.

ORA-19074: Table does not have a granular token set.

Cause: The table was not used with a granular token set.

Action: Use an XMLType stored as BINARY XML with a granular token set.

ORA-19075: Failed to move the token table indexes. Run dbms_csx_admin.RebuildTokenTablesIndexes before using the table.

Cause: An attempt to move the indexes to the given tablespace failed.

Action: Run dbms_csx_admin.RebuildTokenTablesIndexes.

ORA-19076: cannot move the XML token set to tablespace where the table owner does not have privileges

Cause: The table owner did not have privileges in the given tablespace.

Action: Use a tablespace where the table owner has privileges.

ORA-19100: PASSING or RETURNING keyword expected

Cause: The keyword PASSING or RETURNING was missing.

Action: Specify the PASSING or RETURNING keyword.

ORA-19101: CONTENT keyword expected

Cause: The keyword CONTENT was missing.

Action: Specify the CONTENT keyword.

ORA-19102: XQuery string literal expected

Cause: The string literal containing the XQuery expression was missing.

Action: Specify the XQuery expression as a string literal.

ORA-19103: VALUE keyword keyword

Cause: The keyword VALUE was missing.

Action: Specify the VALUE keyword.

ORA-19104: invalid XQueryX: missing attribute string

Cause: The XQueryX expression was not assigned the expected attribute.

Action: Specify a valid XQueryX.

ORA-19105: invalid XQueryX: expected text node – got string

Cause: The XQueryX expression did not contain a text node as expected.

Action: Specify a valid XQueryX.

ORA-19106: invalid XQueryX: expected string – got string

Cause: The XQueryX expression did not contain the node as expected.

Action: Specify a valid XQueryX.

ORA-19107: invalid XQueryX – unsupported construct – string

Cause: The given XQuery expression contains an unsupported construct.

Action: Specify a valid XQueryX.

ORA-19108: WHITESPACE keyword expected

Cause: The keyword WHITESPACE was missing.

Action: Specify the WHITESPACE keyword.

ORA-19109: RETURNING keyword expected

Cause: The keyword RETURNING was missing.

Action: Specify the RETURNING keyword.

ORA-19110: unsupported XQuery expression

Cause: The program specified an XQuery expression that is not supported.

Action: Rewrite the XQuery with a expression that is supported.

ORA-19111: error during evaluation of the XQuery expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19112: error raised during evaluation: string

Cause: The error function was called during evaluation of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19113: trace function called during evaluation: string

Cause: The trace function was called during evaluation of the XQuery expression.

Action: Check the log file for the trace message.

ORA-19114: XPST0003 – error during parsing the XQuery expression: string

Cause: An error occurred during the parsing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19115: too many context items specified

Cause: More than one context item was specified as input to the XMLQuery function.

Action: Specify a single context item for the XMLQuery function.

ORA-19116: too many xmlspace declarations

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19117: XQST0070 – invalid redefinition of predefined namespace prefix ‘string

Cause: The given predefined namespace was being redefined in a namespace declaration.

Action: Remove the namespace declaration that redefines the predefined namespace prefix.

ORA-19118: XQST0066 – duplicate default namespace definition – string

Cause: More than one default namespace declaration used the given namespace URI.

Action: Remove the duplicate default namespace definition.

ORA-19121: duplicate attribute definition – string

Cause: More than one attribute with the same name.

Action: Remove the duplicate attribute definition.

ORA-19122: unsupported XQuery declaration

Cause: The program specified an XQuery declaration that is not supported.

Action: Rewrite the XQuery with a declaration that is supported.

ORA-19123: FORG0003: fn:zero-or-one() called with a sequence containing more than one item

Cause: sequence with more than one item was passed into fn:zero-or-one() function

Action: correct input argument to fn:zero-or-one() function

ORA-19124: FORG0004: fn:one-or-more() called with a sequence containing no items

Cause: sequence containing no items was passed into fn:one-or-more() function

Action: correct input argument to fn:one-or-more() function

ORA-19125: FORG0005: fn:exactly-one() called with a sequence containing zero or more than one item

Cause: sequence containing zero or more than one item was passed into fn:exactly-one() function

Action: correct input argument to fn:exactly-one() function

ORA-19126: XQuery extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: No expression was enclosed in curly braces for the extension expression or the pragma content was not recognized.

Action: Correct inputs to extension expression.

ORA-19127: XQST0067: XQST0067: A static error is raised if a Prolog contains more than one construction declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19128: XQST0068: A static error is raised if a Prolog contains more than one boundary-space declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19129: XQST0069: A static error is raised if a Prolog contains more than one empty order declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19130: XQST0070: A static error is raised if the predefined namespace prefix xml or xmlns is redeclared by a namespace declaration or namespace declaration attribute

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19131: XQST0071: A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19132: XQDY0072: It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19133: XQST0073: It is a static error if the graph of module imports contains a cycle (that is, if there exists a sequence of modules M1 … Mn such that each Mi imports Mi+1 and Mn imports M1), unless all the modules in the cycle share a common namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19134: XQDY0074: It is a dynamic error if the value of the name expression in a computed element constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19135: XQST0075: An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19136: XQST0076: It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19137: XQST0079: It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19138: The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator “?”; otherwise a static error is raised

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19139: XPST0081: It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19140: XPST0083: It is a static error if the target type of a cast expression or constructor function is xs:QName or a type derived from xs:QName or xs:NOTATION, and the argument of the cast expression or constructor function is not a string literal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19141: XQDY0084: It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19142: FONC0001 = FONC0001: undefined context item

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19143: XQTY0086: It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19145: XQST0087: It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0]

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19146: XQST0088: It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19147: XQST0089: It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19148: XQST0090: It is a static error if a character reference does not identify a valid character in the version of XML that is in use

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19149: XQDY0091: An implementation may raise a dynamic error if an xml:id error, as defined in [XML ID], is encountered during construction of an attribute named xml:id

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19150: XQDY0092: An implementation may raise a dynamic error if a constructed attribute named xml:space has a value other than preserve or default

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19151: XQST0093: It is a static error to import a module M1 if there exists a sequence of modules M1 … Mi … M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19152: FOCH0001 = FOCH0001: codepoint not valid

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19153: FOCH0002: unsupported collation

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19154: FOCH0003: unsupported normalization form

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19155: FOCH0004: collation does not support collation units

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19156: FODC0001: no context document

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19157: FODC0002: error retrieving resource

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19158: FODC0004: invalid argument to fn:collection()

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19159: FODC0005: invalid argument to fn:doc

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19160: XPST0003 – syntax error: invalid variable name string

Cause: The given XQuery variable does not begin with the ‘$’ sign

Action: Fix the variable name to start with the “$” sign.

ORA-19161: XPTY0004 – XQuery type mismatch: invalid argument type ‘string‘ for function ‘string

Cause: The type of the argument that was passed to the given function was not valid.

Action: Fix the argument to be of a type supported by the given function.

ORA-19162: XPTY0004 – XQuery type mismatch: invalid argument types ‘string‘, ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19163: XPTY0004 – XQuery type mismatch: argument type mismatch: expected – ‘string‘ got – ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19164: XQST0085 – It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1].

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19165: FONS0003: no prefix defined for namespace

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19166: FONS0003: FONS0004: no namespace found for prefix

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19167: FONS0005: base uri not defined in the static context

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19168: FORG0002: invalid argument to fn:resolve-uri()

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19169: FORG0006: invalid argument type in ‘string

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19171: FORG0007: invalid argument to aggregate function

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19172: FORG0008: both arguments to fn:dateTime have a specified timezone

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19173: FORG0009: error in resolving a relative URI against a base URI in fn:resolve-uri

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19174: FORX0001: invalid regular expression flags

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19175: FORX0002: invalid regular expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19176: FORX0003: regular expression matches zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19177: FORX0004: invalid replacement string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19178: FOTY0001: type error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19179: FOTY0011: Type error. Context item is not a node

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19180: FOTY0012: argument node does not have a typed value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19181: FOTY0014: type exception

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19182: FORT0001: invalid number of parameters

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19183: FOTY0002: type definition not found

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19184: FOTY0021: invalid node type

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19185: FOAR0002: numeric operation overflow/unflow

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19186: FOCA0001: input value too large for decimal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19187: FOCA0002: invalid lexical value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19188: FOCA0003: input value too large for integer

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19189: FOCA0005: NaN supplied as float/double value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19190: FOER0000: Unidentified error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19191: FOAR0001: division by zero

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19192: XQST0047: It is a static error if multiple module imports in the same Prolog specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19193: XQST0045: It is a static error if the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/04/xpath-functions, http://www.w3.org/2005/04/xpath-datatypes

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19194: XQDY0026: It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string “?>”

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19195: Invalid policy in ora:contains

Cause: An invalid policy was specified in ora:contains.

Action: Rename the policy name, policy schema name, or do not specify any policy to pick up default policy.

ORA-19196: XMLType table or view is not allowed with this form of fn:collection

Cause: The table or view specified in fn:collection was of XMLType.

Action: XMLType table or view is not allowed in the form of fn:collection(‘oradb:/schema/table/ROW/column’). It has to be a relational table or view.

ORA-19197: Column not found or invalid column type with this form of fn:collection

Cause: The column to be retrieved was not found or was not of XMLType.

Action: The column to be retrieved in the form of fn:collection(‘oradb:/schema/table/ROW/column’) or fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) has to be of XMLType.

ORA-19198: Column not found or invalid column specified in the predicate with this form of fn:collection

Cause: The column specified in the predicate was not found or was not allowed.

Action: The column specified in the predicate in the form of fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) cannot be of XMLType.

ORA-19199: too many levels of nesting

Cause: An XQuery expression contained too many levels of nesting parentheses.

Action: Reduce the level of nesting parentheses.

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

 

3,715 total views, 10 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

ORA-19201: Datatype not supported

Cause: The particular datatype is not supported in the XMLGEN operator

Action: Specify only supported datatypes as arguments to the XMLGEN operator

ORA-19202: Error occurred in XML processingstring

Cause: An error occurred when processing the XML function

Action: Check the given error message and fix the appropriate problem

ORA-19203: Error occurred in DBMS_XMLGEN processingstring

Cause: An error occurred when processing the DBMS_XMLGEN functions

Action: Check the given error message and fix the appropriate problem

ORA-19204: Non-scalar value ‘string‘ is marked as XML attribute

Cause: Only scalar values (i.e. values which are not of object or collection type) can be marked as XML attribute,i.e. is prefixed by ‘@’. In this case, a non-scalar value was prefixed with ‘@’

Action: Remove the ‘@’ sign, or make the value a scalar.

ORA-19205: Attribute ‘string‘ qualifies a non-scalar value in the select list

Cause: The attribute immediately follows a value of object or collection type in the select list or type definition.

Action: Remove the ‘@’ sign, or make the previous value a scalar.

ORA-19206: Invalid value for query or REF CURSOR parameter

Cause: The queryString argument passed to DBMS_XMLGEN.newContext was not a valid query, or REF CURSOR.

Action: Rewrite the query so that the queryString argument is a valid query or REF CURSOR.

ORA-19207: scalar parameter string of XMLELEMENT cannot have an alias.

Cause: The scalar parameter to XMLELEMENT has been qualified with an alias.

Action: Remove the AS clause of the scalar element.

ORA-19208: parameter string of function string must be aliased

Cause: The indicated parameter of the XML generation function has not been aliased, although it is an expression.

Action: Specify an alias for the expression using the AS clause.

ORA-19209: invalid or unsupported formatting argument

Cause: An invalid or unsupported formatting argument was supplied

Action: Change the formatting argument to legal supported values

ORA-19210: column ‘string‘, specified to be a key or update column for DBMS_XMLSTORE, does not not exist in table ‘string

Cause: The column specified using setKeyColumn()/setUpdateColumn() did not exist in the table.

Action: Change the column specified to be a column in the table

ORA-19211: column ‘string‘, specified as key using DBMS_XMLSTORE.setKeyColumn() , must be of scalar type

Cause: The column specified using setKeyColumn() was a non-scalar type column.

Action: Change the column specified to be a scalar column in the table

ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()

Cause: No columns were specified as key columns before the call to DBMS_XMLSTORE.updateXML.

Action: Use DBMS_XMLSTORE.setKeyColumn() to specify key columns

ORA-19213: error occurred in XML processing at linesstring

Cause: An error occurred when processing the given lines in an XML function.

Action: Check the given error message and fix the appropriate problem.

ORA-19221: XPST0001 – XQuery static context component string not initialized

Cause: An unitialized static context component was encountered during the static analysis of the expression.

Action: initialize the given static context.

ORA-19222: XPDY0002 – XQuery dynamic context component string not initialized

Cause: An unitialized dynamic context component was encountered during the evaluation of the expression.

Action: Initialize the particular dynamic context component.

ORA-19223: XPST0003 – syntax error in XQuery expression

Cause: The given XQuery expression contains syntax errors.

Action: Fix the syntax error in the XQuery expression.

ORA-19224: XPTY0004 – XQuery static type mismatch: expected – string got – string

Cause: The expression could not be used because it’s static type is not appropriate for the context in which it was used.

Action: Fix the expression to be of the required type or add appropriate cast functions around the expression.

ORA-19225: XPST0005 – XQuery static type error: expected non empty type got empty sequence

Cause: The static type assigned to an expression other than the () expression must not be the empty type.

Action: Fix the expression so it does not return empty sequences.

ORA-19226: XPTY0006 – XQuery dynamic type mismatch: expected string got string

Cause: The expression could not be used because it’s dynamic type did not match the required type as specified by XQuery sequencetype matching rules.

Action: Fix the expression to return the expected type or use appropriate cast functions.

ORA-19227: XPTY0007 – fn:data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content.

Cause: The input node for atomization contained a type annotation that denoted a complex type with non-mixed complex content.

Action: Fix the input expression to fn:data to be a node that does not contain non-mixed complex content.

ORA-19228: XPST0008 – undeclared identifier: prefix ‘string‘ local-name ‘string

Cause: The given identifier refers to either a type name, function name, namespace prefix, or variable name that is not defined in the static context.

Action: Fix the expression to remove the identifier, or declare the appropriate variable, type, function or namespace.

ORA-19229: XQST0009 – schema import not supported

Cause: A schema import was encountered in the query.

Action: remove the schema import.

ORA-19230: XPST0010 – unsupported axis string

Cause: An unsupported axis was encountered in the given expression.

Action: Remove the unsupported axis from the expression.

ORA-19231: XPST0011 –
ORA-19232: XQST0012 – imported schemas violate validity rules

Cause: The imported schemas did not satisfy the conditions for schema validity specified in the XMLSchema specification.

Action: Fix the imported schemas to satisfy the validity rules.In particular, the definitions must be valid, complete, and unique — that is, the pool of definitions must not contain two or more schema components with the same name and target namespace.

ORA-19233: XQST0013 – invalid pragma

Cause: A pragma was specified whose contents are invalid.

Action: Specify the pragma with the correct contents.

ORA-19234: XQST0014 – invalid or unsupported must-understand extension

Cause: The must-understand extension specified was either invalid or unsupported.

Action: remove the unsupported must-understand extension or fix the error.

ORA-19235: XQST0015 – unsupported must-understand extension

Cause: The XQuery flagger was enabled and the query contained a must-understand extension.

Action: remove the unsupported must-understand extension.

ORA-19236: XQST0016 – module declaration or import not supported

Cause: The given query had a module declaration or module import.

Action: Remove the import module or module declaration.

ORA-19237: XPST0017 – unable to resolve call to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19238: XPTY0018 – It is a type error if the result of the last step in a path expression contains both nodes and atomic values

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19239: XPTY0019 – It is a type error if the result of an step (other than the last step) in a path expression contains an atomic value

Cause: The step expression returned a sequence containing an atomic value.

Action: Fix the path expression to return only nodes.

ORA-19240: XPTY0020 – context item must be node in an axis expression

Cause: The context item that was used in the axis epression is not a node.

Action: Change the context item to be a node.

ORA-19241: XPDY0021 – cast to type string failed

Cause: The value inside a cast expression could not be cast to the required type.

Action: Fix the input to the cast expression to be of a castable type.

ORA-19242: XQST0022 – namespace declaration attribute must be a literal

Cause: The namespace declaration attribute was not a literal string.

Action: Fix the namespace declaration to be a literal string.

ORA-19243: XQTY0023 – invalid document node content in element constructor

Cause: The content sequence in an element constructor contained a document node.

Action: Change the content of the element constructor so that it does not contain a document node.

ORA-19244: XQTY0024 – invalid attribute node in element constructor

Cause: The content sequence in an element constructor contained an attribute node following a node that was not an attribute node.

Action: Change the content sequence of the element constructor so that it does not contain the attribute node.

ORA-19245: XQDY0025 – duplicate attribute name string

Cause: The content sequence of the element constructor contained more than one attribute that had the same name.

Action: Remove the duplicate attributes.

ORA-19246: validation failed – element string not found in in-scope element declarations

Cause: The validation mode was strict and the element-constructor contained an element name that was not present in the in-scope element declarations.

Action: Fix the validation mode to be lax or import the schema definition that contains the required element declaration.

ORA-19247: XQDY0027 – validation error

Cause: An error was encountered during the validation of the expression.

Action: Fix the validation error.

ORA-19248: XQTY0028 – invalid node in document constructor

Cause: The content sequence in a document constructor contained either a document or an attribute node.

Action: Fix the content so it does not contain any of the above node types.

ORA-19249: XQDY0029 – value does not match facet of the target type

Cause: The input value to a cast expression did not satisfy the facets of the target type.

Action: Fix the value to conform to the facets of the target type.

ORA-19250: XQTY0030 – too many values to validate expression

Cause: The argument of a validate expression returned more than one element or document node.

Action: Fix the argument of the validate expression to return a single element or document node.

ORA-19251: XQST0031 – unsupported query version

Cause: The query version specified in the prolog was not supported.

Action: Supply the version of the query that is supported.

ORA-19252: XQST0032 – too many declarations for base URI

Cause: The query prolog contained multiple declarations for the base URI.

Action: Remove the duplicate definitions for the base URI.

ORA-19253: XQST0033 – too many declarations for namespace prefix string

Cause: The query prolog contained multiple declarations for the same namespace prefix.

Action: Remove the duplicate definitions for the namespace prefix.

ORA-19254: XQST0034 – too many declarations for function string

Cause: The query module contained more than one function, either declared or imported, which have the same expanded QName.

Action: Remove the duplicate function definitions.

ORA-19255: XQST0035 – too many declarations of string in imported schemas

Cause: Two schemas were imported that defined the same name in the same symbol space and in the same scope.

Action: Fix the schema imports to remove the name conflict.

ORA-19256: XQST0036 – missing type definitions in imported module

Cause: A module was imported, which contains references to type names that are not defined in the in-scope type definitions inside the module.

Action: Fix the module definintion to include the in-scope type definition.

ORA-19257: XQST0037 – function or variable string in module already defined

Cause: A module being imported contained the function or variable that is already declared in the static context of the importing module.

Action: Remove the conflicting declarations.

ORA-19258: XQST0038 – unsupported or duplicate default collation specified

Cause: The query prolog prolog either specified more than one default collation or the collation specified was not supported.

Action: Remove the duplicate definition or specify a supported collation.

ORA-19259: XQST0039 – duplicate parameter name string in function declaration

Cause: The function declaration contained more than one parameter with the same name.

Action: Fix the function declaration to remove the duplicate parameters.

ORA-19260: XQST0040 – invalid namespace node in element constructor

Cause: The content sequence in an element constructor contained a namespace node node following a node that was not a namespace node.

Action: Remove the namespace node in the element constructor.

ORA-19261: XQDY0041 – non empty URI in QName

Cause: The name expression in a computed processing instruction or computed namespace constructor returned a QName whose URI part was not empty.

Action: Fix the processing instruction or computed namespace constructor to return the QName with an empty URI part.

ORA-19262: XQST0042 – namespace constructor not inside an element constructor

Cause: The enclosing expression of a computed namespace constructor was not a computed element constructor.

Action: Fix the namespace constructor to be inside an element constructor.

ORA-19263: XQST0043 – duplicate namespace prefix string

Cause: Two or more computed namespace constructors within the same computed element constructor attempted to bind the same namespace prefix.

Action: Remove the duplicate namespace definitions.

ORA-19264: XQDY0044 – invalid namespace in attribute constructors

Cause: A computed attribute constructor returned a QName that is in the pre-defined XML namespace (corresponding to namespace prefix xmlns).

Action: Change the namespace for the computed attribute constructor.

ORA-19265: XQST0045 – invalid or unknown prefix string in function declaration

Cause: The declared function name in a function declaration had no namespace prefix or had one of the predefined namespace prefixes other than local.

Action: Fix the function declaration to have the correct prefix.

ORA-19266: XQST0046 – invalid URI

Cause: The given URI contained a lexical form that was not valid according to the definition of xs:anyURI in XML Schema.

Action: Fix the URI.

ORA-19267: module string not found

Cause: The module with the given target URI could not be found.

Action: Fix the prolog to import only available modules.

ORA-19268: XQST0048 – namespace string does not match target namespace string

Cause: The module contained a function or variable whose namespace did not match the target namespace of the module.

Action: Fix the namespace of the function or variable to match the target namespace of the module.

ORA-19269: XQST0049 – variable string defined multiple times

Cause: The module defined or imported the same variable multiple times.

Action: Fix the import or the module definition to remove duplicate definitions.

ORA-19270: XPDY0050 – treat failed – expected string got string

Cause: The type of the operand to the treat expression did not match the required type.

Action: Fix the input operand to be of the correct type.

ORA-19271: XPST0051 – invalid atomic type definition

Cause: The QName used as an AtomicType in a SequenceType was not defined in the in-scope type definitions as an atomic type.

Action: Use the correct atomic type name.

ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor

Cause: The content of the element or attribute constructor included an atomic value that could not be cast into a string.

Action: Fix the content to contain atomic values that can be cast to a string.

ORA-19273: XQST0053 – empty string in namespace declaration

Cause: An empty string was used in a namespace declaration.

Action: Fix the namespace declaration to have a non-empty string.

ORA-19274: XQST0054 – variable initialization failed due to circularity

Cause: A circular definition was encountered when the variable was initialized.

Action: Remove the circularity in the initialization.

ORA-19275: XQST0055 – schema path string not found in list of in-scope schema definitions

Cause: The ElementTest specified a schema path that could not be found in the list of in-scope schema definitions.

Action: Include the appropriate schema that can be used to resolve the ElementTest.

ORA-19276: XPST0005 – XPath step specifies an invalid element/attribute name: (string)

Cause: The XPath step specified invalid element or attribute name that did not match any nodes according to the input XML schema or structure.

Action: Correct the element or attribute name as the name may be mis-spelled.

ORA-19277: XPST0005 – XPath step specifies an item type matching no node: (string)

Cause: The XPath step specified an item type that did not match any nodes according to the input XML schema or structure.

Action: Correct the item type defintion as node of such type does not exit in the input XML schema or structure.

ORA-19278: Invalid value: (string) for type: (string)

Cause: The value was invalid for the type.

Action: Correct the value or change the type.

ORA-19279: XPTY0004 – XQuery dynamic type mismatch: expected singleton sequence – got multi-item sequence

Cause: The XQuery sequence passed in had more than one item.

Action: Correct the XQuery expression to return a single item sequence.

ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node

Cause: A node was passed in to the expression where an atomic value was expected.

Action: Correct the XQuery expression to return an atomic value.

ORA-19281: XQST0055 – It is a static error if a Prolog contains more than one copy-namespaces declaration

Cause: The query prolog contained multiple copy-namespaces declarations.

Action: Remove the duplicate copy-namespaces declarations.

ORA-19282: XQST0068 – It is a static error if a Prolog contains more than one xmlspace declaration

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19283: XQST0031 – It is a static error if the version number specified in a version declaration is not supported by the implementation.

Cause: The query contained a version declaration not supported by this implementation.

Action: Change the version declaration to 1.0 which is the version supported by this implementation.

ORA-19284: Encoding specification in version declaration not supported

Cause: The query contained an encoding specification.

Action: Remove the encoding specification.

ORA-19285: FODC0002 – error retrieving resource

Cause: The URI provided could not be resolved to a valid resource.

Action: Provide a valid URI for a resource.

ORA-19286: XPST0017 – unable to resolve call to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19287: XPST0017 – invalid number of arguments to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19288: XPST0017 – invalid number of arguments to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19289: XQST0034 – function string:string declared or defined multiple times

Cause: Multiple functions declared or imported by a module had the same expanded QName and the same number of arguments.

Action: Fix the function declaraction or definition to remove duplicates.

ORA-19290: XQST0069 – more than one empty order declaration declared in the prolog

Cause: A prolog had more than one empty order declaration.

Action: Fix the prolog to have just one empty order declaration.

ORA-19291: XPST0081 – specified QName cannot be expanded into a namespace URI

Cause: The namespace prefix of the QName could not be expanded into a namespace URI by using the statically known namespaces.

Action: Use a namespace prefix that can be resolved into a namespace URI from the statically known namespaces.

ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19293: XQST0058: It is a static error if multiple schema imports specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19294: XQST0059: It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19295: XQST0060: It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19296: XQDY0061: It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19297: XQDY0064: It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to “XML” (in any combination of upper and lower case

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19298: XQST0065: A static error is raised if a Prolog contains more than one ordering mode declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19299: XQST0066: A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19300: Error occurred in uri processingstring

Cause: An error occurred when processing the URL

Action: Check the given error message and fix the appropriate problem

ORA-19320: Host name not specified in HTTP URL

Cause: A host name was not specified in the HTTP url

Action: Specify a host name in the HTTP url when creating the URL string

ORA-19321: Could not open HTTP connection to host (string): port (string)

Cause: A HTTP connection could not be opened to the host

Action: Specify a valid host name and port to connect to

ORA-19322: An error occurred while reading from host (string): port (string)

Cause: An error occurred while reading from the HTTP host

Action: Specify a valid host name and port to read from

ORA-19323: Invalid url string

Cause: The URL must be a valid URL string

Action: Specify a valid url string

ORA-19330: Type ‘string‘.’string‘ not installed. Please install the type before using the CREATE_DBURI operator

Cause: The type required for the CREATE_DBURI operator has not been installed correctly.

Action: Read the installation notes to install the type correctly.

ORA-19331: Last argument to CREATE_DBURI operator must be a column

Cause: The final argument to the CREATE_DBURI operator must be a column to which the reference is being created.

Action: Specify a valid column name in the query.

ORA-19332: Invalid column in the CREATE_DBURI operator

Cause: The argument to the CREATE_DBURI operator can only be a column.

Action: Specify a valid column name for the operator

ORA-19333: Invalid flags for the CREATE_DBURI operator

Cause: The flags argument given to the DBURI operator is invalid

Action: Specify a valid flag value (TEXT) for the DBURI operator

ORA-19334: Invalid column specification for CREATE_DBURI operator

Cause: All columns must be valid and pointing to the same table or view

Action: Specify valid list of columns that are from the same table or view.

ORA-19335: Invalid format type object

Cause: An invalid format type object was specified for the XML function

Action: Specify a valid format type object

ORA-19336: Missing XML root element

Cause: The XML being generated does not have an enclosing root element.

Action: The XML generated must have a root element

ORA-19361: ONLINE option not allowed with this type of index

Cause: The ONLINE option was specified to validate the structure of a system-generated metadata index

Action: The ONLINE option can not be used with system-generated metadata indexes such as an LOB index, an IOT Top index, an Index on Clusters etc., Run query without using the ONLINE option.

ORA-19371: invalid update option

Cause: The user attempted to call load_sqlset with an update option that is different than REPLACE and ACCUMULATE.

Action: Adjust the update option and retry the operation.

ORA-19372: invalid update condition

Cause: The user attempted to call load_sqlset with an invalid update condition.

Action: Check the update condition (e.g., NEW.COL1_NAME >= OLD.COL2_NAME) and retry the operation.

ORA-19373: invalid staging table or tablespace

Cause: The user attempted to create a staging table and specified an invalid staging table (or one that already exists) or tablespace

Action: Check the arguments and try again.

ORA-19374: invalid staging table

Cause: The user specified an invalid staging table to one of the pack, unpack, or remap stgtab routines, or the user does not have the correct privileges on the staging table

Action: Provide a correct staging table or grant the appropriate privileges

ORA-19375: no CREATE TABLE privilege on schema “string

Cause: The user tried to create a staging table when he is missing the CREATE TABLE privilege on the specified schema.

Action: Grant the privilege to the user and retry

ORA-19376: no privileges on tablespace provided or tablespace is offline

Cause: The user tried to create a staging table on a tablespace on which he does not have any space allocated, or it is offline

Action: Allocate space on the tablespace, bring it online, and retry

ORA-19377: no “SQL Tuning Set” with name like “string” exists for owner like “string

Cause: The user specified a filter to a pack/unpack function for the SQL Tuning Set that targets no STS in the SYS schema or the staging table, respectively

Action: Provide a different filter after checking the state of the system

ORA-19378: invalid mode

Cause: The user specified an invalid mode argument to the capture function.

Action: Provide a mode argument that was defined in the dbmssqlt file

ORA-19379: invalid time_limit or repeat_interval

Cause: Either a NULL value was specified for the time_limit or the repeat_interval value, or the repeat_interval value was greater than the time_limit value.

Action: Provide a non-NULL value and ensure that time_limit value is greater than or equal to the repeat_interval value.

ORA-19380: invalid plan filter

Cause: The user specified an invalid filter for the plan when calling the select_sqlset table function.

Action: Adjust the the filter to be one of the following values and retry the operation: MAX_ELAPSED_TIME, MAX_CPU_TIME, MAX_DISK_READS, MAX_OPTIMIZER_COST, MAX_BUFFER_GETS, FIRST_LOADED LAST_LOADED, FIRST_GENERATED, or LAST_GENERATED.

ORA-19381: cannot create staging table in SYS schema

Cause: The user attempted to create a staging table in the sys schema

Action: Create the table in another schema.

ORA-19384: cannot pack into staging table from previous version

Cause: An attempt was made to perform a pack operation on a staging table from a previous version.

Action: Create a staging table in the current version and retry the operation.

ORA-19385: staging table is empty

Cause: An attempt was made to perform an operation on an empty staging table.

Action: Check the staging table to ensure that it has rows.

ORA-19386: target object already exists for tuning task “string

Cause: An attempt was made to set a target object for a tuning task when one had already been set.

Action: Create a new task if another target object is needed.

ORA-19387: “SQL Tuning Set” “string” belongs to another tuning task

Cause: The user attempted to tune a task-managed SQL Tuning Set belonging to one task within the scope of another task.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19388: operation not supported for “SQL Tuning Set” type

Cause: The attempted operation was unsupported for the type of the given SQL Tuning Set.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19389: LOB types are not supported for SQL binds

Cause: A LOB type was provided in a SQL bind list.

Action: Replace the LOB binds with legal bind types or try another SQL.

ORA-19390: The profile type is not valid

Cause: The profile type is not valid.

Action: Check the available profile types.

ORA-19400: System type conflict with object SYS.string

Cause: The user had an object with the same name as one of the system types. The system types were not initialized properly.

Action: Remove the conflicting object and rerun migration.

2,460 total views, 5 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19500 to ORA-19700

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19500 to ORA-19700

ORA-19500: device block size string is invalid

Cause: the device block size returned by sequential I/O OSD is invalid

Action: If the block size was set by using the PARMS option of the Recovery Manager ALLOCATE CHANNEL command, then the specified block size must be changed. If no PARMS option was specified on the ALLOCATE CHANNEL command, then this is an internal error that should be reported to Oracle.

ORA-19501: read error on file “string“, block number string (block size=string)

Cause: read error on input file

Action: check the file

ORA-19502: write error on file “string“, block number string (block size=string)

Cause: write error on output file

Action: check the file

ORA-19503: cannot obtain information on device, name=”string“, type=”string“, parms=”string

Cause: call to get device information returned an error

Action: check device name, type and parameters

ORA-19504: failed to create file “string

Cause: call to create file returned an error

Action: check additional messages, check access permissions.

ORA-19505: failed to identify file “string

Cause: call to identify the file returned an error

Action: check additional messages, and check if the file exists.

ORA-19506: failed to create sequential file, name=”string“, parms=”string

Cause: call to create the sequential file returned an error

Action: check additional messages, check access permissions.

ORA-19507: failed to retrieve sequential file, handle=”string“, parms=”string

Cause: call to retrieve the sequential file returned an error

Action: check additional messages, and check if the file exists.

ORA-19508: failed to delete file “string

Cause: call to delete the file returned an error

Action: check additional messages.

ORA-19509: failed to delete sequential file, handle=”string“, parms=”string

Cause: call to delete the sequential file returned an error

Action: check additional messages.

ORA-19510: failed to set size of string blocks for file “string” (block size=string)

Cause: call to resize the file returned an error

Action: check additional messages.

ORA-19511: non RMAN, but media manager or vendor specific failure, error text:\n string

Cause: An error occurred in the media management software which is linked with the Oracle server to perform backup and restore in cooperation with Recovery Manager.

Action: If the text of message 19511 does not provide enough information to resolve the problem, then you should contact the vendor of the media management software.

ORA-19512: file search failed

Cause: Recovery manager or Oracle Server attempted to discover files that matched the specified pattern but failed.

Action: Check errors on the error stack for an explanation why the search for files could not be successfully executed.

ORA-19513: failed to identify sequential file

Cause: Unable to identify the sequential file.

Action: Check additional messages, and check if the file exists on media.

ORA-19525: tempfile for the clone database must be renamed

Cause: Opening a clone database failed because Oracle server forces the tempfile to be renamed, in order to avoid overwriting the primary tempfile.

Action: Rename the tempfiles manually or automatically by using the DB_FILE_NAME_CONVERT initialization parameter.

ORA-19526: only one location allowed for parameter string

Cause: A list of default locations was provided in an Oracle-managed files parameter.

Action: Edit the parameter to include a single location.

ORA-19527: physical standby redo log must be renamed

Cause: An attempt was made to clear redo log at a physical standby database. Clearing an OMF redo log will not work unless DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n or DB_RECOVERY_FILE_DEST parameter is specified. Clearing a non-OMF (or user-defined) redo log file will not work unless the LOG_FILE_NAME_CONVERT initialization parameter is set.

Action: Set DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n or DB_RECOVERY_FILE_DEST parameter for OMF redo log files and re-issue the operation that attempted to clear redo log. Set LOG_FILE_NAME_CONVERT parameter for non-OMF redo log files and re-issue the operation that attempted to clear redo log.

ORA-19528: redo logs being cleared may need access to files

Cause: The redo logs are being cleared. This procedure may need the files this operation is being applied to.

Action: Wait for the redo logs to be cleared.

ORA-19529: Pattern string in initialization parameter string has an Oracle Managed Files file name.

Cause: An attempt was made to convert a database file name to an Oracle Managed Files file name using DB_FILE_NAME_CONVERT, PDB_FILE_NAME_CONVERT or LOG_FILE_NAME_CONVERT initialization parameter. This was not a valid operation.

Action: Retry the operation with a pattern template instead of a full Oracle Managed Files file name.

ORA-19550: cannot use backup/restore functions while using dispatcher

Cause: Attempted to use backup/restore functions while connected to the dispatcher in a shared server. This is not allowed because the device that is used for backup and restore must remain allocated to a single process.

Action: Connect directly to the instance then re-execute the backup or restore function.

ORA-19551: device is busy, device type: string, device name: string

Cause: The indicated device could not be allocated because it is allocated to another session, or no device was named, or all devices of the requested type are busy.

Action: Either attempt to allocate another device or wait until the required device is no longer busy.

ORA-19552: device type string is invalid

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

ORA-19553: device name string is invalid

Cause: The device name indicated is invalid.

Action: Supply a correct device name and retry the allocation.

ORA-19554: error allocating device, device type: string, device name: string

Cause: The specified device could not be allocated.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19555: invalid LOG_ARCHIVE_MIN_SUCCEED_DEST parameter value

Cause: The value of parameter LOG_ARCHIVE_MIN_SUCCEED_DEST was not set within the valid range.

Action: Specify a correct value for parameter LOG_ARCHIVE_MIN_SUCCEED_DEST. If the archive log parameters LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST are in use, set parameter LOG_ARCHIVE_MIN_SUCCEED_DEST to either 1 or 2.

ORA-19556: required destination LOG_ARCHIVE_DUPLEX_DEST currently is deferred

Cause: The destination for parameter LOG_ARCHIVE_DUPLEX_DEST was deferred when it was required to be enabled. The destination was deferred automatically when an ALTER SYSTEM command for parameter LOG_ARCHIVE_DEST defined a destination which duplicated an existing LOG_ARCHIVE_DUPLEX_DEST parameter destination.

Action: Change the destination value for the LOG_ARCHIVE_DUPLEX_DEST parameter.

ORA-19557: device error, device type: string, device name: string

Cause: An error occurred in the platform-specific device code

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19558: error de-allocating device

Cause: The specified device could not be de-allocated.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19559: error sending device command: string

Cause: An error occurred while sending the indicated command to the session device.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error and retry the allocation.

ORA-19560: string is not a valid device limit name

Cause: An invalid name of device limit was specified in a call to DBMS_BACKUP_RESTORE.SETLIMIT.

Action: Use one of the device limit names described in dbmsbkrs.sql

ORA-19561: string requires a DISK channel

Cause: The attempted command requires that a DISK device channel be allocated to the session, but a non-DISK device was found.

Action: Deallocate the current device and allocate a DISK channel, then then retry the command.

ORA-19562: file string is empty

Cause: The indicated file, which is an archived log, control file, or datafile was found to be empty during a copy, backup, or scan] operation.

Action: Ensure that the correct files are being specified for the copy or backup operation.

ORA-19563: string header validation failed for file string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (datafile, archived log, or control file) belonging to the current database.

Action: Ensure that the correct files are being specified for the copy or backup operation.

ORA-19564: error occurred writing string bytes at block number string

Cause: An error occurred while writing to a file.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error if possible, then retry the copy, backup, or restore operation.

ORA-19565: BACKUP_TAPE_IO_SLAVES not enabled when duplexing to sequential devices

Cause: An attempt was made to specify duplexing to sequential devices, but the BACKUP_TAPE_IO_SLAVES initialization parameter was not enabled.

Action: Specify BACKUP_TAPE_IO_SLAVES=TRUE in the INIT.ORA file, or do not specify duplexing to sequential devices.

ORA-19566: exceeded limit of string corrupt blocks for file string

Cause: The user specified limit of allowable corrupt blocks was exceeded while reading the specified datafile for a datafile copy or backup.

Action: None. The copy or backup operation fails. The session trace file contains detailed information about which blocks were corrupt.

ORA-19567: cannot shrink file string because it is being backed up or copied

Cause: An ALTER statement attempted to reduce the size of the indicated file while the same file is being backed up or copied.

Action: Retry the resize after the backup or copy is complete.

ORA-19568: a device is already allocated to this session

Cause: A device cannot be allocated to a session if another device is already allocated.

Action: Deallocate the current device

ORA-19569: no device is allocated to this session

Cause: An operation was attempted which requires a device to be allocated to the current session, and there is no device allocated.

Action: Allocate a device then retry the operation.

ORA-19570: file number string is outside valid range of 1 through string

Cause: A file number used in a copy, backup, or restore operation is not valid for the current database.

Action: Specify a valid file number.

ORA-19571: string RECID string STAMP string not found in control file

Cause: The input file specified for a copy or backup operation could not be opened because the record describing the file is not found in the control file.

Action: Specify a correct RECID/STAMP and retry the copy or backup.

ORA-19572: cannot process file string, file is being being resized

Cause: The input file specified for a copy or backup operation could not be opened because the file is being resized.

Action: Wait for the resize to complete then retry the copy or backup.

ORA-19573: cannot obtain string enqueue for datafile string

Cause: The file access enqueue could not be obtained for a file specified in a backup, copy or restore operation. If the enqueue type shown is ‘shared’, then the file is the input file for a backup or copy. If the type is ‘exclusive’, then the file is the output file for a datafile copy or restore which is attempting to overwrite the currently active version of that file – in this case, the file must be offline or the database must be closed. If the type is ‘read-only’, then you are attempting to back up or copy this file while the database is in NOARCHIVELOG mode.

Action: Wait until the conflicting operation is complete, then retry the copy or backup. If the database is in NOARCHIVELOG mode, then all files being backed up must be closed cleanly.

ORA-19574: output file name must be specified

Cause: This type of copy or restore requires an output file name.

Action: Specify an output file name and retry the copy.

ORA-19575: expected string blocks in file string, found string

Cause: During a backup, restore, copy, or scan operation, the indicated file did not contain as many blocks as were indicated in the file header.

Action: The input copy or backup piece is probably corrupt. If another backup or copy exists of the file that is being restored, then the corrupt file can be deleted from the recovery catalog and the operation can be restarted.

ORA-19576: datafile string not defined in control file

Cause: The specified file number was not found in the control file.

Action: Specify a correct file number and retry the operation.

ORA-19577: file string is MISSING

Cause: A COPYDATAFILECOPY, RESTOREDATAFILETO or PROXYRESTOREDATAFILE function specified a file number but no output file name, indicating that the output file name should be taken from the control file. However, the control file entry for this file indicates that it was created for a file that was present in the data dictionary but not named during the last CREATE CONTROLFILE statement, so the name in the control file cannot be used for restoration.

Action: Either specify an output file name or issue a SQL RENAME command to enter a valid name for this file in the control file.

ORA-19578: end of volume while duplexing to sequential files, backup piece incomplete

Cause: An end of volume (EOV) condition was detected while duplexing to sequential files, and this condition cannot be handled currently.

Action: Before retrying the backup, make sure the backup pieces will fit in the volume, or disable duplexing.

ORA-19579: archived log record for string not found

Cause: No archived log record corresponding to input file could be found in the control file.

Action: Specify a valid archived log file name and retry the operation.

ORA-19580: string conversation not active

Cause: A backup or restore operation was attempted before a conversation was started.

Action: Start a conversation then retry the operation.

ORA-19581: no files have been named

Cause: An attempt was made to proceed from the file naming phase to the piece processing phase of a backup or restore conversation before any files have been specified for backup or restore.

Action: Specify some files then retry the operation.

ORA-19582: archived log file header validation for string failed

Cause: Archived log file header is corrupt and could not be validated.

Action: Provide a valid archived log file and retry the operation.

ORA-19583: conversation terminated due to error

Cause: An error occurred which forced the termination of the current backup or restore conversation.

Action: There should be other error messages to help identify the cause of the problem. Correct the error and begin another conversation.

ORA-19584: file string already in use

Cause: The indicated file, which was specified as the target for a copy, restore, or delete operation is already in use by the database.

Action: Specify a different name and retry the operation.

ORA-19585: premature end of volume on piece string

Cause: While creating the indicated backup piece, an end-of-volume condition was encountered before all of the backup set control data was written to the backup piece. This is most likely a media error, because the amount of backup set control data is very small in relation to the total amount of data in a backup set.

Action: Retry the piece with a larger piece of output media.

ORA-19586: string k-byte limit is too small to hold piece directory

Cause: The user-specified limit for MAXPIECESIZE for this channel is not enough to hold the backup set control data.

Action: Allocate a channel specifying a larget valule for MAXPIECESIZE and retry the operation.

ORA-19587: error occurred reading string bytes at block number string

Cause: An error occurred while reading from a file.

Action: One or more other messages should be displayed to help pinpoint the cause of the error. Correct the error then retry the copy, backup, or restore operation.

ORA-19588: string RECID string STAMP string is no longer valid

Cause: The indicated record has been marked as deleted. This indicates that the corresponding file has either been overwritten by another copy or restore, or that the copy was ‘consumed’ by a SWITCHTOCOPY operation.

Action: If you know the name of the file you wish to copy, then inspect it and then retry the copy specifying the new RECID.

ORA-19589: string is not a snapshot or backup control file

Cause: The control file that is the source for a backup or copy operation is not a snapshot or backup control file.

Action: Specify the name of a snapshot or backup control file.

ORA-19590: conversation already active

Cause: You tried to begin a backup or restore conversation, but another conversation is already active in this session.

Action: Either continue the current conversation, or call BACKUPCANCEL or RESTORECANCEL to end the current conversation before starting a new one.

ORA-19591: backup aborted because job time exceeded duration time

Cause: You tried to backup with duration option and the time provided was not sufficient to complete the backup.

Action: Adjust the duration time and re-run the command. Or run the backup command without duration option.

ORA-19592: wrong string conversation type

Cause: You attempted to specify a type of file to be backed-up or restored, but the current conversation cannot process this type of file. For example, you specified an archived log to be included in a datafile backup set. The specified file will not be included in the backup or restore operation.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19593: datafile number string already included as string

Cause: This datafile is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of a datafile.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19594: control file already included as string

Cause: The control file is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of the control file.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19595: archived log string already included in backup conversation

Cause: The indicated archived log has already been specified for inclusion in this backup conversation.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19596: SPFILE already included

Cause: The SPFILE is already specified for inclusion in this backup or restore conversation. A backup or restore conversation may process only a single instance of the SPFILE.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19597: file string block size string does not match set block size of string

Cause: A file was specified for inclusion in a backup set but it has a logical block size different from the rest of the files in the backup set. All files in a backup set must have the same logical block size.

Action: Specify a file that has the same block size as the rest of the files in the backup set. The conversation is still active and more files can be specified.

ORA-19598: can not backup SPFILE because the instance was not started with SPFILE

Cause: A backup command requested a backup of the SPFILE, but no SPFILE was used to startup the instance.

Action: Create an SPFILE and re-start the instance using the SPFILE.

ORA-19599: block number string is corrupt in string string

Cause: A corrupt block was found in a control file, archived log, or backup piece that is being read for a backup or copy. Corruption shall not be tolerated in control files, archived logs, or backup pieces.

Action: None. The copy or backup operation fails. Note that in the case of a backup set, the conversation is still active and the piece may be retried.

ORA-19600: input file is string string (string)

Cause: This message identifies the input file for a failed copy operation. Both the file number and name (if the name has been determined) are shown. For a datafile, the file number refers to the datafile’s absolute file number as shown in the DBA_DATA_FILES view. For a datafile copy, the file number refers to the copy’s control file record number as shown in the RECID column of the V$DATAFILE_COPY view. For an archived log, the file number refers to the log’s control file record number as shown in the RECID column of the V$ARCHIVED_LOG view.

Action: See other error message.

ORA-19601: output file is string string (string)

Cause: This message identifies the output file for a failed copy operation. The fields are as described in message 19600. When creating a new datafile copy, its control file record number may not have been determined when the message is printed. In that case, the record number shown is zero.

Action: See other error message.

ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

Cause: You tried to copy or backup a file that was not closed cleanly, and the database was in NOARCHIVELOG mode. This is not allowed because when restored, the file will require redo application before it is usable, and redo is not currently being saved beyond the contents of the online redo logs.

Action: Take the tablespace offline clean or close the database and retry the copy or backup.

ORA-19603: cannot backup or copy active file with KEEP .. UNRECOVERABLE option

Cause: The user tried to copy or backup a file that was not closed cleanly, with KEEP .. UNRECOVERABLE option. This is not allowed because when restored, the file will require redo application before it is usable, and redo will not be saved because of KEEP .. UNRECOVERABLE option.

Action: Take the tablespace offline cleanly, or close the database and retry the copy or backup.

ORA-19604: conversation file naming phase is over

Cause: A call was made to specify a file to be backed up or restored after the first backup piece has been processed.

Action: You cannot specify more files to be processed during a backup or restore conversation after the first backup piece has been processed. If more files must be specified, you must begin a new conversation.

ORA-19605: input file name must be specified

Cause: The input file name was not specified for a control file copy operation.

Action: Specify an input file name and retry the operation.

ORA-19606: Cannot copy or restore to snapshot control file

Cause: A control file copy or restore operation specified the name of the snapshot control file as the output file. It is not permitted to overwrite the snapshot control file in this manner. Other methods are available to create the snapshot control file.

Action: Specify a different file name and retry the operation. If this is a restore, then the restore conversation remains active and more files may be specified.

ORA-19607: string is an active control file

Cause: A control file copy, restore, or backup specified the name of a control file named in the INIT.ORA file as the input or output file.

Action: Specify a different file name and retry the operation. If this is a backup or restore conversation, then the conversation remains active and more files may be specified.

ORA-19608: string is not a backup piece

Cause: The specified file is not a backup piece produced by the DBMS_BACKUP_RESTORE package. Either the first block of the backup piece is corrupt or this file is not a backup piece.

Action: Specify a different file name and retry the operation.

ORA-19609: string is from different backup set: stamp string count string

Cause: The specified file is not from the backup set which is currently being processed. It is part of a different backup set. The identification of the set containing this piece is shown.

Action: Specify the correct backup piece and retry the operation.

ORA-19610: directory block string is corrupt

Cause: The indicated directory block failed checksum validation. This backup piece is unusable.

Action: Supply another copy of the same backup piece, or terminate the restore conversation.

ORA-19611: backup piece out of order. Expected string but found string

Cause: This backup piece is out of sequence.

Action: Supply the correct backup piece.

ORA-19612: datafile string not restored due to string

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the restore conversation must be cancelled.

ORA-19613: datafile string not found in backup set

Cause: The indicated file could not be restored, because it is not in this backup set. If the file number is zero, then this refers to the control file.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19614: archived log thread string sequence string not found in backup set

Cause: The indicated archived log file was named explicitly for restoration but is not contained in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files.

ORA-19615: some files not found in backup set

Cause: Some files that were specified for restoration were not found in the backup set directory. Message 19613 or 19614 is issued for each file that was not found.

Action: See the instructions for message 19613.

ORA-19616: output file name must be specified if database not mounted

Cause: A datafile restore specified no target file name, but the database is not mounted. The database must be mounted when no target file name is specified, so that the target file name can be obtained from the control file.

Action: The restore conversation remains active. If you wish to restore datafiles without their target file names, then mount the database before continuing. Otherwise, a target file name must be specified on all datafile restoration calls.

ORA-19617: file string contains different RESETLOGS data

Cause: The indicated file contains RESETLOGS data which is different from the archived log files which are already included in the backup set. All archived log files in a backup set must have the same RESETLOGS data.

Action: The restore conversation remains active, and you may continue to specify archived log files for inclusion in the backup set.

ORA-19618: cannot name files after RESTOREVALIDATE has been called

Cause: A call was made to specify a file to restore from a backup set, but a previous call to RESTOREVALIDATE has already been made.

Action: You must cancel and restart the conversation if you wish to specify files to restore.

ORA-19619: cannot call RESTOREVALIDATE after files have been named

Cause: RESTOREVALIDATE was called after some files had already been specified for restoration.

Action: You must cancel and restart the conversation if you wish to call RESTOREVALIDATE.

ORA-19620: string is not of string type

Cause: When opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (datafile, archived log, or control file) belonging to the current database.

Action: The indicated file cannot be processed. Ensure that the correct files are being specified for the copy or backup operation.

ORA-19621: archived log range has already been specified

Cause: A range of logs has already been specified. Only one SCN range may be specified per conversation.

Action: The restore conversation remains active and more logs may be specified by thread and sequence number, if desired.

ORA-19622: archived log thread string sequence string not restored due to string

Cause: The indicated file could not be restored, because all of its data blocks were not found in the backup piece.

Action: The restore conversation remains active, and the current piece must be re-processed. If the failure cannot be resolved by re-processing the current piece, then the restore conversation must be cancelled.

ORA-19623: file string is open

Cause: A SWITCHTOCOPY operation specified a datafile copy whose parent datafile is open.

Action: Take the owning tablespace offline or close the database, then retry the operation.

ORA-19624: operation failed, retry possible

Cause: A backup, restore or image copy operation failed with an I/O error. If the source of the I/O error can be corrected, then the operation may be retried.

Action: This message is used by recovery manager to decide whether or not to retry the operation.

ORA-19625: error identifying file string

Cause: A file specified as input to a copy or backup operation, or as the target for an incremental restore, could not be identified as an Oracle file. The file may have been deleted or moved so that it is no longer accessible to RMAN. An operating system-specific error accompanies this error to help pinpoint the problem.

Action: Specify a different file and retry the operation. If the problem file has simply been deleted or moved, you can run crosscheck to allow RMAN to update its metadata with the correct file status.

ORA-19626: backup set type is string – can not be processed by this conversation

Cause: The data in the backup set is not compatible with the current conversation.

Action: Either supply the first piece from a backup set that matches the current conversation or start a new restore conversation which can process this backup set.

ORA-19627: cannot read backup pieces during control file application

Cause: This is a control file restore conversation, which is using the offline range information from one or more control files to update datafile checkpoint data. Backup sets are not used during this type of conversation.

Action: The conversation is still active and more control files may be applied.

ORA-19628: invalid SCN range

Cause: The starting SCN for RESTOREREDOLOGRANGE is greater than the ending SCN.

Action: Specify a starting SCN which is less than or equal to the ending SCN.

ORA-19629: no files in specified archived log SCN range

Cause: This backup set contains no files in the specified range.

Action: Either supply a backup set that contains files in the correct range or start a new conversation and specify a range which will select some files from this backup set.

ORA-19630: end of volume encountered while copying backup piece

Cause: While copying a backup piece from the OS native file system to an output device, the output device encountered end-of-volume.

Action: The copy fails. This could happen if a tape was used which is not large enough to hold the entire backup piece.

ORA-19631: archived log record contains no file name

Cause: This archived log record represents a switch into an active log that took place without archiving its prior contents. The prior contents of the log file are lost.

Action: Specify the RECID of an archived log record that contains a file name. Fixed view v$archived_log can be used to examine the archived logs.

ORA-19632: file name not found in control file

Cause: The name passed to GETFNO was not found in the control file.

Action: Supply a valid file name.

ORA-19633: control file record string is out of sync with recovery catalog

Cause: The control file record describing the file to be deleted in a call to DELETEBACKUPPIECE, DELETEDATAFILECOPY, PROXYDELETE or DELETEARCHIVEDLOG does not match the validation data supplied by recovery manager.

Action: contact Oracle support

ORA-19634: file name required for this function

Cause: The FNAME or HANDLE parameter was not specified for DELETEPIECE, DELETEDATAFILECOPY, DELETEREDOLOG or PROXYDELETE.

Action: Specify the FNAME or HANDLE parameter when calling these functions.

ORA-19635: input and output file names are identical: string

Cause: Identical input and output file names were specified for a datafile copy operation.

Action: Specify an output file name which is different from the input file name.

ORA-19636: archived log thread string sequence string already included

Cause: The indicated archived log has already been specified for inclusion in this restore conversation. A restore conversation may process only one copy of any archived log.

Action: No action required – the conversation is still active, and more files can be specified.

ORA-19637: BACKUPPIECECREATE requires file name when using DISK device

Cause: The session device is currently allocated to disk, and so a file name is required.

Action: Supply a file name and retry the operation.

ORA-19638: file string is not current enough to apply this incremental backup

Cause: The checkpoint of the target for this incremental backup is less than the start of the incremental backup. If this backup were applied, then any changes made between the datafile checkpoint and the start of the incremental backup could be lost.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19639: file string is more current than this incremental backup

Cause: The checkpoint of the target for this incremental backup is greater than or equal to the checkpoint of the file in the incremental backup set. This backup cannot advance the checkpoint of the target file, so there is no point in applying it.

Action: Supply a backup set that can be applied and retry the operation.

ORA-19640: datafile checkpoint is SCN string time string

Cause: This message identifies the datafile checkpoint for a datafile that was too old to take an incremental backup from, or the target of an incremental restore that could not be applied.

Action: See other error message.

ORA-19641: backup datafile checkpoint is SCN string time string

Cause: This message identifies the checkpoint of a datafile in an incremental backup set that could not be applied.

Action: See other error message.

ORA-19642: start SCN of incremental backup is string

Cause: This message identifies the starting SCN of an incremental backup that could not be applied.

Action: See other error message.

ORA-19643: datafile string: incremental-start SCN is too recent

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is greater than the datafile checkpoint SCN, which could cause some blocks to be missed.

Action: Specify a smaller incremental-start SCN.

ORA-19644: datafile string: incremental-start SCN is prior to RESETLOGS SCN string

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the RESETLOGS SCN.

Action: Specify a larger incremental-start SCN.

ORA-19645: datafile string: incremental-start SCN is prior to creation SCN string

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is less than the datafile’s creation SCN.

Action: Specify a larger incremental-start SCN.

ORA-19646: cannot change size of datafile string from string to string

Cause: Restore needs to adjust the size of the file as indicated, but the file size adjustment failed.

Action: Examine the other messages which should be present to indicate the cause of the failure.

ORA-19647: non-zero LEVEL cannot be specified when INCREMENTAL is FALSE

Cause: BACKUPSETDATAFILE was called with a non-zero backup_level and a FALSE incremental indication.

Action: Either set incremental to TRUE or change backup_level to zero.

ORA-19648: datafile string: incremental-start SCN equals checkpoint SCN

Cause: The incremental-start SCN which was specified when starting an incremental datafile backup is equal to the datafile’s checkpoint SCN. Since an incremental backup can only be applied to a datafile whose checkpoint SCN is between the backup set incremental-start SCN (inclusive) and the backup set checkpoint SCN (exclusive), there is no datafile that this backup set could ever be applied to.

Action: Specify a smaller incremental-start SCN. NOTE that this message will usually only be encountered by the user while taking an incremental backup with Recovery Manager. Recovery Manager should intercept all usual cases of this error and simply ignore the incremental backup for this file. So, if you do encounter this error, please report it to Oracle Support.

ORA-19649: offline-range record RECID string STAMP string not found in file string

Cause: APPLYOFFLINERANGE was called with a RECID/STAMP which was not found in the indicated control file. This probably means that the specified control file is no longer the same control file that Recovery Manager thinks it is.

Action: Specify the RECID/STAMP of a record that exists in the control file copy.

ORA-19650: Offline-range record RECID string STAMP string in file string has SCN string

Cause: This messages identifies the offline-clean SCN from the indicated offline-range record in the indicated file.

Action: See other error message.

ORA-19651: cannot apply offline-range record to datafile string: SCN mismatch

Cause: APPLYOFFLINERANGE cannot apply an offline-range record to a target datafile unless the datafile’s checkpoint SCN exactly matches the offline-clean SCN in the specified offline-range record.

Action: Specify an offline-range record whose offline-clean SCN matches the target datafile’s checkpoint.

ORA-19652: cannot apply offline-range record to datafile string: file is fuzzy

Cause: The target datafile for an APPLYOFFLINERANGE call is fuzzy.

Action: Specify a target datafile that is closed cleanly.

ORA-19653: cannot switch to older file incarnation

Cause: SWITCHTOCOPY was called with a datafile copy for a datafile that was dropped prior to the time this control file was backed up.

Action: Restore and mount an earlier control file. It is acceptable to use a control file that was backed up prior to the creation of the specified datafile.

ORA-19654: must use backup control file to switch file incarnations

Cause: This SWITCHTOCOPY operation is attempting to switch incarnations of a datafile, but the currently mounted control file is not a backup control file.

Action: Restore and mount a backup control file.

ORA-19655: cannot switch to incarnation with different RESETLOGS data

Cause: This SWITCHTOCOPY operation is attempting to switch to a datafile which comes from a different RESETLOGS version of the database.

Action: Either restore a backup control file that was taken from the same database version as the target datafile copy, or switch to a different datafile copy.

ORA-19656: cannot backup, copy, or delete online log string

Cause: The indicated log file is an active log. You can only backup, copy, or delete archived logs.

Action: The indicated log file cannot be processed – select another file.

ORA-19657: cannot inspect current datafile string

Cause: The file being inspected is already part of the currently mounted database.

Action: None – the file is already part of the database.

ORA-19658: cannot inspect string – file is from different RESETLOGS

Cause: The RESETLOGS data in the log file being inspected does not match that in the currently mounted control file.

Action: The indicated file cannot be processed – inspect another file.

ORA-19659: incremental restore would advance file string past RESETLOGS

Cause: This incremental backup cannot be applied to the specified datafile, because the datafile is from an earlier incarnation of the database, and its checkpoint would be advanced too far to be recoverable in the current incarnation of the database.

Action: This incremental cannot be applied to this datafile. If you wish to recover the file to the RESETLOGS SCN so that the database can be opened with the RESETLOGS option, then you must use redo-log recovery, not incremental restore, to continue recovering this file.

ORA-19660: some files in the backup set could not be verified

Cause: A restore conversation was made to verify all the files in a backup set, and the files which were printed in messages 19661 or 19662 could not be verified because corrupt blocks for those files were found in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated files cannot be restored from this backup set.

ORA-19661: datafile string could not be verified

Cause: Some data blocks for the indicated datafile were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated datafile cannot be restored from this backup set.

ORA-19662: archived log thread string sequence string could not be verified

Cause: Some data blocks for the indicated archived log were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the indicated archived log cannot be restored from this backup set.

ORA-19663: cannot apply current offline range to datafile string

Cause: An attempt was made to apply the current offline range to the specified datafile, but the datafile is either not current enough or is not at the correct SCN to apply the offline range.

Action: The datafile remains unchanged.

ORA-19664: file type: string, file name: string

Cause: This message is issued to identify the file which is the subject of an error.

Action: None – this is an informational message. There should be other Oracle messages explaining the cause of the error.

ORA-19665: size string in file header does not match actual file size of string

Cause: The size of the file as indicated in the file header does not match the true size of the file. The two differing sizes are shown in units of logical blocks.

Action: This file is not usable – it has most likely been truncated.

ORA-19666: cannot do incremental restore of the control file

Cause: The control file was included in an incremental restore conversation

Action: If you wish to restore the control file, you must do a full restore of the control file

ORA-19667: cannot do incremental restore of datafile string

Cause: The backup of the datafile is a full backup

Action: If you wish to restore the datafile, you must do a full restore of the datafile

ORA-19668: cannot do full restore of datafile string

Cause: The backup of the datafile is an incremental backup

Action: If you wish to restore the datafile, you must do an incremental restore of the datafile

ORA-19669: proxy copy functions cannot be run on DISK channel

Cause: A proxy copy procedure was called, but the device which is allocated to the current session has type DISK.

Action: Allocate a non-DISK channel and retry the operation. Note that proxy copy requires a 3rd-party media management software product that supports the this backup/restore feature.

ORA-19670: file string already being restored

Cause: A proxy restore function has already named this file as a restore destination.

Action: Use a different file name. If this message occurs during a recovery manager job, then this is an internal error in recovery manager, and you should contact Oracle support.

ORA-19671: media management software returned invalid proxy handle

Cause: During a proxy backup or restore, the media management software returned an invalid file handle.

Action: This is an internal error in the media management software which is linked with Oracle to provide backup/restore services. Contact the media management software vendor.

ORA-19672: media management software returned invalid file status

Cause: During a proxy backup or restore, the media management software returned an invalid file status.

Action: This is an internal error in the media management software which is linked with Oracle to provide backup/restore services. Contact the media management software vendor.

ORA-19673: error during proxy copy of file string

Cause: During a proxy backup or restore, an error occurred while copying this file, but other files may have been copied successfully.

Action: There should be other errors on the error stack which explain why the file could not be successfully copied.

ORA-19674: file string is already being backed up with proxy copy

Cause: Recovery manager attempted to back up the specified file with proxy copy, but the file is already being backed up by another recovery manager job.

Action: Wait until the other recovery manager backup of this file is complete, then retry the backup.

ORA-19675: file string was modified during proxy copy

Cause: A proxy backup of the specified file failed because the file was brought on-line or otherwise modified while the proxy backup was in progress. This file was off-line or read-only when the backup began, so the file was not put into hot-backup mode, therefore no modifications are permitted while the backup is in progress.

Action: Take another backup of this file.

ORA-19676: one or more files failed during proxy backup or restore

Cause: During a proxy backup or restore, errors were encountered while processing some files. The files for which no error messages are shown were processed successfully.

Action: Examine the messages regarding the specific files to determine the cause of the problems.

ORA-19677: RMAN configuration name exceeds maximum length of string

Cause: The configuration name string exceeds maximum length.

Action: Supply a correct configuration name and retry the function.

ORA-19678: RMAN configuration value exceeds maximum length of string

Cause: The configuration value string exceeds maximum length.

Action: Supply a correct configuration value and retry the operation.

ORA-19679: RMAN configuration number string is outside valid range of 1 through string

Cause: An invalid RMAN Configuration number was specified.

Action: Specify a correct datafile number and retry the operation.

ORA-19680: some blocks not recovered. See trace file for details

Cause: Some blocks are not recovered during block media recovery.

Action: See trace files for details of the problem.

ORA-19681: block media recovery on control file not possible

Cause: file number 0 specified in block media recovery

Action: check file number

ORA-19682: file string not in block media recovery context

Cause: Internal error

Action: n/a

ORA-19683: real and backup block size of file string are unequal

Cause: block size changed between backup & real file

Action: use right backup

ORA-19684: block media recovery failed because database is suspended

Cause: Database is suspended, probably by an ALTER SYSTEM SUSPEND statement

Action: Execute ALTER SYSTEM RESUME then retry block media recovery

ORA-19685: SPFILE could not be verified

Cause: Some data blocks for the SPFILE were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the SPFILE cannot be restored from this backup set.

ORA-19686: SPFILE not restored due to string

Cause: The indicated file could not be restored, because some of its data blocks were not found in the backup piece.

Action: Unless the damage to the backup set can be repaired, the SPFILE cannot be restored from this backup set.

ORA-19687: SPFILE not found in backup set

Cause: The SPFILE could not be restored, because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19688: control file AUTOBACKUP format(string) for string does not have %F

Cause: control file AUTOBACKUP format must contain %F for the device.

Action: Change control file format using RMAN command CONFIGURE CONTROLFILE BACKUP FORMAT FOR DEVICE TYPE type TO format.

ORA-19689: cannot have more than one %F in control file AUTOBACKUP format(%0!s) for %1!s

Cause: control file AUTOBACKUP format contains more than one %F for the device.

Action: Change control file format using RMAN command CONFIGURE CONTROLFILE BACKUP FORMAT FOR DEVICE TYPE type TO format.

ORA-19690: backup piece release string incompatible with Oracle release string

Cause: The backup piece was created by incompatible software.

Action: Either restart with a compatible software release or create another backup using the current release.

ORA-19691: string is from different database: id=string, name=string

Cause: The database name or database id in backup piece header does not match the one in control file.

Action: Supply the correct backup piece belonging to this database.

ORA-19692: missing creation stamp on piece string

Cause: The backup piece doesn’t have information about creation stamp.

Action: Supply another backup piece which is created by oracle 9i or later version.

ORA-19693: backup piece string already included

Cause: This backup piece was already specified for inclusion in the restore conversation. A restore conversation may process only a single instance of a backup piece.

Action: Remove the specified duplicate backup piece in restore steps and restart the conversation.

ORA-19694: some changed blocks were not found in the change tracking file

Cause: A backup or copy found that some changed blocks had not been recorded in the change tracking file. The details of which files and blocks are affected will be in an Oracle trace file.

Action: This indicates that there is a problem with the change tracking feature. Disable change tracking and re-start the backup.

ORA-19695: fixed table X$KRBMSFT has not been populated

Cause: This is an internal error. The fixed table X$KRBMAFT was not populated using the function DBMS_BACKUP_RESTORE.SEARCHFILES.

Action: Internal error – contact Oracle Customer Support.

ORA-19696: control file not found in backup set

Cause: The control file could not be restored because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19697: standby control file not found in backup set

Cause: The standby control file could not be restored because it is not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more files named for restoration were not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19698: string is from different database: id=string, db_name=string

Cause: Catalog failed because the database id in file header does not match the one in control file.

Action: Supply the correct file belonging to this database.

ORA-19699: cannot make copies with compression enabled

Cause: Datafile copies with compression are not supported.

Action: If the function DBMS_BACKUP_RESTORE.BACKUPPIECECREATE is called outside RMAN, then the incompatible values are being passed for the parameters DOCOMPRESS and IMAGCP. If this message occurs during an RMAN job, then this is an internal error in RMAN, and you should contact Oracle support.

ORA-19700: device type exceeds maximum length of string

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

 

2,970 total views, 10 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19700 to ORA-20000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19700 to ORA-20000

ORA-19700: device type exceeds maximum length of string

Cause: The device type indicated is invalid.

Action: Supply a correct device type and retry the allocation.

ORA-19701: device name exceeds maximum length of string

Cause: The device name indicated is invalid.

Action: Supply a correct device name and retry the allocation.

ORA-19702: device parameter exceeds maximum length of string
ORA-19703: device command string exceeds maximum length of string

Cause: The device command string exceeds maximum length.

Action: Correct the command and retry the operation.

ORA-19704: file name exceeds maximum length of string

Cause: The specified file name, which was a parameter to a copy, backup, or restore operation, exceeds the maximum file name length for this operating system.

Action: Retry the operation with a shorter file name.

ORA-19705: tag value exceeds maximum length of string characters

Cause: During a backup or copy operation, the user supplied a tag value too long to fit in the file header.

Action: Supply a shorter tag and retry the operation.

ORA-19706: invalid SCN

Cause: The input SCN is either not a positive integer or too large.

Action: Check the input SCN and make sure it is a valid SCN.

ORA-19707: invalid record block number – string

Cause: The input number is either negative or too large.

Action: Check the input record block number and make sure it is a valid number clauses in the create database statement.

ORA-19708: log destination exceeds maximum length of string characters

Cause: When starting a restore conversation, the user specified a log restore destination longer than the port-specific maximum.

Action: Supply a shorter destination and retry the operation.

ORA-19709: numeric parameter must be non-negative integer

Cause: A numeric parameter to an DBMS_BACKUP_RESTORE procedure is negative or contains a fractional portion.

Action: Supply a valid numeric parameter.

ORA-19710: unsupported character set string

Cause: When the target database is not mounted, RMAN sets the target database character set to the value specified in the users environment.

Action: Specify a valid character set in the environment. This is usually done via the NLS_LANG environment variable.

ORA-19711: cannot use RENORMALIZEALLFILENAMES while database is open

Cause: An attempt was made to re-normalize all the file names in the control file while the database is open.

Action: Close the database before using the RENORMALIZEALLFILENAMES procedure.

ORA-19712: table name exceeds maximum length of string

Cause: The table name string exceeds maximum length.

Action: Retry the operation with a shorter table name.

ORA-19713: invalid copy number: string

Cause: The copy number is not in a valid range or you have reached maximum limit.

Action: Report the error and other information to support.

ORA-19714: length for generated name longer than string

Cause: The specified format exceeds the maximum length for the piece name.

Action: Change the format to create shorter piece names.

ORA-19715: invalid format string for generated name

Cause: A restricted format or undefined format was used incorrectly.

Action: Change the format specified in the additional information by removing the restricted format.

ORA-19716: error processing format string to generate name for backup

Cause: There were errors while processing the format to generate name for backup.

Action: Change the format.

ORA-19717: for non-OMF search the pattern must be specified

Cause: The procedure DBMS_BACKUP_RESTORE.SEARCHFILES was called with an empty pattern while the parameter OMF was set to FALSE.

Action: Either specify the pattern or set the parameter OMF to TRUE.

ORA-19718: length for command id longer than string

Cause: The specified command id exceeds the maximum length for command id.

Action: Supply a shorter command id and retry the operation.

ORA-19719: length for operation name longer than string

Cause: The specified operation name exceeds the maximum length for operation name.

Action: Supply a shorter operation name and retry the operation.

ORA-19720: Error occurred when converting an OCI number into an SCN

Cause: This is most likely caused by an invalid SCN number that came from an external file, such as an export file.

Action: See other errors on the error stack to look for the source of the problem.

ORA-19721: Cannot find datafile with absolute file number string in tablespace string

Cause: Can not find one of the datafile that should be in the Pluggable Set.

Action: Make sure all datafiles are specified via import command line option or parameter files.

ORA-19722: datafile string is an incorrect version

Cause: The datafile is an incorrect version. It contains either less or more changes then the desired version.

Action: Make sure the right datafiles are transported. Make sure the datafile is copied while its tablespace is read only.

ORA-19723: Cannot recreate plugged in read-only datafile string

Cause: The datafile is plugged in read only. It can not recreated.

Action: Use ALTER DATABASE RENAME FILE command instead.

ORA-19724: snapshot too old: snapshot time is before file string plug-in time

Cause: The snapshot SCN is before the SCN at which the referred datafile is plugged into the database.

Action: retry the query.

ORA-19725: can not acquire plug-in enqueue

Cause: There maybe another “ALTER DATABASE RESET COMPATIBILITY” command issued concurrently, preventing this process from acquiring the plug-in enqueue.

Action: retry the operation.

ORA-19726: cannot plug data [string] at level string into database running at compatibility level string

Cause: Some of the data in the pluggable set requires a compatibility level higher than what is currently allowed by the database. The string in square bracket is the name of the compatibility type associated with the data.

Action: Raise the “compatible” init.ora parameter and retry the operation.

ORA-19727: cannot plug data [string] at level string into database running Oracle string

Cause: Some of the data in the pluggable set requires a compatibility level higher than the release level of the Oracle executable. The string in square bracket is the name of the compatibility type associated with the data.

Action: Upgrade Oracle and retry the operation.

ORA-19728: data object number conflict between table string and partition string in table string

Cause: The non-partitioned table has the same data object number as one of the partitions in the partitioned table. One can not exchange the table with the partition in this case.

Action: Use “alter table move partition” command to move the offending partition, so that the partition will get a new data object number. Retry the operation then.

ORA-19729: File string is not the initial version of the plugged in datafile

Cause: The file is not the initial version of the plugged in datafile.

Action: Use the correct initial version of the plugged in datafile.

ORA-19730: can not convert offline plugged-in datafile string

Cause: As part of making a tablespace read-write, we need to convert datafiles that are plugged in read-only. The file must be online.

Action: Online the datafile and retry the operation.

ORA-19731: cannot apply change to unverified plugged-in datafile string

Cause: Recovery was not able to verify the referred datafile according to information in the control file. Before encountering this change vector for this file, somehow recovery did not encounter the file conversion redo that is supposed to verify the file. This may happen due to corrupted or incorrect control file used for media recovery.

Action: Use the correct control file and continue recovery.

ORA-19732: incorrect number of datafiles for tablespace string

Cause: The number of datafiles in the export file for the referred tablespace is not the same as expected. This is most likely caused by a user editing the export file.

Action: Use the correct export file and retry the operation.

ORA-19733: COMPATIBLE parameter needs to be string or greater

Cause: The COMPATIBLE initialization parameter is not high enough to allow the operation. Allowing the command would make the database incompatible with the release specified by the current COMPATIBLE parameter.

Action: Shutdown and startup with a higher compatibility setting.

ORA-19734: wrong creation SCN – control file expects converted plugged-in datafile

Cause: When a tablespace is plugged into a database, the tablespace is initially read-only. Oracle converts the header of the plugged-in datafiles (assign them a new creation SCN) when the tablespace is first made read-write. This error occurs when the creation SCN in the file header is different from the creation SCN in the control file, possibly because this is the initial version of plugged-in datafile.

Action: Either restore the converted datafile or continue recovering the datafile.

ORA-19735: wrong creation SCN – control file expects initial plugged-in datafile

Cause: When a tablespace is plugged into a database, the tablespace is initially read-only. Oracle converts the header of the plugged-in datafiles (assign them a new creation SCN) when the tablespace is first made read-write. This error occurs when the creation SCN in the file header is different from the creation SCN in the control file, possibly because this is the converted datafile.

Action: Either restore the initial version of the plugged-in datafile, or continue database recovery, which will recover the control file.

ORA-19736: can not plug a tablespace into a database using a different national character set

Cause: Oracle does not support plugging a tablespace into a database using a different national character set.

Action: Use import/export or unload/load to move data instead.

ORA-19738: cannot find language information for character set: ‘string

Cause: The compatibility check failed because a character set name that was provided is not valid.

Action: Correct the character set name and retry.

ORA-19740: text is longer than string

Cause: The specified text exceeds the maximum length for text.

Action: Supply a shorter text and retry the operation.

ORA-19741: string exceeds maximum allowable length of string for parameter ‘string

Cause: The specified string exceeds the maximum allowable length for the parameter

Action: Supply a shorter string for the parameter and retry the operation.

ORA-19742: control file is not a backup control file

Cause: This parameter could not be set because the control file was not a backup control file.

Action: Do not use this call for this control file.

ORA-19743: could not unmount volume string:string

Cause: The specified server and volume combination was not found and could not be unmounted.

Action: Specify the server and volume name correctly to complete the operation successfully.

ORA-19744: Volume string:string is currently in use and cannot be unmounted.

Cause: The specified volume could not be unmounted because it was in use and had open files.

Action: Retry the unmount after all open files in the volume have been closed.

ORA-19750: change tracking file: ‘string

Cause: This message reports the name of a file involved in other messages.

Action: See associated error messages for a description of the problem.

ORA-19751: could not create the change tracking file

Cause: It was not possible to create the change tracking file.

Action: Check that there is sufficient disk space and no conflicts in file names and try to enable block change tracking again.

ORA-19752: block change tracking is already enabled

Cause: The ALTER DATABASE ENABLE BLOCK CHANGE TRACKING command was issued, but block change tracking is already turned on for this database.

Action: None, this is an informative message only.

ORA-19753: error writing to change tracking file

Cause: An I/O error occurred while writing to the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19754: error reading from change tracking file

Cause: An I/O error occurred while reading from the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19755: could not open change tracking file

Cause: The change tracking file could not be opened.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19756: corrupt block number string found in change tracking file

Cause: The specified block number is corrupt in the change tracking file.

Action: There will be other messages on the error stack that show details of the problem. There will also be a trace file that contains a complete dump of the corrupt block.

ORA-19757: could not resize change tracking file to string blocks

Cause: An error occurred while trying to change the size of the change tracking file.

Action: There will be other messages on the error stack that show details of the problem.

ORA-19758: failed to enable/disable block change tracking: out of SGA memory

Cause: out of SGA memory

Action: Increase SGA and restart the instance.

ORA-19759: block change tracking is not enabled

Cause: A command was entered that requires block change tracking to be enabled, but block change tracking is not enabled.

Action: None, this is an informative message only.

ORA-19760: error starting change tracking

Cause: Change tracking is enabled, but a problem was encountered while enabling the change tracking subsystem in this instance. The alert log and the trace file from the CTWR process will contain more information about the error.

Action: Examine the trace and alert files. Correct the error if possible, otherwise disable change tracking.

ORA-19761: block size string is not valid for change tracking file

Cause: While opening the specified change tracking file, it was found that the file header did not contain a valid logical block size. This probably means that the file is corrupt.

Action: If the file can be repaired, do so, otherwise disable and re-enable change tracking to re-initialize the file.

ORA-19762: invalid file type string

Cause: An invalid file type was found in the change tracking file. Some other file was put in place of the change tracking file, or the file is corrupt.

Action: Disable then re-enable change tracking.

ORA-19763: compatibility version string is higher than maximum allowed: string

Cause: The compatibility version in the change tracking file is greater than what can be used by the current release of Oracle. This can happen when you upgrade, use change tracking with a new release, then downgrade.

Action: Disable then re-enable change tracking.

ORA-19764: database id string does not match database id string in control file

Cause: The change tracking file is not the correct one for this database. This can happen when the database ID for this database has been changed.

Action: Disable then re-enable change tracking.

ORA-19765: mount id string does not match mount id string in control file

Cause: The change tracking file does not match the one that was present when this instance was opened. In RAC, this error is most likely caused by having a change tracking file that cannot be consistently updated by all instances.

Action: In RAC, ensure that the name specified for the change tracking file truly represents the same disk location for all nodes in the cluster. Disable then re-enable change tracking.

ORA-19766: missing CHANGE keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19767: missing TRACKING keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19768: USING clause only valid with ENABLE CHANGE TRACKING

Cause: The USING clause was specified with DISABLE CHANGE TRACKING

Action: Correct the statement.

ORA-19769: missing FILE keyword

Cause: Syntax error.

Action: Use the correct syntax: ENABLE/DISABLE BLOCK CHANGE TRACKING

ORA-19770: invalid change tracking file name

Cause: The USING clause was specified with ALTER DATABASE ENABLE BLOCK CHANGE TRACKING, but no file name was given.

Action: Specify the change tracking file name, or omit the USING clause to allow Oracle to create a default name for the change tracking file.

ORA-19771: cannot rename change tracking file while database is open

Cause: The ALTER DATABASE RENAME FILE command was used to rename the change tracking file, and the database is open by one or more instances. The database must be mounted, and not open, to rename the change tracking file.

Action: Close the database and reissue the command.

ORA-19772: change tracking file name exceeds limit of string characters

Cause: The name specified for the change tracking file is too long.

Action: Specify a shorter change tracking file name.

ORA-19773: must specify change tracking file name

Cause: No file name was specified with the ALTER DATABASE ENABLE CHANGE TRACKING command, and the DB_CREATE_FILE_DEST parameter was not set.

Action: Either specify a file name, or set the DB_CREATE_FILE_DEST parameter.

ORA-19776: PROXY restore to ASM disk group “string” is not supported.

Cause: An attempt was made to proxy restore a file to ASM disk group using RMAN command. This is not supported.

Action: Use a different file name and reissue RMAN command.

ORA-19777: ASM file string cannot be proxy backed up.

Cause: An attempt was made to proxy backup a ASM file. This is not supported.

Action: Use a different file name and reissue RMAN command.

ORA-19779: could not obtain resilvering status for change tracking file

Cause: An error occurred while obtaining the mirror resilvering status of the change tracking file.

Action: Refer to other error messages shown for additional details of the problem.

ORA-19780: Active Data Guard option not enabled

Cause: Change tracking at a standby database required the Active Data Guard option.

Action: Enable the Active Data Guard option.

ORA-19781: The PROXY option is not supported on sparse file string

Cause: The PROXY option was used with a sparse file. This is not supported.

Action: Do not use the PROXY option with sparse files.

ORA-19800: Unable to initialize Oracle Managed Destination

Cause: The name given for an Oracle managed files destination cannot be initialized.

Action: Check previous error messages for the reason Oracle was unable to initialize destination. Take corrective action, if possible, and retry the command or use a different name for destination.

ORA-19801: initialization parameter DB_RECOVERY_FILE_DEST is not set

Cause: An attempt was made to create a file in DB_RECOVERY_FILE_DEST when DB_RECOVERY_FILE_DEST was not set. There are number of possible causes of this error, including: 1) A LOG_ARCHIVE_DEST_n parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archived log file creation was attempted. 2) STANDBY_ARCHIVE_DEST parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archived log file creation was attempted.

Action: Specify a valid destination for DB_RECOVERY_FILE_DEST in initialization parameter file or with the ALTER SYSTEM SET command.

ORA-19802: cannot use DB_RECOVERY_FILE_DEST without DB_RECOVERY_FILE_DEST_SIZE

Cause: There are two possible cause for this error: 1) The DB_RECOVERY_FILE_DEST parameter was in use when no DB_RECOVERY_FILE_DEST_SIZE parameter was encountered while fetching initialization parameter. 2) An attempt was made to set DB_RECOVERY_FILE_DEST with the ALTER SYSTEM command when no DB_RECOVERY_FILE_DEST_SIZE was in use.

Action: Correct the dependency parameter definitions and retry the command.

ORA-19803: Parameter DB_RECOVERY_FILE_DEST_SIZE is out of range (1 – string)

Cause: Parameter DB_RECOVERY_FILE_DEST_SIZE specified was not valid.

Action: Specify a valid number within the range.

ORA-19804: cannot reclaim string bytes disk space from string bytes limit

Cause: Oracle cannot reclaim disk space of specified bytes from the DB_RECOVERY_FILE_DEST_SIZE limit.

Action: There are five possible solutions: 1) Take frequent backup of recovery area using RMAN. 2) Consider changing RMAN retention policy. 3) Consider changing RMAN archived log deletion policy. 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete files from recovery area using RMAN.

ORA-19805: RECID string of string was deleted to reclaim disk space

Cause: The file described by the record in control file was deleted in order to reclaim disk space from recovery area for other operations.

Action: Wait and try again.

ORA-19806: cannot make duplex backups in recovery area

Cause: Duplex backup to recovery area is not supported.

Action: Remove duplex option and try again.

ORA-19808: recovery destination parameter mismatch

Cause: The value of parameters DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE must be same in all instances. instance. All databases must have same recovery destination parameters.

Action: Check DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE values in all instances.

ORA-19809: limit exceeded for recovery files

Cause: The limit for recovery files specified by the DB_RECOVERY_FILE_DEST_SIZE was exceeded.

Action: There are five possible solutions: 1) Take frequent backup of recovery area using RMAN. 2) Consider changing RMAN retention policy. 3) Consider changing RMAN archived log deletion policy. 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete files from recovery area using RMAN.

ORA-19810: Cannot create temporary control file string in DB_RECOVERY_FILE_DEST

Cause: An attempt was made to create a control file for a temporary purpose in DB_RECOVERY_FILE_DEST.

Action: Retry the operation with a new file name.

ORA-19811: cannot have files in DB_RECOVERY_FILE_DEST with keep attributes

Cause: An attempt was made to 1) Create a backup piece or image copy in the recovery area with KEEP option. 2) Update the KEEP attributes of an existing backup piece or image copy in the recovery area.

Action: Reissue RMAN command without KEEP options.

ORA-19812: cannot use string without DB_RECOVERY_FILE_DEST

Cause: There are three possible cause for this error: 1) The indicated parameter was in use when no DB_RECOVERY_FILE_DEST parameter was encountered while fetching the initialization parameter. 2) An attempt was made to set indicated the parameter with the ALTER SYSTEM command when no DB_RECOVERY_FILE_DEST was in use. 3) An attempt was made to clear DB_RECOVERY_FILE_DEST with the ALTER SYSTEM command when the indicated parameter was in use.

Action: Eliminate any incompatible parameter definitions.

ORA-19813: cannot have unavailable file string in DB_RECOVERY_FILE_DEST

Cause: An attempt was made to change a backup piece or image copy in recovery area to UNAVAILABLE.

Action: Correct and resubmit the RMAN command. Do not use messages 19814; it is used for simulating crash.

ORA-19815: WARNING: string of string bytes is string%% used, and has string remaining bytes available.

Cause: DB_RECOVERY_FILE_DEST is running out of disk space.

Action: One of the following: 1. Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 2. Backup files to tertiary device using RMAN. 3. Consider changing RMAN retention policy. 4. Consider changing RMAN archived log deletion policy. 5. Delete files from recovery area using RMAN.

ORA-19816: WARNING: Files may exist in string that are not known to database.

Cause: One of the following events caused this: 1. A database crash happened during file creation. 2. A backup control file was restored. 3. The control file was re-created. 4. DB_RECOVERY_FILE_DEST has previously been enabled and then disabled.

Action: Use RMAN command CATALOG RECOVERY AREA to re-catalog any such files. If the file header is corrupted, then delete those files using an OS utility. Do not use messages 19817; it is used for simulating lock failure Do not use messages 19818; it is used for space reclamation before backup Do not use messages 19819; it is used to disable clearing file name

ORA-19820: database must be in NOARCHIVELOG mode to disable logging

Cause: Logging was disabled when ARCHIVELOG mode was used.

Action: Execute ALTER DATABASE NOARCHIVELOG in mount state.

ORA-19821: an intentionally corrupt log file was found

Cause: A log file that was intentionally corrupt for testing or benchmarking purposes was found and failed the operation.

Action: Remove such log files and retry or use the NOARCHIVELOG option if possible.

ORA-19827: Restoring preplugin files to a recovery area is not supported.

Cause: An attempt to resore a preplugin file in a recovery area failed. This is not supported.

Action: Use the SET ARCHVIELOG DESTINATION RMAN command to specify an archivelog destination and retry the RESTORE or RECOVER command.

ORA-19830: error from target database: \nstring

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: No action required.

ORA-19831: incompatible string.string.string.string DBMS_BACKUP_RESTORE package: string.string.string.string required

Cause: This version of database was incompatible with the the indicated DBMS_BACKUP_RESTORE package installed in the database.

Action: If the database has been upgraded from an earlier version, ensure that the catxxxx.sql script has been run successfully. Re-install dbmsbkrs.sql and prvtbkrs.plb if necessary.

ORA-19836: cannot use passphrase encryption for this backup

Cause: Passphrase encryption was attempted for a backup that contains encrypted tablespaces and uses compression.

Action: Do not use passphrase encryption for this backup. Use transparent wallet-based encryption instead.

ORA-19837: invalid blocksize string in backup piece header

Cause: The blocksize of the backup piece obtained from the header was invalid.

Action: The backup piece is corrupted, a different backup piece should be used for restore.

ORA-19838: cannot use this control file to mount or open database

Cause: This control file was restored by a DUPLICATE operation used only to restore and recover the data files of the new database. It is not meant to be used for mounting or opening the database, as allowing so might corrupt data files or online redo logs of the target database or both.

Action: Re-create the control file manually specifying all of the names of the data files and online redo logs. Do not forget to use NID to change the name or DBID or both of the new database.

ORA-19839: snapshot datafile checkpoint time is greater than snapshot time

Cause: The snapshot time which was specified when starting the recovery less than data file’s checkpoint time. The snapshot recovery is only possible with data file’s whose checkpoint time is less than snapshot time.

Action: Restore the data file’s associated for the specified snapshot time or specify the correct snapshot time associated with the data file.

ORA-19840: SNAPSHOT TIME recovery is not enabled

Cause: An attempt was made to use SNAPSHOT TIME recovery. But, the feature was not enabled.

Action: Contact Oracle Support Services to enable snapshot time recovery and then retry the command.

ORA-19841: Cross-platform backups require COMPATIBLE string or greater

Cause: An attempt to create a cross-platform backup was made but the COMPATIBLE parameter was not set to a high enough value to allow this.

Action: Do not attempt to use this functionality or raise the compatibility level.

ORA-19842: The current database incarnation changed during backup

Cause: The backup failed because the current database incarnation was changed during the backup. One of the following events caused this incarnation change: – The database was opened using ALTER DATABASE OPEN RESETLOGS statement. – RMAN command RESET DATABASE TO INCARNATION was issued. – If this happened on physical standby database, then redo apply has applied redo data from a new database incarnation.

Action: Retry the backup.

ORA-19843: Cannot obtain datafile name for datafile string

Cause: While trying to obtain the file enqueue for the datafile the datafile name could not be obtained.

Action: Examine the trace and alert files for possible causes. Fix underlying problem before attempting command again.

ORA-19844: database ID is from different database: ID=string

Cause: The database ID on the remote site did not match the ID of the target database. This is most likely caused by a wrong service name for the remote connection.

Action: Supply the correct service name and retry the command.

ORA-19845: error in string while communicating with remote database server

Cause: An error occurred while initiating backup on remote database server for network restore. Additional error messages will be issued to describe the failure.

Action: Check additional error messages.

ORA-19846: cannot read header of datafile string from remote site

Cause: Unable to read the file header from remote site.

Action: Make sure the data file is accessible on remote site and retry the command.

ORA-19847: cannot read header of control file from remote site

Cause: Could not read the control file header from the remote site.

Action: Make sure the database is mounted on the remote site and retry the command.

ORA-19848: cross-platform backup piece requires COMPATIBLE string or greater

Cause: An attempt was made to perform a cross-platform operation from a backup piece created with a higher compatibility than the current COMPATIBLE parameter.

Action: Raise the compatibility level or do not attempt a cross-platform restore from this backup piece.

ORA-19849: error while reading backup piece from service string

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: See other errors actions.

ORA-19850: backup piece constructed from service string is corrupt

Cause: This error indicates that the backup piece that was constructed from the service is corrupt.

Action: See alert log for details of the corruption. Fix the corruption and retry the command.

ORA-19851: OS error while managing auxiliary database string

Cause: An OS error was received while managing the automatic auxiliary instance.

Action: Check the accompanying errors.

ORA-19852: error creating services for auxiliary instance string (error string)

Cause: An error was received while managing the services of the auxiliary instance.

Action: Check the accompanying errors.

ORA-19853: error preparing auxiliary instance string (error string)

Cause: An error was received while managing the automatic auxiliary instance.

Action: Check the accompanying errors.

ORA-19854: error obtaining connect string from target

Cause: Could not obtain the connect string from the target database

Action: Check the accompanying errors.

ORA-19855: cannot use clone mounted control file to drop database

Cause: The clone mounted control file could not be used to drop the database because the names of the data files and online logs were not fixed using the RMAN DUPLICATE command. This could cause the original database files to be lost.

Action: Manually drop the database.

ORA-19860: piece validation cannot be performed more than once

Cause: The user attempted to validate a list of backup pieces more than once. Validation may only be performed once for a given validation conversation.

Action: Do not attempt to validate the pieces more than once.

ORA-19861: additional backup pieces cannot be validated in this conversation

Cause: The user tried to add new pieces to the list of files being validated after the validation had already been performed. In a validation conversation, the list can only be validated once.

Action: Add all the backup pieces to the list before validating, or start a new validation conversation for the remaining pieces.

ORA-19862: backup pieces must be validated before accessing results

Cause: The user tried to get validation results for backup pieces before the pieces were actually validated.

Action: Validate the pieces before trying to access the results.

ORA-19863: device block size string is larger than max allowed: string

Cause: The user specified a device BLKSIZE that is larger than the device BLKSIZE specified during compressed backup.

Action: Change the device BLKSIZE to be smaller than the maximum allowed.

ORA-19864: string
ORA-19865: Backup piece string has no data

Cause: No data was returned for the specified backup piece.

Action: This normally indicates a problem with the media management software which is linked with Oracle to provide backup and restore services. Contact the media management software vendor.

ORA-19866: error writing file header for datafile string

Cause: During a block recovery, the header of the datafile could not be updated.

Action: Contact Oracle Support Services.

ORA-19867: backup piece string is from a different container identifier string; data file string

Cause: This backup piece container identifier did not match the supplied data file container identifier.

Action: Retry the command with the correct backup piece or the correct data file.

ORA-19870: error while restoring backup piece string

Cause: This error should be followed by other errors indicating the cause of the problem.

Action: See other errors actions.

ORA-19872: Unexpected end of file at block string while decompressing backup piece string

Cause: While reading a compressed backup piece, RMAN received an end-of-file without finding the end-of-compression stream.

Action: This is most likely caused by a corrupted backup piece. Consider using a different backup piece for restore.

ORA-19873: cannot apply this backup section to file string

Cause: RMAN cannot restore a multi-section backup to the indicated file, because this section is not a backup of this file, or the file was not prepared correctly for this restore.

Action: If this error occurs while running RMAN, then it is an internal error and you should contact Oracle support.

ORA-19874: cannot finish multisection restore or copy to file string

Cause: During a multisection restore or copy, the file being restored was not a file in which a multisection restore or copy was in progress.

Action: If this error occurs while running RMAN, then it was an internal error and you should contact Oracle Support Services.

ORA-19875: multisection restore or copy not complete for file string

Cause: While completing a multisection restore or copy, it was found that all required sections for this file were not correctly applied.

Action: If this error occurs while running RMAN, then it is an internal error and you should contact Oracle Support Services.

ORA-19880: Corrupted space header for datafile string, block string

Cause: When reading the space header block to use Unused Block Optimization for the backup of the datafile, the space header block had corrupted information.

Action: The corrupt space header must be fixed before Unused Block Optimization can be used for this file. Note that you should fix the corruption in any case because it will affect the availability of the data in the file, beyond just taking backups.

ORA-19881: Corrupted space bitmap for datafile string, block string

Cause: When reading a space bitmap block to use Unused Block Optimization for the backup of the datafile, the space bitmap block had corrupted information.

Action: The corrupt space bitmap must be fixed before Unused Block Optimization can be used for this file. Note that you should fix the corruption in any case because it will affect the availability of the data in the file, beyond just taking backups.

ORA-19882: datafile string checkpoint string is ahead of space bitmap datafile string checkpoint string

Cause: When checkpointing the datafile containing the space bitmaps for the datafile being backed up in order to use Unused Block Optimization, the checkpoint of the datafile containing the space bitmaps did not advance.

Action: Examine the trace and alert files for possible causes. Fix underlying problem to use Unused Block Optimization for datafile’s backup.

ORA-19883: Unused Block Optimization stopped for data file string

Cause: Accompanying errors detail the problem that prevented Unused Block Optimization from being used.

Action: See accompanying errors for appropriate action.

ORA-19884: datafile string is unable to use Unused Block Optimization because tablespace has been dropped

Cause: When attempting to find information about datafile that holds bitmaps of migrated tablespace, the tablespace was found to have been dropped.

Action: None. This is an informational message.

ORA-19899: missing incarnation information

Cause: Media recovery stopped because information of one or more ancestor incarnations of recovery target incarnation was not available.

Action: Register logs from the missing incarnations and retry recovery.

ORA-19900: RESETLOGS must be specified after recovery to new incarnation

Cause: Recovery was done to an incarnation after changing the destination incarnation using RMAN’s RESET DATABASE command.

Action: Open the database with the RESETLOGS option.

ORA-19901: database needs more recovery to create new incarnation

Cause: Recovery was done to an incarnation after changing the destination incarnation using RMAN’s RESET DATABASE command, but one or more of the recovered datafiles still belongs to the parent incarnation. This usually happens when recovery is ended before any logs from the desired incarnation have been applied.

Action: Continue recovery.

ORA-19902: incarnation key string not found

Cause: The specified incarnation was not found in the control file.

Action: Resubmit request with known incarnation key. To see which incarnations are available for this target database, query V$DATABASE_INCARNATION or use RMAN’s LIST INCARNATION command.

ORA-19903: test recovery not allowed when recovering to new incarnation

Cause: Either a new incarnation was set using RMAN’s RESET DATABASE command for a control file that was CURRENT, or the control file is from a prior incarnation. As recovery to a new incarnation requires changing the control file, test recovery is not allowed.

Action: Perform actual recovery or RESET DATABASE to incarnation that was last opened using the control file to do test recovery.

ORA-19904: test recovery not allowed for datafile string

Cause: The specified datafile has been restored from a backup that was taken before the last RESETLOGS. Recovering this datafile will require a file header update that is incompatible with test recovery.

Action: Perform actual recovery.

ORA-19905: log_archive_format must contain %string, %string and %%r

Cause: log_archive_format is missing a mandatory format element. Starting with Oracle 10i, archived log file names must contain each of the elements %s(sequence), %t(thread), and %r(RESETLOGS ID) to ensure that all archived log file names are unique.

Action: Add the missing format elements to log_archive_format.

ORA-19906: recovery target incarnation changed during recovery

Cause: While a media recovery was active, a new incarnation was detected by the server due to inspection or cataloging of archived logs or backup files.

Action: If you want recovery to use the new incarnation, restart recovery. This is the most common action on a standby database when RESETLOGS is done in primary. If you do not want recovery to use the new incarnation, change the recovery destination using RMAN’s RESET DATABASE TO INCARNATION <incarnation#> command. To see which incarnations are available for this target database, query V$DATABASE_INCARNATION or use RMAN’s LIST INCARNATION command.

ORA-19907: recovery time or SCN does not belong to recovered incarnation

Cause: A point-in-time recovery to an SCN or time stamp prior to the last RESETLOGS was requested.

Action: Either change the specified recovery time/SCN, or change the recovery destination using RMAN’s RESET DATABASE command.

ORA-19908: datafile string has invalid checkpoint

Cause: The specified datafile has an invalid checkpoint.

Action: Restore the datafile from a backup.

ORA-19909: datafile string belongs to an orphan incarnation

Cause: Either the specified datafile was restored from a backup that was taken during a period of time that has already been discarded by a RESETLOGS operation, or Oracle cannot identify which database incarnation the file belongs to. The alert log contains more information.

Action: Restore a backup of this file that belongs to either the current or a prior incarnation of the database. If you are using RMAN to restore, RMAN will automatically select a correct backup.

ORA-19910: can not change recovery target incarnation in control file

Cause: The RESET DATABASE TO INCARNATION command was used while the database is open. This is not allowed.

Action: Close the database then re-issue the command.

ORA-19911: datafile string contains future changes at the incarnation boundary

Cause: The file did not hit end backup marker redo during recovery at the incarnation boundary, hence may contain changes discarded by new incarnation.

Action: Use older backup of the file and then re-issue the command.

ORA-19912: cannot recover to target incarnation string

Cause: The control file is not in the recovery path of the target incarnation, and does not contain enough information as to how to recover to the target incarnation.

Action: Restore the latest control file from the target incarnation and retry.

ORA-19913: unable to decrypt backup

Cause: A backup piece could not be decrypted. This message is accompanied with another message that indicates the name of the encrypted backup that could not be restored. The reason could be either that an invalid password was entered, or that, when using transparent decryption, the database external security device is not open.

Action: If password-based restore was enabled for this backup, then supply the correct password using the RMAN SET DECRYPTION command. If transparent restore was enabled for this backup, then ensure that the database external security device is open.

ORA-19914: unable to encrypt backup

Cause: RMAN could not create an encrypted backup. This message will be accompanied by other messages that give more details about why the encrypted backup could not be created. The most common reason for this message is that you are trying to create a backup that can be transparently decrypted, and the database external security device is not open.

Action: If the external security device is not open, then open it. If the external security device is not configured, then the only type of encrypted backup that you can create is a password-based backup.

ORA-19915: unable to encrypt pre-10.2 files

Cause: An RMAN encrypted backup was requested, but this backup includes one or more archived logs that were generated by an older release of Oracle. These archived logs cannot be encrypted.

Action: Back up the older logs without encryption. Logs created with Oracle release 10.2 and greater can be encrypted.

ORA-19919: encrypted backups to tertiary storage require Oracle Secure Backup

Cause: RMAN was configured to create encrypted backups, but the channel is neither a DISK channel nor an Oracle Secure Backup channel.

Action: Allocate a DISK channel or an Oracle Secure Backup channel to use backup encryption.

ORA-19920: RMAN does not support PKI-based master key for encryption.

Cause: An attempt was made to use Oracle public key infrastructure (PKI) based master key algorithm. RMAN only supports Advanced Encryption Standard (AES) based encryption.

Action: Use AES based encryption.

ORA-19921: maximum number of string rows exceeded

Cause: The maximum number of rows in the V$RMAN_STATUS or V$RMAN_OUTPUT table has been exceeded.

Action: Close some of existing and unused RMAN connections and sessions.

ORA-19922: there is no parent row with id string and level string

Cause: RMAN tried to add a new V$RMAN_STATUS row, but the parent row did not exist.

Action: This is an internal error. Contact Oracle Support.

ORA-19923: the session for row with id string is not active

Cause: RMAN tried to update an V$RMAN_STATUS row but the process which owns this row died.

Action: This is an internal error. Contact Oracle Support.

ORA-19924: there are no row with id string

Cause: RMAN tried to update an V$RMAN_STATUS row, but the row don’t exist.

Action: This is an internal error. Contact Oracle Support.

ORA-19925: Internal error while cleaning memory used by V$RMAN_STATUS view
ORA-19926: Database cannot be converted at this time

Cause: Another CONVERT DATABASE operation is already in progress.

Action: Retry CONVERT DATABASE command later.

ORA-19927: CONVERT DATABASE operation cannot proceed

Cause: An error occurred earlier during CONVERT DATABASE operation.

Action: Retry CONVERT DATABASE command.

ORA-19928: CONVERT of data files with undo segments between different endian is not supported.

Cause: Conversion of data files with undo segments was not supported between endianess. The only time that data files with undo segments can be converted is between the same endianess as part of convert database. Convert database between different endian is not supported.

Action: Do not attempt to convert data files with undo segments between different endian.

ORA-19929: no archive log registered

Cause: An error occurred during ALTER DATABASE RECOVER with the FORCE START AT option because there were no archive logs registered in the control file covering the specified start SCN or time.

Action: Register archive logs covering the specified SCN or time.

ORA-19930: file string has invalid checkpoint SCN string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, the file header was not recognized as a valid header because it contained a invalid checkpoint SCN. The indicated file cannot be processed.

Action: Ensure that the correct files are being specified for the catalog or backup operation.

ORA-19931: file string has invalid creation SCN string

Cause: When opening the file to be placed in a copy or backup set, to be inspected, the file header was not recognized as a valid header because it contained a invalid creation SCN. The indicated file cannot be processed.

Action: Ensure that the correct files are being specified for the catalog or backup operation.

ORA-19932: control file is not clone, standby or backup

Cause: The operation failed because the control file was not mounted as clone, standby or backup.

Action: Mount the database as clone, standby or backup and retry.

ORA-19933: catalog backup piece string of data pump dump file is not supported

Cause: This backup piece contained data pump dump file. Cataloging such a backup piece is not supported.

Action: Do not request to catalog data pump dump file backup piece.

ORA-19934: cannot validate block 0

Cause: An attempt was made to validate block 0 of a datafile.

Action: Do not specify block 0 for validation.

ORA-19935: During backing up, the data file string is moved or rekeyed to string.

Cause: The data file was moved or rekeyed.

Action: Check the status of the data file and try this command again.

ORA-19936: some tablespaces were not found in backup set

Cause: Some tablespaces that were specified for restoration were not found in the backup set directory. Message 19937 is issued for each file that was not found.

Action: See the instructions for message 19937.

ORA-19937: tablespace string was not found in backup set

Cause: The indicated tablespace could not be restored because it was not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and one or more tablespaces named for restoration are not found. The restore conversation is still active, but no data has been read and you must supply the first backup piece of a backup set that contains all of the requested files or tablespaces or both.

ORA-19938: Data Pump dump file backup requires COMPATIBLE string or greater

Cause: Data Pump dump file backup requested but COMPATIBLE did not allow it.

Action: Do not request dump file backup or set COMPATIBLE to minimum value and retry backup.

ORA-19939: Data Pump dump file can only be included in a cross-platform backup

Cause: Data Pump dump file backup requested but the backup conversation is not a cross-platform conversation.

Action: Start a new cross-platform backup conversation or do not include a Data Pump dump file.

ORA-19940: cannot use cross-platform backups to convert whole database to different endianess

Cause: Cross-platform backups or restores of whole database between different endianess was requested but it is not supported.

Action: Revise the specified platforms for conversion before retrying the command.

ORA-19941: invalid blocksize in cross-platform datafile string

Cause: Blocksize in header of datafile copy being converted at target was invalid. Either datafile has not been made read/write with compatibility 10.0 or greater at source database or datafile copy is corrupted.

Action: Make a new datafile copy taken after tablespace has been made read/write with compatibility 10.0 at source database and retry conversion.

ORA-19942: datafile copy string not created with compatibility 10.0 or greater

Cause: The specified datafile copy to be converted at the target was not produced after making the tablespace in read/write mode with compatibility 10.0 or greater at the source database.

Action: Make a new datafile copy taken after tablespace has been made read/write with compatibility 10.0 at source database and retry conversion.

ORA-19943: Data Pump dump file not found in backup set

Cause: The Data Pump dump file could not be restored because it was not in this backup set.

Action: This message is issued when the directory from the first backup piece is read and the Data Pump dump file is not found in the piece. You must supply the first backup piece of a backup set that contains the requested file.

ORA-19944: Specified platform: ‘string‘ does not match piece header platform: ‘string

Cause: The backup piece did not belong to the platform specified in FROM PLATFORM.

Action: Retry the restore using the correct FROM PLATFORM or without specifying FROM PLATFORM at all.

ORA-19945: file string already included to be restored to string

Cause: This file was already specified for inclusion in this restore conversation. The restore conversation may process only a single instance of a datafile.

Action: No action required. The conversation is still active and more files can be specified.

ORA-19946: Cannot determine block size of backup piece ‘string‘ (string)

Cause: It was not possible to determine the cross-platform transportable backup piece block size.

Action: Contact Oracle Support Services.

ORA-19947: Invalid block size string in backup piece ‘string‘ from specified platform ‘string

Cause: The block size obtained from the backup piece using the specified platform was not valid. Either the piece is corrupted or the specified platform is incorrect.

Action: Retry the restore using the correct FROM PLATFORM clause.

ORA-19948: Backup piece does not contain a cross-platform datafile backup, reason=string

Cause: A cross-platform transportable restore was specified but the backup piece was not produced with the correct command.

Action: Produce a cross-platform transportable backup piece by using BACKUP … TO PLATFORM and retry the restore.

ORA-19949: Specified platform: ‘string‘ has different endianess than piece ‘string‘, cannot read

Cause: The backup piece had a different endianess than the platform specified in FROM PLATFORM.

Action: Retry the restore using the correct FROM PLATFORM or without specifying FROM PLATFORM at all.

ORA-19950: tablespace string already included to be restored

Cause: This tablespace was already specified for inclusion in this restore conversation.

Action: No action required. The conversation is still active and more tablespaces or files or both can be specified. The restore conversation may process only a single instance of a tablespace.

ORA-19951: cannot modify control file until DBNEWID is completed

Cause: An operation requiring to modify the control file was attempted, but a NID change is in progress.

Action: Wait until NID completes before attempting the operation.

ORA-19952: database should be mounted exclusively

Cause: The database was started in parallel mode. To change the DBID, the database must be mounted exclusively.

Action: Shut down the database and start it in exclusive mode.

ORA-19953: database should not be open

Cause: The database was open. To change the DBID, the database must be mounted exclusively.

Action: Shut down the database and mount it in exclusive mode.

ORA-19954: control file is not current

Cause: The operation failed because a non-current, non-standby control file was mounted.

Action: Make the control file current and retry.

ORA-19955: only one open thread is allowed to change the DBID

Cause: The operation failed because there were active threads in the database. The most likely cause is that the database crashed the last time it was shut down.

Action: Ensure that all threads are closed before retrying the operation. Start and open the database to perform crash recovery, then shut down with the NORMAL or IMMEDIATE options to close it cleanly. Finally, try running the utility again.

ORA-19956: database should have no offline immediate datafiles

Cause: The operation failed because the database had one or more datafiles that were in OFFLINE IMMEDIATE mode.

Action: Drop the datafiles or recover them and bring them online.

ORA-19957: database should have no datafiles in unknown state

Cause: The operation failed because the database had one or more datafiles that were in an unknown state.

Action: Drop the datafiles or recover them and bring them online.

ORA-19958: potential deadlock involving DIAG process

Cause: DIAG requested a control file operation that may lead to a deadlock

Action: Try last operation later when the control file is released

ORA-19959: DBNEWID utility only allowed in CDB$ROOT

Cause: An attempt was made to use the DBNEWID utility in a pluggable database.

Action: Connect to CDB$ROOT and retry the command.

ORA-19960: Internal use only

Cause: NID usage

Action: None

ORA-19961: compression algorithm string requires advanced compression option to be enabled

Cause: Requested compression algorithm in initialization parameter or by RMAN configuration requires that the advanced compression option be enabled and it was not.

Action: Change initialization parameter advanced_compression_option_usable to true or change RMAN configurations and retry the operation.

ORA-19962: compression algorithm string is not valid with release string

Cause: Algorithm in initialization parameter requires a lower compatibility that is currently set.

Action: Change algorithm in initialization parameter file or lower compatibility.

ORA-19963: error getting logical block size of file string

Cause: Error occurred when querying the logical block size of a file.

Action: None

ORA-19965: ALTER DATABASE RECOVER STANDBY TABLESPACE has been deprecated

Cause: The STANDBY TABLESPACE clause of the ALTER DATABASE RECOVER statement (partial_database_recovery clause) has been deprecated.

Action: If you want to recover the standby database to a consistent point, but no further, use the statement ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CONSISTENT.

ORA-19966: ALTER DATABASE RECOVER STANDBY DATAFILE has been deprecated

Cause: The STANDBY DATAFILE clause of the ALTER DATABASE RECOVER statement (partial_database_recovery clause) has been deprecated.

Action: If you want to recover the standby database to a consistent point, but no further, use the statement ALTER DATABASE RECOVER MANAGED STANDBY DATABASE UNTIL CONSISTENT.

ORA-19970: multi-instance standby role transition in progress

Cause: ALTER DATABASE MOUNT failed because a multi-instance standby role transition was in progress.

Action: Retry after the multi-instance standby role transition finishes.

ORA-19971: event 10875 or 10879 is set

Cause: Event 10875 or event 10879 was set which prevented the operation from completing with multiple instances running in Oracle RAC.

Action: Shutdown all but one instance, then retry the command.

ORA-19972: ALTER DATABASE RECOVER TO LOGICAL requires one instance left

Cause: ALTER DATABASE RECOVER TO LOGICAL required only one instance to be left running.

Action: Shutdown all but one instance, then retry the command.

ORA-19973: flashback database is not enabled

Cause: Physical standby transition to snapshot standby required only one instance left running if flashback database logging was not enabled.

Action: Shutdown all but one instance, then retry the command.

ORA-19974: database name has changed

Cause: Physical standby role transition required only one instance left running if database name was changed and flashback database logging was enabled.

Action: Shutdown all but one instance, then retry the command.

ORA-19975: database must not be started in any other instance

Cause: The physical standby role transition command failed because a certain condition required the database to be mounted in this instance and not started in any other instance.

Action: See associated error message for detailed explanation.

ORA-19976: a concurrent standby role transition in progress

Cause: The standby role transition operation failed because a concurrent standby role transition was already in progress.

Action: None

ORA-19980: cannot open Data Pump dump file string

Cause: When attempting to open the specified dump file, an error was received.

Action: Verify that the specified dump file exists and is accessible.

ORA-19981: cannot read header of Data Pump dump file string

Cause: When attempting to read the header of the specified dump file, an error was received.

Action: Verify that the specified dump file is complete.

ORA-19982: file string is not a Data Pump dump file

Cause: The specified dump file did not contain data created by Data Pump.

Action: Verify that the specifed dump file is really a file created by Data Pump.

ORA-19983: Data Pump dump file could not be verified

Cause: Some data blocks for the Data Pump dump file were corrupt in the backup set.

Action: Unless the damage to the backup set can be repaired, the Data Pump dump file cannot be restored from this backup set.

ORA-19984: Data Pump dump file restore requires COMPATIBLE string or greater

Cause: Data Pump dump file restore requested but COMPATIBLE did not allow it.

Action: Do not request dump file backup or set COMPATIBLE to minimum value and retry backup.

ORA-19985: Data Pump dump file can only be requested in a cross-platform restore

Cause: Data Pump dump file restore requested but the restore conversation is not a cross-platform conversation.

Action: Start a new cross-platform restore conversation or do not include a Data Pump dump file.

ORA-19986: archived log backup piece found for cross-platform backup

Cause: A cross-platform backup was requested for a backup piece that contained archived logs.

Action: Specify a datafile backup piece for cross-platform processing.

ORA-19987: unknown platform ID string

Cause: The platform ID obtained from a cross-platform backup was incorrect.

Action: Verify that the platform specified in the FROM PLATFORM clause is correct.

ORA-19988: must specify FROM PLATFORM for cross-platform restore of backup sets with pre-12.1 compatibility

Cause: A cross-platform restore was requested from a backup piece created with pre-12.1 compatibility without providing the platform name that created it.

Action: Reissue the command including the FROM PLATFORM clause.

ORA-19990: restore from cross-platform encrypted backup is not supported

Cause: A cross-platform restore was requested from an encrypted backup set.

Action: Specify a non-encrypted backup set from which to perform the restore.

ORA-19991: cross-platform backup of encrypted backups to different endianess is not supported

Cause: A cross-platform backup was requested for an encrypted backup to a different endianess from the current platform.

Action: Do not specify an encrypted backup or specify the same endian platform.

ORA-19992: cross-platform backup of encrypted backup piece with different endianess is not supported

Cause: A cross-platform backup was requested for an encrypted backup piece with different endianess from the current platform.

Action: Specify a backup piece without encryption to the backup.

ORA-19993: must specify FROM PLATFORM for cross-platform backup of backup pieces with compatibility set prior to 12.1

Cause: A cross-platform backup was requested for a backup piece created with compatibility prior to 12.1 without providing the platform name that created it.

Action: Reissue the command including the FROM PLATFORM clause.

ORA-19994: cross-platform backup of compressed backups to different endianess is not supported

Cause: A cross-platform backup was requested for a compressed backup to a different endianess from the current platform.

Action: Do not specify a compressed backup or specify the same endian platform.

ORA-19995: controlfile cannot be restored from a cross-platform backup with different endianess

Cause: A restore of the controlfile was requested from a cross-platform backup, but the backup did not have the same endianess and restore was not possible.

Action: Do not attempt to restore a controlfile from a cross-platform backup set.

ORA-19996: cross-platform backup of backup pieces with pre-10.2 compatibility is not supported

Cause: A cross-platform backup was requested for a backup created with pre-10.2 compatibility.

Action: Do not attempt to perform cross-platform backup of backups created with with pre-10.2 compatibility.

ORA-19997: backup pieces prior to 10.2 cannot be operated for cross-platform

Cause: A cross-platform operation was requested for a backup created with pre-10.2 compatibility.

Action: Do not attempt to perform the cross-platform operation of backups created with pre-10.2 compatibility.

ORA-19998: data file string already included to be plugged

Cause: This data file was already specified for inclusion in this restore conversation.

Action: No action required. The conversation is still active and more files can be specified. 19999 is used for event

ORA-19999: skip_row procedure was called

Cause: The skip_row procedure was called which raises this error

Action: Skip_row should only be called within a trigger or a procedure called by a trigger.

ORA-20000: string

Cause: The stored procedure ‘raise_application_error’ was called which causes this error to be generated.

Action: Correct the problem as described in the error message or contact the application administrator or DBA for more information.

8,845 total views, 5 views today

Oracle 11g Oracle Checkpoint Not Complete, Cannot Allocate New Log Warning

$
0
0

Error: Checkpoint not complete, Cannot Allocate New Log Warning

Thread 1 cannot allocate new log, sequence 125487
Checkpoint not complete

Solution: Checkpoint not complete messages are generated due to the logs are switching so fast that the checkpoint associated with the log switch isn’t complete. You should increase redo log file size and amount to resolve. Also, If you use archive_lag_target parameter as near zero for example like 1 or 2 minutes, you should change this parameter zero (no lag) or more than 10-15 min. Oracle recommends that redo log switch operation interval should be between 15-30 minutes.

oracle_redo_log_files

Show and change archive_lag_target parameter

SQL> show parameter archive_lag_target;
SQL> alter system set archive_lag_target=0 scope=both;
or
SQL> alter system set archive_lag_target=1800 scope=both;
1800 is 15 minutes. Parameter value as second.

If your archive_lag_target parameter is normal and you get checkpoint not complete error, you have to look your redo log file size and amount.

Show Redo Log Files

SQL> select * from v$log;
SQL> select * from v$logfile;

If all redo log files status are ACTIVE and CURRENT, you may get checkpoint not complete warning and that is normal. You should see redo log files status as ACTIVE, CURRENT and INACTIVE.

Redo Log File Status Descriptions

UNUSED – Online redo log has never been written to. This is the state of a redo log that was just added, or just after a RESETLOGS, when it is not the current redo log.

CURRENT – Current redo log. This implies that the redo log is active. The redo log could be open or closed.

ACTIVE – Log is active but is not the current log. It is needed for crash recovery. It may be in use for block recovery. It may or may not be archived.

CLEARING – Log is being re-created as an empty log after an ALTER DATABASE CLEAR LOGFILE statement. After the log is cleared, the status changes to UNUSED.

CLEARING_CURRENT – Current log is being cleared of a closed thread. The log can stay in this status if there is some failure in the switch such as an I/O error writing the new log header.

INACTIVE – Log is no longer needed for instance recovery. It may be in use for media recovery. It might or might not be archived.

If your redo log file size is small or redo log file amount is too few for example two, you have to add new redo log file and increase size.

Add New Redo Log File

SQL> alter database add logfile size 200M;

You can drop small sized redo log files with group number while status is INACTIVE. You can check status with v$log;

Drop Redo Log File

SQL> alter database drop logfile group 3;

You have to check switch time of redo log files after add new redo logs. If switch interval is 15-30 minutes and do not see checkpoint not complete warning, you database redo log size and amount is suitable. You can set archive_lag_target to 15 minutes to force create archive log that is important for recovery operation. If you lose your redo logs, you have to use archived logs. Interval of create archive logs is important for RPO (Recover Point Objective) value.

6,779 total views, 14 views today

Update Another Column On The Same Table With Trigger While Updating Table in Oracle

$
0
0

If you want to do update another column when execute an update on table, you can use before update trigger. If you use after update trigger, you can get some errors. if you use pragma autonomous_transaction parameter as declare in trigger you can get errors like that are “ORA-00060: deadlock detected while waiting for resource”, “ORA-06512: at “trigger_name” line 7″,”ORA-04088:error during execution of trigger “trigger_name”” if you don’t use, you can get errors like that are “ORA-04091: table tablename is mutating, trigger/function may not see it”,”ORA-06512: at trigger_name”, line 6″,”ORA-04088: error during execution of trigger trigger_name”

You can resolve this problem with using before update trigger. You can update another column of updating the same table.

Trigger Example

My example is about that If status column of table1 change from 0 to 1, I will write another columns that are name, surname and studentno at the same table table1.

create table table1 (id number, status number, name varchar2(100), surname varchar2(100), studentno varchar2(100),address varchar2(500),city varchar2(100));

create or replace trigger trg_trigger_name_upt
before update of status on table1
referencing OLD as old NEW as new
for each row
v_studentno varchar2(100);
begin

IF :old.status = 0 AND :new.status = 1 and UPDATING THEN

:new.name := ‘Fatih’;
:new.surname := ‘Acar’;
v_studentno := seq_studentno.nextval;
:new.studentno := v_studentno;

END IF;

end;
/

6,261 total views, 5 views today

TNS-12547: TNS:lost contact and Linux Error: 32: Broken pipe While Connect Oracle 12c Data Guard

$
0
0

I installed Oracle 12c Data Guard, everything was okey. But, I got an error like below when I wanted to connect data guard database with Toad or SQL Developer. tnsping was okey.

Error

SQL Developer :

Status : Failure -Test failed: IO Error: Got minus one from a read call

Listener.log

10-OCT-2017 15:01:16 * (CONNECT_DATA=(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=testuser))(SERVICE_NAME=TDG)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=testuser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.24)(PORT=49834)) * establish * TDG * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe

Solution

If you have grid user to manage listener, you have to give permission on $ORACLE_HOME/bin/oracle executable file. You have to give chmod 6751 permission. This provides that grid user can execute oracle file like oracle user. Oracle open process on OS when you connect to database. If you connect from remote with using listener, listener owner (grid) will want to open new process on OS but grid user cannot open process with using $ORACLE_HOME/bin/oracle file due to do not have permission. So you have to give 6751 permission to use $ORACLE_HOME/bin/oracle file.

[root@tdg bin] chmod 6751 oracle

You can see the same problem at 11g and 12c version of Oracle Data Guard. When oracle rac installation or single instance installation with grid, oracle automatically change permission of $ORACLE_HOME/bin/oracle file to 6751.

5,925 total views, 35 views today


Oracle 12c R2 Error Codes and Solution Suggestions from ORA-17500 to ORA-18000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-17500 to ORA-18000

ORA-17500: ODM err:string

Cause: An error returned by ODM library

Action: Look at error message and take appropriate action or contact Oracle Support Services for further assistance

ORA-17501: logical block size string is invalid

Cause: logical block size for oracle files must be a multiple of the physical block size, and less than the maximum

Action: check INIT.ORA file parameters

ORA-17502: ksfdcre:string Failed to create file string

Cause: file creation failed due to either insufficient OS permission or the file already exists

Action: check additional error messages

ORA-17503: ksfdopn:string Failed to open file string

Cause: file open failed due to either insufficient OS permission or the name of file exceeds maximum file name length.

Action: check additional error messages

ORA-17504: ksfddel:Failed to delete file string

Cause: The file that was being deleted is still in use or the process has insufficient permission to delete file.

Action: check additional error messages

ORA-17505: ksfdrsz:string Failed to resize file to size string blocks

Cause: There is insufficient space left on the device or the process has insufficient permission to resize file.

Action: check additional error messages

ORA-17506: I/O error simulation

Cause: The I/O request was marked with an error because the I/O error simulation event was turned on.

Action: n/a

ORA-17507: I/O request size string is not a multiple of logical block size.

Cause: I/O’s were done in a multiple of the logical block size.

Action: Check additional error messages.

ORA-17508: I/O request buffer pointer is not aligned.

Cause: I/O request buffer was not aligned. Check additional information for a buffer pointer value.

Action: Contact Oracle Support Services.

ORA-17509: An attempt to do I/O beyond block1 offset.

Cause: When a file is identified with logical block size of 0, only I/O’s to block1 is allowed.

Action: Check additional error messages and contact Oracle Support Services.

ORA-17510: An attempt to do I/O of size string to block string is beyond file size string. Logical block size: string.

Cause: The I/O request pointed to a block beyond the end of the file.

Action: Check additional error messages and contact Oracle Support Services.

ORA-17512: Block Verification Failed

Cause: Block Verification after a read operation on a database file failed since the block is media corrupt.

Action: check additional error messages in the trace file and call Oracle Support Services

ORA-17513: dNFS package call failed

Cause: An attempt was made to call a Direct NFS (dNFS) package in a non-dNFS environment.

Action: Ensure that dNFS is enabled and the file can be accessed using dNFS.

ORA-17514: Access to clonedb bitmap file failed

Cause: Accessing the bitmap block file in clonedb environment has encountered an error

Action: check additional error messages in the trace file and call Oracle Support Services

ORA-17515: Creation of clonedb failed using snapshot file string

Cause: Creating a data file in a CloneDB environment failed.

Action: Ensure that the snapshot file passed to CloneDB is not from another CloneDB instance and call Oracle Support Services for further assistance.

ORA-17516: dNFS asynchronous I/O failure

Cause: The asynchronous I/O request failed due to storage server reboot.

Action: Ensure that the storage server does not reboot repeatedly during database operations.

ORA-17517: Database cloning using storage snapshot failed on file string:string

Cause: An invocation of the storage clone command was returned with an error.

Action: Ensure that all necessary steps are performed for storage cloning and check the Oracle trace file for additional information.

ORA-17518: backup file string cannot be found

Cause: Access to the specified backup file was required for Instant Restore.

Action: Ensure that the path and file name are correct for the backup file and the path to the backup file can be accessed from the node of the instance.

ORA-17519: Reason(string): data file string cannot be prepared

Cause: The snapshot layer could not prepare the specified data file.

Action: Ensure that the file does not already exist, is already part of a clone setup, or is being repopulated by an Instant Restore background process. Ensure that the path specified is accessible and writable by the instance.

ORA-17520: data file string cannot be added to repopulation

Cause: Instant Restore could not add the file to the repopulation work queue.

Action: The repopulation process may be working on too many files for the system. Try waiting for some files to complete and try again.

ORA-17521: Instant Restore is not enabled

Cause: The initialization parameters for Instant Restore were not set.

Action: Ensure that Instant Restore initialization parameters are set as required for this feature.

ORA-17522: file string is already being repopulated

Cause: The file was already being repopulated from a previous restore.

Action: Ensure that the file completes restore before you start another restore.

ORA-17523: Instance number cannot spawn repopulation (RPOP) process

Cause: The instance had too many running processes.

Action: Ensure that the maxmimum number of processes initialization parameter is set properly for this feature.

ORA-17524: Repopulation cannot take place – no RPOP processes

Cause: The maxmimum processes initialization parameter was not set properly.

Action: Ensure that the maxmimum number of processes initialization parameter is set properly for this feature. Check the alert log for other related errors.

ORA-17525: Database clone using storage snapshot not supported on file string

Cause: Cloning a database using storage level snapshot is not supported on the underlying storage.

Action: Use storage product that has snapshot based cloning support for Oracle.

ORA-17526: Block size of file string is too small string. Must be >= string.

Cause: Files with block sizes smaller than a minimum size cannot be used for clones backed by snapshot file.

Action: Use files with larger block size.

ORA-17527: Creation of a snapshot failed because the destination string was not a sparse disk group.

Cause: Creating a snapshot failed because the destination disk group was not a sparse disk group.

Action: Ensure that the CREATE_FILE_DEST clause passed to the snapshot copy is in a sparse disk group.

ORA-17528: A read-only file or a file opened read-only cannot be written to: string.

Cause: The file was read-only or was opened read-only and an attempt was made to write to the file, or there was an internal error.

Action: If the file is a parent of a snapshot, then you cannot open read/write, drop or unplug the database. Otherwise, look at the trace file and contact Oracle Support Services.

ORA-17529: creation of compressed file failed

Cause: An attempt was made to create a compressed file on an instance that was not a CloneDB instance.

Action: Set CLONEDB parameter to TRUE and retry the operation.

ORA-17530: snapshot (parent), string, modified after clone (child) created, string

Cause: The snapshot referred to by the clone was incompatible with what the clone was created.

Action: Locate the appropriate snapshot and place it in the named location.

ORA-17531: snapshot (parent)=string modification time string is different from snapshot creation time string recorded in file string

Cause: The clone (child) referred to a snapshot at a specific point in time. The snapshot (parent) currently in that place is at the wrong time.

Action: Locate the appropriate snapshot (parent) and place it in the named location.

ORA-17532: snapshot (parent)=string checkpoint SCN string is different from snapshot checkpoint SCN string recorded in file string

Cause: The clone (child) referred to an SCN at a specific point in time. The snapshot (parent) currently in that place is at the wrong SCN.

Action: Locate the appropriate snapshot (parent) and place it in the named location.

ORA-17533: sparse merge copy operation failure because string and string do not share a valid relationship

Cause: Files specified with the ‘sparse_merge_begin’ and ‘sparse_merge_end’ options did not share a valid relationship.

Action: Check additional error messages.

ORA-17534: sparse merge copy operation failure because request to change file access permissions for string failed

Cause: File access permissions for the file could not be modified.

Action: Check additional error messages.

ORA-17535: sparse merge copy operation failure because it tried to merge to the base parent string

Cause: The sparse merge copy operation was not successful because it tried to merge to the base parent.

Action: Check additional error messages.

ORA-17610: file ‘string‘ does not exist and no size specified

Cause: An attempt to create a file found neither an existing file nor a size for creating the file.

Action: Specify a size for the file.

ORA-17611: ksfd: file ‘string‘ cannot be accessed, global open closed

Cause: An attempt to write to a file which has gone offline/unidentified

Action: Check for other errno in the stack

ORA-17612: Failed to discover Oracle Disk Manager library, return value string

Cause: Discovery of the odm library by calling odm_discover() failed

Action: Contact your storage vendor who has provided the ODM library or call Oracle Support

ORA-17613: Failed to initialize Oracle Disk Manager library: string

Cause: Initialization of the Oracle Disk Manager (ODM) for the thread failed due to insufficient privilege or memory.

Action: Ensure that there is enough system resources available for the Oracle process and that it has access to the ODM library.

ORA-17618: Unable to update block 0 to version 10 format

Cause: An attempt was made to update block 0 to version 10 format.

Action: Check additional error messages and call Oracle Support Services

ORA-17619: max number of processes using I/O slaves in a instance reached

Cause: An attempt was made to start large number of processes requiring I/O slaves.

Action: There can be a maximum of 35 processes that can have I/O slaves at any given time in a instance.

ORA-17620: failed to register the network adapter with Oracle Disk Manager library: string

Cause: The Oracle Disk Manager (ODM) library returned an error while trying to register the network adapter.

Action: Ensure that the network adapter name specified in the FILEIO_NETWORK_ADAPTERS initialization parameter is a valid name, and that the Oracle user has the correct access privileges.

ORA-17621: failed to register the memory with Oracle Disk Manager library

Cause: The ODM library returned an error while trying to register the memory.

Action: Contact the Oracle Disk Manager Library provider.

ORA-17622: failed to deregister the memory with Oracle Disk Manager library

Cause: The ODM library returned an error while trying to deregister the memory.

Action: Contact the Oracle Disk Manager Library provider

ORA-17624: Failed to delete directory string

Cause: The directory that was being deleted is still in use or the process had insufficient permission to delete the directory.

Action: check additional error messages.

ORA-17626: ksfdcre: string file exists

Cause: trying to create a database file, but file by that name already exists

Action: verify that name is correct, specify REUSE if necessary

ORA-17627: string

Cause: An error returned by OCI while sending/receiving message from remote instance

Action: Look at error message and take appropriate action or contact Oracle Support Services for further assistance

ORA-17628: Oracle error string returned by remote Oracle server

Cause: Oracle server on the remote instance has returned an error.

Action: Look at remote instance alert log/trace file for more information and take appropriate action or contact Oracle Support Services for further assistance

ORA-17629: Cannot connect to the remote database server

Cause: Connecting to the remote server specified by database connect string for netowrk file transfer failed.

Action: Check additional error messages

ORA-17630: Mismatch in the remote file protocol version client string server string

Cause: Cannot communicate with the remote database server as there is a mismatch in the Oracle file protocol version.

Action: Check additional error messages

ORA-17631: dbname ‘string‘ specified by remote server does not match the instance name ‘string

Cause: The dbname specified by the remote server is not intended for this instance.

Action: Check the dbname specified in the command of the remote instance and look for further error messages.

ORA-17632: file ‘string‘ is a formatted ASM disk

Cause: An attempt to create a datafile on a device that was formatted for ASM disk failed.

Action: Check that the device specified is not an ASM disk. If you would like to use the disk for datafiles, please clear the disk before you retry the operation.

ORA-17633: Operation not supported as one of the servers involved is not capable of performing the requested operation

Cause: An attempt was made to perform an operation involving two Oracle servers where both servers did not have the capability required for carrying out the operation. It is likely that one of the servers needs a patch or an upgrade to successfully participate in the operation.

Action: Apply the required fix or update on the lower version server. Contact Oracle Support Services for further assistance.

ORA-17634: network file transfer operation aborted

Cause: An error occurred during network file transfer operation.

Action: Check addtional error messages.

ORA-17635: failure in obtaining physical sector size for ‘string

Cause: An error occurred while determining the physical sector size from the underlying storage (ASM/ODM/OSD).

Action: Check additional error messages.

ORA-17636: Invalid sparse block format (string). Start block=string. Error=string. File=string

Cause: An error occurred while reading the block on sparse media.

Action: Contact Oracle Support Services.

ORA-17637: failed to change permission on file ‘string

Cause: An error occurred while changing permission on a database file.

Action: Verify that Oracle user has ownership on the database file.

ORA-17638: Error in accessing a compressed file string. ‘string‘.

Cause: An error occurred while accessing a compressed file.

Action: Verify that the Oracle user has permission to access the compressed file.

ORA-17639: Snapshot backing file not read-only ‘string‘.

Cause: An error occurred while opening the snapshot backing file.

Action: Verify that the backing file has not changed since the creation of the snapshot file and set the backing file permissions to read-only.

ORA-17640: SQL statement execution failed

Cause: The remote SQL statement execution failed on primary database.

Action: Check for the required privileges to run the SQL statement.

ORA-17675: execution of OFS procedure failed with error:’string

Cause: Either the procedure was called on a platform where Oracle File System (OFS) is not supported or an invalid file system type was provided.

Action: Check additional error messages in the trace file.

ORA-17676: Failed to mount ‘string‘ with error:’string

Cause: Mounting database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17677: failed to unmount ‘string‘ with error:’string

Cause: Unmounting database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17678: failed to mount ‘string‘ with error:’string

Cause: Mounting of the database file system failed with an error.

Action: Check additional error messages in the trace file.

ORA-17679: failed to makefs ‘string‘ with error:’string

Cause: Either an invalid file system creation option was specified, the file system already existed, or a failure to create the tables occurred.

Action: Check additional error messages in the trace file.

ORA-17680: failed to destroy database file system ‘string‘ with error:’string

Cause: Either the database file system was invalid, it was still busy, it did not exist, or some other error has occurred.

Action: Check additional error messages in the trace file.

ORA-17681: cannot connect to the remote database server

Cause: An attempt was made to connect to the remote server using a shared server connection. This is not supported.

Action: Verify the connect string and use a dedicated server to connect to remote database.

ORA-18000: invalid outline name

Cause: The parser detected a missing or invalid outline name

Action: n/a

13,741 total views, 10 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18000 to ORA-18200

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18000 to ORA-18200

ORA-18000: invalid outline name

Cause: The parser detected a missing or invalid outline name

Action: n/a

ORA-18001: no options specified for ALTER OUTLINE

Cause: The parser detected that no clause was specified on the command Our performance tests, which are not typical as they exercise all branches of the code, have shown approximately a 30% performance increase line for ALTER OUTLINE.

Action: Re-issue the command, specifying a valid ALTER OUTLINE clause.

ORA-18002: the specified outline does not exist

Cause: Either the outline did not exist to begin with, or a timing window allowed for another thread to drop or alter the outline midstream.

Action: n/a

ORA-18003: an outline already exists with this signature

Cause: The signature generation algorithm generates signatures that are are 16 bytes in length so it is highly unlikely that any 2 signatures will be identical. This message is raised in such a rare case.

Action: Either re-issue the statement that led to the outline being created with some whitespace added or force the outline to be created in a different category.

ORA-18004: outline already exists

Cause: An outline already exists, either with the specified name, or for the specified SQL text.

Action: n/a

ORA-18005: CREATE ANY OUTLINE privilege is required for this operation
ORA-18006: DROP ANY OUTLINE privilege is required for this operation
ORA-18007: ALTER ANY OUTLINE privilege is required for this operation
ORA-18008: cannot find OUTLN schema

Cause: The database creation script that creates this schema must not have been executed.

Action: Review the log files to see what happened when the database was created.

ORA-18009: one or more outline system tables do not exist

Cause: Either the database creation script that creates these tables was not executed or a user accidently deleted the table

Action: Review the log files to see what happened when the database was created.

ORA-18010: command missing mandatory CATEGORY keyword

Cause: User failed to specify the CATEGORY keyword

Action: Re-issue the command with the CATEGORY keyword included

ORA-18011: the outline specified in the FROM clause does not exist
ORA-18012: select_catalog_role role is required for this operation
ORA-18013: timed out while waiting for resource string
ORA-18014: deadlock detected while waiting for resource string
ORA-18015: invalid source outline signature

Cause: User imported an 8i outline into a 9i database without updating signatures

Action: execute dbms_outln.update_signatures

ORA-18100: XUST0001 – Updating expression in a wrong position

Cause: An updating expression was used in a position other than one of the following: – The topmost expression in the body of a query. – The MODIFY clause of a TRANSFORM expression. – The RETURN clause of a FLWOR expression. – The RETURN clauses of a TYPESWITCH expression in which every RETURN clause contains an updating expression, an empty expression ( ), or a call to the fn:error function. – The THEN and ELSE clauses of a conditional statement in which both the then and else clauses contain either an updating expression, an empty expression ( ), or a call to the fn:error function. – An operand of a comma expression in which each operand is either an updating expression, an empty expression ( ), or a call to the fn:error function. – The content of a parenthesized expression. – The body of a function declaration in which the keyword UPDATING is specified.

Action: None

ORA-18101: XUST0002 – Non-updating expression in a wrong position

Cause: A non-updating expression other than an empty expression ( ) or a call to the fn:error function was used in one of the following positions: – The MODIFY clause of a TRANSFORM expression. – The top-level expression in the body of a function declaration in which the keyword UPDATING is specified.

Action: None

ORA-18102: XUST0003 – Repeated revalidation declaration

Cause: Prolog contained more than one revalidation declaration.

Action: None

ORA-18103: XUTY0004 – Invalid attribute node in the insertion sequence

Cause: The insertion sequence of an INSERT expression contained an attribute following a node that was not an attribute node.

Action: None

ORA-18104: XUTY0005 – Invalid target expression for INSERT

Cause: In an INSERT expression where INTO, AS FIRST INTO, or AS LAST INTO was specified, the target expression returned a nonempty result that did not consist of a single element or document node.

Action: None

ORA-18105: XUTY0006 – Invalid target expression for INSERT

Cause: In an INSERT expression where BEFORE or AFTER was specified, the target expression returned a nonempty result that did not consist element, text, comment, or processing instruction node.

Action: None

ORA-18106: XUTY0007 – Invalid target expression for DELETE

Cause: The target expression of a DELETE expression did not return a sequence of zero or more nodes.

Action: None

ORA-18107: XUTY0008 – Invalid target expression for REPLACE

Cause: In a REPLACE expression, the target expression returned a nonempty result that did not consist of a single element, attribute, text,

Action: None

ORA-18108: XUDY0009 – Invalid target expression for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified, the node returned by the target expression did not have a parent.

Action: None

ORA-18109: XUTY0010 – Invalid replacement sequence for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified and the target was an element, text, comment, or processing instruction node, the replacement sequence did not consist of zero or more element, text, comment, or processing instruction nodes.

Action: None

ORA-18110: XUTY0011 – Invalid replacement sequence for REPLACE

Cause: In a REPLACE expression where VALUE OF was not specified and the target is an attribute node, the replacement sequence did not consist of zero or more attribute nodes.

Action: None

ORA-18111: XUTY0012 – Invalid target expression for RENAME

Cause: In a RENAME expression, the target expression returned a nonempty result that did not consist of a single element, attribute, or processing instruction node.

Action: None

ORA-18112: XUTY0013 – Invalid COPY expression for TRANSFORM

Cause: In a TRANSFORM expression, a source expression in the copy clause did not return a single node.

Action: None

ORA-18113: XUDY0014 – Modified node was not created by the COPY clause

Cause: In a TRANSFORM expression, the MODIFY clause modified a node that was not created by the COPY clause.

Action: None

ORA-18114: XUDY0015 – Duplicate RENAME for the same target node

Cause: A node was the target of more than one RENAME expression within the same query.

Action: None

ORA-18115: XUDY0016 – Duplicate REPLACE for the same target node

Cause: A node was the target of more than one REPLACE expression (without VALUE OF being specified) within the same query.

Action: None

ORA-18116: XUDY0017 – Duplicate REPLACE for the same target node

Cause: A node was the target of more than one REPLACE VALUE OF expression within the same query.

Action: None

ORA-18117: XUDY0018 – External not updating function returns an updated value

Cause: A function that was declared to be external but not updating returned a nonempty pending update list.

Action: None

ORA-18118: XUDY0019 – External updating function returns an invalid value

Cause: A function that was declared to be both external and updating returned a nonempty data model instance.

Action: None

ORA-18119: XUDY0020 – Deleted node has no parent

Cause: Node was deleted that had no parent before execution of the query began.

Action: None

ORA-18120: XUDY0021 – The result XDM instance violates XDM constraints

Cause: XDM instance resulting from applying all the updates in a query violated constraint specified in [XQuery/XPath Data Model (XDM)]. In this case, none of the updates in the query were made effective.

Action: None

ORA-18121: XUTY0022 – Invalid attribute insertion into a document node

Cause: INSERT expression specified the insertion of an attribute node into a document node.

Action: None

ORA-18122: XUDY0023 – Updating expression introduces a namespace conflict

Cause: An INSERT, REPLACE, or RENAME expression affected an element node by introducing a new namespace binding that conflicted with one of its existing namespace bindings.

Action: None

ORA-18123: XUDY0024 – Updating expression introduces a namespace conflict

Cause: Effect of a set of updating expressions introduced conflicting namespace bindings into an element node.

Action: None

ORA-18124: XUDY0025 – Invalid QName for processing instruction RENAME

Cause: Target of a RENAME expression was a processing instruction node, and the new name expression returned a QName with a nonempty namespace prefix.

Action: None

ORA-18125: XUST0026 Revalidation mode string is not supported

Cause: Revalidation declaration in a Prolog specified a revalidation mode that is not supported by the current implementation.

Action: None

ORA-18126: XUDY0027 – Invalid target expression

Cause: Target expression of an INSERT, REPLACE, or RENAME expression evaluated to an empty sequence.

Action: None

ORA-18127: XUST0028 – Updating function should not have a return type

Cause: Function declaration specified both UPDATING and a return type.

Action: None

ORA-18128: XUDY0029 – INSERT expression target node doesn’t have a parent

Cause: In an INSERT expression where BEFORE or AFTER was specified, a node returned by the target expression did not have a parent.

Action: None

ORA-18129: XUDY0030 – Invalid insertion of an attribute node

Cause: INSERT expression specified the insertion of an attribute node before or after a child of a document node.

Action: None

ORA-18130: FOUP0001 – Invalid ‘fn:put’ first operand

Cause: The first operand of fn:put was not a node of a supported kind.

Action: None

ORA-18131: FOUP0002 – Invalid ‘fn:put’ second operand

Cause: The second operand of fn:put was not a valid lexical representation of the xs:anyURI type.

Action: None

ORA-18150: SQL input value cannot be modified in updating expression

Cause: Updating expression was specified as top-level XMLQuery expression.

Action: Use XQuery TRANSFORM expression to copy input value and modify it.

ORA-18160: FTST0001 – FTMildNot operator not supported

Cause: An attempt was made to use the mild not option when the FTMildNot operator was not supported. An implementation that does not support the FTMildNot operator must raise a static error if a full-text query contains a mild not.

Action: Do not use the FTMildNot full-text query operator.

ORA-18161: FTST0002 – FTUnaryNot operator not supported

Cause: An implementation that enforces one of the restrictions on FTUnaryNot must raise a static error if a full-text query does not obey the restriction.

Action: Do not use the FTUnaryNot full-text query operator.

ORA-18162: FTST0003 – FTUnit and FTBigUnit not supported

Cause: An implementation that does not support one or more of the choices on FTUnit and FTBigUnit must raise a static error if a full-text query contains one of those choices.

Action: Do not use the FTUnit or FTBigUnit option.

ORA-18163: FTST0004 – FTScope not supported

Cause: An implementation that does not support the FTScope operator must raise a static error if a full-text query contains a scope.

Action: Do not use the FTScope full-text query operator.

ORA-18164: FTST0005 FTTimes not supported

Cause: An implementation that does not support the FTTimes operator must raise a static error if a full-text query contains a times.

Action: Do not use the FTTimes full-text query operator.

ORA-18165: FTST0006 FTStopwordOption not supported

Cause: An implementation that restricts the use of FTStopwordOption must raise a static error if a full-text query contains a stop word option that does not meet the restriction.

Action: Do not use the FTStopwordOption full-text query operator.

ORA-18166: FTST0007 FTIgnoreOption not supported

Cause: An implementation that restricts the use of FTIgnoreOption must raise a static error if a full-text query contains an ignore option that does not meet the restriction.

Action: Do not use the FTIgnoreOption full-text query operator.

ORA-18167: FTST0008 stop word list not found

Cause: It was a static error if, during the static analysis phase, the query was found to contain a stop word option that referred to a stop word list that was not found in the statically known stop word lists.

Action: Ensure that the stop word list exists.

ORA-18168: FTST0009 language option not supported

Cause: It may be a static error if, during the static analysis phase, the query is found to contain a language identifier in a language option that the implementation does not support. The implementation may choose not to raise this error and instead provide some other implementation-defined behavior.

Action: Do not use the language full-text query option.

ORA-18169: FTST0010 FTOrder not succeeding FTWindow or FTDistance operator

Cause: It is a static error if, during the static analysis phase, an expression is found to use an FTOrder operator that does not appear directly succeeding an FTWindow or an FTDistance operator and the implementation enforces this restriction.

Action: Do not use the FTOrder succeeding FTWindow or FTDistance full-text query operator.

ORA-18170: FTST0011 FTWindow and FTDistance restriction

Cause: An implementation may restrict the use of FTWindow and FTDistance to an FTOr that is either a single FTWords or a combination of FTWords involving only the operators && and ||. If it a static error if, during the static analysis phase, an expression is found that violates this restriction and the implementation enforces this restriction.

Action: Follow FTWindow and FTDistance restriction.

ORA-18171: FTST0012 FTContent not supported

Cause: An implementation that does not support the FTContent operator must raise a static error if a full-text query contains one.

Action: Do not use FTContent full-text query operator.

ORA-18172: FTST0013 more than one language encountered

Cause: It is a static error if, during the static analysis phase, an implementation that restricts the use of FTLanguageOption to a single language, encounters more than one distinct language option.

Action: Do not use more than one language in FTLanguag full-text option.

ORA-18173: FTST0014 score computation restriction

Cause: An implementation may constrain the form of the expression used to compute scores. It is a static error if, during the static analysis phase, such an implementation encounters a scoring expression that does not meet the restriction.

Action: n/a

ORA-18174: FTST0015 FTCaseOption restriction

Cause: It is a static error if, during the static analysis phase, an implementation that restricts the choices of FTCaseOption encounters the “lowercase” or “uppercase” option.

Action: n/a

ORA-18175: FTDY0016 weights invalid

Cause: It is a dynamic error if an implementation that does not support negative weights encounters a weight expression that does not meet the restriction.

Action: Do not use invalid weights value.

ORA-18176: FTDY0017 mild not selection containings StringExclude

Cause: It is a dynamic error if an implementation encounters a mild not selection, one of whose operands evaluates to an AllMatches that contains a StringExclude

Action: n/a

ORA-18177: XQuery full text expression ‘string‘ cannot be evaluated using XML full-text index

Cause: There was no XML full-text index to evaluate the XQuery full text expression filtering XML documents that were stored in an XMLType table or column.

Action: Create an XML full-text index on the XML documents stored in an XMLType table or column and ensure that the XQuery full text expression can be evaluated by an XML full-text index.

ORA-18178: XMLType input to XMLTABLE row expression needs to use PASSING BY REF clause

Cause: The XMLTABLE column expression used the XMLTYPE(SEQUENCE) BY REF clause which requires XMLType input to the XMLTABLE row expression to use the PASSING BY REF clause.

Action: Specify the PASSING BY REF clause for XMLType input to the XMLTABLE row expression.

ORA-18179: XMLTABLE column expression needs to be specified using XMLTYPE(SEQUENCE) BY REF clause

Cause: Output of the XMLTABLE column expression was passed to an XMLTABLE row expression with PASSING BY REF clause.

Action: Specify the XMLTABLE column expression using XMLTYPE(SEQUENCE) BY REF clause.

ORA-18180: wrong argument is passed to XMLTABLE row expression using PASSING BY REF clause

Cause: An XML document that was not stored in an XMLType table or column was passed to an XMLTABLE row expression using the PASSING BY REF clause.

Action: Ensure that only XML documents that are stored in an XMLType table or column can be passed in as input to XMLTABLE row expression using the PASSING BY REF clause.

ORA-18181: XQuery full text expression option ‘string‘ is not supported

Cause: An attempt was made to use an XQuery full text expression option that is not supported.

Action: Avoid using an XQuery full text expression option which is not supported.

ORA-18182: FTST0018 unknown thesaurus is used

Cause: During the static analysis phase, the query was found to contain a thesaurus option that referred to a thesaurus that was not found in the statically known thesauri. This is a static error.

Action: Avoid using unknown thesaurus.

ORA-18183: FTST0019 more than one match option of any given match option group is used within a single FTMatchOptions.

Cause: Within the single FTMatchOptions, there was more than one match option of any given match option group. This is a static error.

Action: Avoid using more than one match option of any given match option group is used within a single FTMatchOptions.

ORA-18184: FTDY0020 a query string violates wildcard syntax when wildcards is in effect

Cause: Because wildcards were in effect, the query string violated wildcard syntax. This is a dynamic error.

Action: Fix wildcard syntax when wildcards is in effect.

ORA-18185: query is not parsed correctly

Cause: The query string was not parsed correctly.

Action: Check the syntax of the query string.

ORA-18201: The input MDX string is empty.

Cause: The input MDX (MultiDimensional eXpression) string was empty.

Action: Correct the input MDX (MultiDimensional eXpression) string.

3,355 total views, 10 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18200 to ORA-19000

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-18200 to ORA-19000

ORA-18201: The input MDX string is empty.

Cause: The input MDX (MultiDimensional eXpression) string was empty.

Action: Correct the input MDX (MultiDimensional eXpression) string.

ORA-18202: MDX parser error at line string, column stringstring.

Cause: The input MDX (MultiDimensional eXpression) query had invalid syntax.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18203: The MDX string string is not currently supported.

Cause: The input MDX (MultiDimensional eXpression) query contained an unsupported feature.

Action: Modify the MDX (MultiDimensional eXpression) query to use only supported features.

ORA-18204: The identifier at line string, column string has no closing right bracket (]) character.

Cause: The delimited identifier had no closing right bracket (]) character.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18205: Invalid arguments for function string.

Cause: The function had invalid arguments.

Action: Correct the syntax error for the MDX (MultiDimensional eXpression) query.

ORA-18220: The type of the expression in string is stringstring is expected.

Cause: The MDX (MultiDimensional eXpression) query had the wrong type.

Action: Use an expression with a valid type.

ORA-18221: The argument string in string has different hierarchies.

Cause: An argument had different hierarchies.

Action: Use uniform hierarchies.

ORA-18222: Hierarchy string already appears in string.

Cause: A hierarchy was repeated.

Action: Use disjoint hierarchies.

ORA-18223: Invalid identifier for dimension “string“.

Cause: More than one hierarchy existed for dimension.

Action: Specify the hierarchy with the dimension.

ORA-18224: invalid cube identifier “string

Cause: The cube identifier was specified incorrectly.

Action: Specify a valid cube identifier.

ORA-18225: The type of argument string of string is stringstring is expected.

Cause: An argument of the function had the wrong type.

Action: Use an argument with a valid type.

ORA-18226: argument string does not contain the hierarchy “string” in argument string in string

Cause: The hierarchy in one argument did not exist in the SET argument.

Action: Use an expression with the hierarchy from the set in the SET argument.

ORA-18227: The index is out of range in string.

Cause: The index was out of range.

Action: Use an index within the range.

ORA-18228: The set of argument string of string contains multiple hierarchies. Only one hierarchy is expected.

Cause: The set argument had more than one hierarchy.

Action: Use a SET argument that contains only one hierarchy.

ORA-18229: The hierarchy string is used more than once in arguments of string.

Cause: The hierarchy was used more than once.

Action: Use arguments that contain different hierarchies.

ORA-18230: The member identifier “string” cannot be resolved.

Cause: The member identifier could not be resolved.

Action: Use a valid member identifier.

ORA-18231: The StrToMember argument must be a member identifier when CONSTRAINED is specified.

Cause: The StrToMember argument was not a member identifier and CONSTRAINED was specified.

Action: Replace the argument with a member identifier or remove the CONSTRAINED option.

ORA-18232: A set with the name “string” has already been defined.

Cause: More than one set was defined with the same name.

Action: Rename the set so that it has a unique name within the WITH clause of the multidimensional expression (MDX) query.

ORA-18233: The set “string” has a cycle.

Cause: The set definition referenced itself either directly or indirectly using another referenced set.

Action: Change the definition of the set so that it does not directly or indirectly refer to itself.

ORA-18234: The calculated member “string” has the same name as an existing member.

Cause: The name specified for the calculated member identified another member in the hierarchy.

Action: Change the name of the calculated member so that it is unique within the specified hierarchy.

ORA-18235: The calculated member “string” must be a member identifier qualified by hierarchy.

Cause: The calculated member identifier either was not a valid member identifier or does not contain a hierarchy qualification.

Action: Change the calculated member identifier so that it is a valid member identifier qualifying the hierarchy.

ORA-18236: The calculated member “string” has a cycle.

Cause: The calculated member referenced itself either directly or indirectly using another referenced calculated member.

Action: Change the definition of the calculated member so that it does not directly or indirectly refer to itself.

ORA-18237: A calculated member with the name “string” has already been defined.

Cause: More than one calculated member was defined with the same name.

Action: Rename the calculated member so that it has a unique name within the WITH clause of the multidimensional expression (MDX) query.

ORA-18250: The input parameter to the MDX PL/SQL function is invalid.

Cause: The input parameter to the PL/SQL function was invalid.

Action: Correct the input parameter to the PL/SQL function.

ORA-18252: There are no active MDX queries.

Cause: Either an MDX (MultiDimensional eXpression) query was not executed or all executed queries were closed.

Action: Execute an MDX (MultiDimensional eXpression) query.

ORA-18253: invalid queryID: string

Cause: The MDX (MultiDimensional eXpression) query did not exist in the session with the given queryID.

Action: Specify a valid queryID obtained by calling dbms_mdx_odbo.execute.

ORA-18254: invalid cellRange size: string given, string expected

Cause: The size of the cellRange sequence was not 2 times the number of axes.

Action: Specify a cellRange that has the correct number of elements.

ORA-18255: Invalid cellRange: start (string) is greater than end (string) for axis string

Cause: The start was greater than end for a particular axis in the cellRange.

Action: Specify start less than or equal to end for each axis in the cellRange.

ORA-18256: Invalid axisIndex: string

Cause: The axisIndex was out of range.

Action: Specify an axisIndex greater than or equal to 0 and less than the number of axes.

ORA-18257: The classification value for “string” for measure “string” is invalid for MDX.

Cause: The classification value was invalid for MultiDimensional eXpression.

Action: Replace the Classification value.

ORA-18258: The MDX Slicer contains more than one row.

Cause: The set defining the Slicer resulted in more than one row.

Action: Correct the Slicer portion of the MultiDimensional eXpression query.

ORA-18259: The MDX Schema Rowset type request is invalid.

Cause: The MDX (MultiDimensional eXpression) Schema Rowset type was not a valid value.

Action: Valid MDX (MultiDimensional eXpression) schema Rowset types are between 1 and 10.

ORA-18260: The MDX Schema Rowset Restrictions array and Empty array are not the same size.

Cause: The MultiDimensional eXpression Schema Rowset Restrictions array and the Empty array were not the same size.

Action: Correct the sizes of the Restriction and Empty arrays.

ORA-18261: The TREE_OP restriction value is invalid.

Cause: The given TREE_OP restriction value was invalid.

Action: Provide a valid TREE_OP restriction value.

ORA-18262: invalid empty value

Cause: A value in the given empty list was invalid.

Action: Provide a valid empty value.

ORA-18263: invalid object name and log number combination

Cause: The object name and log number combination did not match the value returned by DBMS_HIERARCHY.VALIDATE_HIERARCHY or VALIDATE_CUBE.

Action: Provide a valid combination of object name and log number and reexecute.

ORA-18264: The ‘queryProperties’ sequence has an invalid length.

Cause: The ‘queryProperties’ sequence had an odd number of elements.

Action: Ensure that the ‘queryProperties’ sequence is either empty or contains an even number of elements.

ORA-18265: fact table key column (string) with value (‘string‘) not in dimension star table key column

Cause: There was a row in the fact table with a key column value that was not in the corresponding dimension star table key column.

Action: Ensure that each fact table key column value has a corresponding row in the dimension star table key column.

ORA-18266: analytic view key (string) with value (‘string‘) does not determine hierarchy lowest level key

Cause: The attribute references found on the analytic view keys could not determine the level key column values of the lowest level in the hierarchy.

Action: Ensure that the attribute references found on the analytic view keys determine the level key column values of the lowest level in the hierarchy.

ORA-18267: key (string) with value (string) for level “string” does not determine all level attributes

Cause: There were rows with the level key column value where the number of distinct values of every attribute column and alternate key attribute were not zero or one.

Action: Ensure that the number of distinct values of every attribute column and alternate key attribute is zero or one for each level key column value.

ORA-18268: alternate key (string) with value (string) for level “string” does not determine level key column value

Cause: There were rows with the alternate key attribute that had non-unique level key values.

Action: Ensure that the alternate key attribute rows all have the same level key value.

ORA-18269: key or alternate key attribute “string” has string NULL values

Cause: A level key column value was defined as NULL when it should be NOT NULL.

Action: Do not define a level key column value to NULL when it should be the NOT NULL value.

ORA-18270: key or alternate key attributes “string” and “string” for level “string” have string mismatched NULL values

Cause: There was a mismatch in the number of NULL values for a SKIP WHEN NULL level.

Action: Ensure that for each SKIP WHEN NULL level, either all level key column values and alternate key attributes are NULL, or all of the level key column values and alternate key attributes are not NULL.

ORA-18271: invalid value for VisualMode query property

Cause: A non-integer value, a negative value, or a value greater than 2 was specified for the VisualMode query property.

Action: Specify an integer value of 0, 1, or 2 for the VisualMode query property.

ORA-18272: analytic view join key (string) with value (‘string‘) not unique in dimension star table

Cause: An analytic view join key did not determine all rows in the dimension star table.

Action: Ensure that the analytic view join key determines all rows in the dimension star table.

ORA-18273: analytic view does not contain cache

Cause: An attempt was made to create a materialized view SQL statement for an analytic view that did not contain a cache.

Action: Modify the analytic view to contain a cache or specify an analytic view with a cache.

ORA-18274: invalid analytic view cache index

Cause: The specified analytic view cache index was invalid.

Action: Specify a valid cache index.

ORA-18275: invalid column length in log table

Cause: The column size of the table did not match with the default log table.

Action: Ensure that the table provided has a correct column definition.

ORA-18276: invalid log table version, upgrade is required

Cause: There was a mismatch in the log table format that corresponds with an older version of the table.

Action: Call DBMS_HIERARCHY.UPGRADE_VALIDATE_LOG_TABLE in order to upgrade to the latest format and retry the operation.

ORA-18280: The REFERENCES clause for analytic view dimension “string” is invalid.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension.

ORA-18281: cyclic reference detected for calculated measure “string

Cause: A cyclic reference for a calculated measure was detected.

Action: Correct the cyclic reference for the calculated measure.

ORA-18282: invalid join condition detected on join path “string

Cause: An invalid join condition was detected.

Action: Ensure that each side of the join condition comes from a different source.

ORA-18283: invalid join path reference “string” detected on hierarchy “string

Cause: An invalid join path reference was detected.

Action: Ensure that the join path on the hierarchy refers to a join path on the attribute dimension.

ORA-18284: invalid join paths detected on attribute dimension “string

Cause: Invalid join paths were detected on the attribute dimension.

Action: Ensure that every dimension source is reachable starting with any source and applying join paths of the visited sources.

ORA-18285: invalid join paths detected on hierarchy “string

Cause: Invalid join paths were detected on the hierarchy.

Action: Ensure that every join path contains a single unique path and includes every dim source of every level in the hierarchy exactly once.

ORA-18286: invalid SKIP WHEN NULL specification on a calculation expression detected on hierarchy string

Cause: An invalid SKIP WHEN NULL specification was detected on the calculation expression.

Action: Ensure that SKIP WHEN NULL is only specified on skip level hierarchies.

ORA-18287: invalid level name “string” detected on a calculation expression

Cause: An invalid level name specification was detected on the calculation expression.

Action: Ensure the level exists on the hierarchy specified in the calculation expression.

ORA-18288: parent-child hierarchy “string” detected on a calculation expression level specification

Cause: A parent-child hierarchy was detected on the calculation expression level specification.

Action: Ensure the level specifcation on the calculation expression does not reference a parent-child hierarchy.

ORA-18289: parent-child member literal expression detected for level-based hierarchy string

Cause: A parent-child member literal expression was detected for a level-based hierarchy.

Action: Ensure that the parent-child member literal expression is used with a parent-child hierarchy.

ORA-18290: positional member key mismatch detected between member literal expression and hierarchy level “string” on hierarchy “string

Cause: The number of member keys on the member literal expression did not match those on the corresponding level.

Action: Ensure that the number of member keys on the member literal expression match those on the corresponding level.

ORA-18291: named member key mismatch detected between member literal expression and hierarchy level “string” on hierarchy “string

Cause: The member keys on the member literal expression did not match those on the corresponding level.

Action: Ensure that the member keys on the member literal expression match those on the corresponding level.

ORA-18294: invalid data type detected on attribute “string

Cause: An invalid data type was detected on an attribute.

Action: Ensure that the attributes are not of LOB, BFILE, or LONG data type.

ORA-18295: duplicate hierarchy string detected in a calculation expression

Cause: The same cube hierarchy was named more than once in the calculation expression.

Action: Specify each cube hierarchy only once in the calculation expression.

ORA-18296: ambiguously defined hierarchy string detected in a calculation expression

Cause: An ambiguously defined hierarchy was detected in a calculation expression.

Action: Resolve the ambiguity on the hierarchy used in the calculation expression.

ORA-18297: invalid data type detected on base measure “string” for use with aggregation operator “string

Cause: An invalid data type was detected on a base measure for use with its specified aggregation operator.

Action: Ensure that the data type of the base measure is valid with the aggregation operator on the base measure.

ORA-18298: The REFERENCES clause for the analytic view dimension “string” does not determine the lowest level of every hierarchy.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension.

ORA-18299: level “string“: data type of string expression is invalid

Cause: The specified hierarchical attribute of the specified level had an invalid data type.

Action: Ensure that all attributes of the specified type are character expressions using the same character set.

ORA-18300: level “string“: character set of string expression does not match level “string

Cause: The specified hierarchical attribute of the specified level used a character set that did not match the character set of other levels.

Action: Ensure that all attributes of the specified type are character expressions using the same character set. An explicit ALL clause may need to be specified if the default character set of the ALL attributes does not match the character set used in other levels.

ORA-18301: attribute dimension “string“.”string” does not exist

Cause: The attribute dimension did not exist or the user did not have the required privileges.

Action: Check the spelling of the attribute dimension and ensure that the required privileges are granted.

ORA-18302: hierarchy “string“.”string” does not exist

Cause: The hierarchy did not exist or the user did not have the required privileges.

Action: Check the spelling of the hierarchy and ensure that the required privileges are granted.

ORA-18303: The REFERENCES clause for the analytic view dimension “string” refers to a level key where the level is marked as SKIP WHEN NULL.

Cause: The REFERENCES clause specified for the analytic view dimension was invalid.

Action: Correct the REFERENCES clause for the analytic view dimension or remove the SKIP WHEN NULL from the attribute dimension level.

ORA-18304: non-measure “string” reference in calculated measure “string

Cause: A non-measure was referenced in a calculated measure.

Action: Ensure that only a measure is referenced in a calculated measure.

ORA-18305: non-aggregation user-defined function “string” detected in window calculated measure

Cause: A non-aggregation user-defined function was specified for a window calculated measure.

Action: Ensure that a valid user-defined aggregation function is specified for a window calculated measure.

ORA-18306: invalid depth expression specified in a hier ancestor calculated measure

Cause: An invalid depth expression was specified in a hier ancestor calculated measure.

Action: Ensure that the depth expression of the hier ancestor evaluates to a positive integer no greater than the number of levels in the hierarchy.

ORA-18307: analytic view “string“.”string” does not exist

Cause: The analytic view did not exist or the user did not have the required privileges.

Action: Check the spelling of the analytic view and ensure that the required privileges are granted.

ORA-18310: The attribute dimension has no level specification.

Cause: The attribute dimension did not have a level specification.

Action: Specify at least one level in the attribute dimension.

ORA-18311: MATERIALIZED or DYNAMIC keyword is missing.

Cause: Either the MATERIALIZED or DYNAMIC keyword was missing.

Action: Specify the MATERIALIZED or DYNAMIC keyword for this level group.

ORA-18312: Dynamic caching is not enabled.

Cause: Analytic View (AV) dynamic caching initialization parameter was not set.

Action: Enable Dynamic AV caching using the appropriate initialization parameter.

ORA-18340: Attribute “string” referenced in a key on level “string” does not exist.

Cause: The level key did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level key.

ORA-18341: Determined attribute “string” referenced on level “string” does not exist.

Cause: The determined attribute did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level.

ORA-18342: Level “string” does not have a member name.

Cause: The level did not have a member name.

Action: Specify a member name for this multi-attribute key level.

ORA-18343: Default measure “string” does not exist in the cube.

Cause: The default measure did not reference a valid measure in the cube.

Action: Reference an existing measure in the cube.

ORA-18344: Attribute “string” cannot be named using a reserved word.

Cause: The attribute was named using a reserved word.

Action: Use a name for the attribute that is not a reserved word.

ORA-18345: Duplicate metadata object “string“.

Cause: A duplicate metadata object was specified.

Action: Remove or rename the duplicate metadata object specification.

ORA-18346: Cube hierarchy “string” cannot be set as the default.

Cause: Another default cube hierarchy was specified within the same cube dimension.

Action: Set only one default cube hierarchy within a cube dimension.

ORA-18347: Duplicate level key “string” was detected in level “string“.

Cause: A duplicate level key was specified.

Action: Remove or replace the duplicate level key specification.

ORA-18348: Invalid hierarchical attribute name “string” specified.

Cause: The hierarchical attribute was named using an invalid word.

Action: Use a valid name for the hierarchical attribute.

ORA-18349: Invalid skip level specification on attribute dimension “string“.

Cause: The attribute dimension was defined with an invalid skip level specification.

Action: At least one level on the attribute dimension must be NOT NULL.

ORA-18350: Attribute “string” referenced on the ORDER BY clause on level “string” does not exist.

Cause: The ORDER BY attribute did not reference a valid attribute in the dimension.

Action: Reference an existing attribute in the level.

ORA-18351: Cyclic-determined attribute reference detected for level “string“.

Cause: A cyclic-determined attribute reference for a level was detected.

Action: Correct the cyclic-determined attribute reference for the level.

ORA-18352: Invalid expression “string” detected on a calculated measure.

Cause: An invalid expression was detected on a calculated measure.

Action: An offset expression or member key expression cannot contain a column expression or be an analytic view SQL calculation expression.

ORA-18353: invalid ALL member name “string” detected on a hierarchy dimension “string

Cause: An invalid ALL member name was detected on a hierarchy dimension.

Action: Ensure that the ALL member name is a constant expression.

ORA-18356: duplicate level name “string” found in Cache Level List

Cause: A duplicate level was found in the level list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains a distinct list of levels.

ORA-18357: duplicate measure name in Cache Measure List “string

Cause: A duplicate measure was found in the measure list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains a distinct list of measures.

ORA-18358: Cache Level List hierarchy not found “string“.

Cause: A hierarchy specified in the level list for an Analytic View Cache Level Group was not found.

Action: Ensure that each specified hierarchy in the Analytic View Cache Level Group is defined within the Analytic View.

ORA-18359: Cache Level List dimension not found “string“.

Cause: A dimension specified in the level list for an Analytic View Cache Level Group was not found.

Action: Ensure that each specified dimension in the Analytic View Cache Level Group is defined within the Analytic View.

ORA-18360: duplicate hierarchy found in Cache Level List

Cause: Multiple levels for the same hierarchy were found in the level list for an Analytic View Cache Level Group.

Action: Ensure that each Analytic View Cache Level Group contains only one level per hierarchy.

ORA-18361: duplicate Cache Object found in Analytic View Cache

Cause: A duplicate Analytic View Cache Level Group and Measure List combination was found in the Analytic View Cache.

Action: Ensure that for each Measure List the Analytic View Cache Level Group Lists are unique.

ORA-18362: The level type of level “string” is inconsistent with the dimension type.

Cause: The level type was inconsistent with the dimension type.

Action: Ensure the level type is consistent with the dimension type.

ORA-18363: Key “string” is a subset of another key at level “string“.

Cause: One key was a subset of another key at the same level.

Action: Ensure that no key is a subset of another key at the same level.

ORA-18364: invalid calculated measure clause “string” detected in measure “string

Cause: Invalid syntax was specified for a calculated measure.

Action: Ensure that the syntax is correct.

ORA-18365: invalid aggregation function detected in window calculated measure “string

Cause: An invalid aggregation function was specified for a window calculated measure.

Action: Ensure that a valid aggregation function is specified for a window calculated measure.

ORA-18370: The HIERARCHIES clause may only be specified for cubes.

Cause: A HIERARCHIES clause was used on a table or other non-cube object.

Action: Remove the HIERARCHIES clause.

ORA-18371: invalid cube hierarchy qualification

Cause: Cube hierarchies may only be qualified by dimension in the HIERARCHIES clause.

Action: Remove the additional qualification.

ORA-18372: syntax error in HIERARCHIES list

Cause: Illegal syntax was found in the HIERARCHIES clause.

Action: Ensure that the HIERARCHIES clause only contains a comma delimited list of cube hierarchies enclosed in parentheses.

ORA-18373: missing hierarchy name

Cause: No hierarchy was specified in the HIERARCHIES clause.

Action: Specify at least one hierarchy in the HIERARCHIES clause enclosed in parentheses.

ORA-18374: duplicate hierarchies in HIERARCHIES clause

Cause: The same cube hierarchy was named more than once in the HIERARCHIES clause.

Action: Specify each cube hierarchy only once in the HIERARCHIES clause.

ORA-18375: Cube columns cannot be directly or indirectly referenced in ANSI named column joins.

Cause: A cube column was referenced in an ANSI NATURAL JOIN or USING clause.

Action: Use the ANSI ON clause or Oracle join syntax.

ORA-18376: A hierarchy or analytic view is not allowed here.

Cause: A hierarchy or analytic view was specified in an incorrect location in a statement.

Action: Ensure that the name is correct or remove it.

ORA-18377: Comments on columns of analytic view objects are not supported.

Cause: A comment for a column of an analytic view object was specified.

Action: Do not define comments for columns of analytic views. Use classifications instead.

ORA-18378: calculated measure “string” in cache measure list

Cause: Calculated measures were not allowed in the cache measure list.

Action: Remove calculated measures from the cache measure list.

ORA-18379: the query hint must start with “/*+”

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-18380: the query hint must end with “*/

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-18381: the query hint cannot contain any occurrences of “*/” within the text

Cause: Illegal syntax was found in the query hint session parameter.

Action: Ensure that the hint syntax provided is a valid SQL hint syntax.

ORA-19000: missing RELATIONAL keyword

Cause: The keyword RELATIONAL in the work OBJECT RELATIONAL is missing in the XMLTYPE storage clause specification.

Action: Supply the RELATIONAL keyword in the storage clause

3,650 total views, 10 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19000 to ORA-19200

ORA-19000: missing RELATIONAL keyword

Cause: The keyword RELATIONAL in the work OBJECT RELATIONAL is missing in the XMLTYPE storage clause specification.

Action: Supply the RELATIONAL keyword in the storage clause

ORA-19001: Invalid storage option specified

Cause: An invalid storage option was specified for the XMLType.

Action: Supply a valid storage option.

ORA-19002: Missing XMLSchema URL

Cause: A XML schema URL must be specified in the storage option.

Action: Specify a URL for the XMLSchema.

ORA-19003: Missing XML root element name

Cause: A root element in the XMLSchema must be specified if the XML schema is given.

Action: Specify a root element in the XML schema.

ORA-19004: Duplicate XMLType OBJECT RELATIONAL storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19005: Duplicate XMLType LOB storage option

Cause: A duplicate storage option for the XMLType column was specified

Action: Specify a single storage option for an XMLType column

ORA-19006: XMLType TYPE storage option not appropriate for storage type

Cause: The TYPE option can only be used in case of OBJECT RELATIONAL storage option

Action: Remove the TYPE option or specify an OBJECT RELATIONAL storage for the XMLType column

ORA-19007: Schema string does not match expected string.

Cause: The given XML document conformed to a different schema than expected.

Action: Insert/Update only the XML documents that conform to that particular schema.

ORA-19008: Invalid version of the XMLType

Cause: An invalid version of the XMLType was found.

Action: This is possibly due to data corruption or an internal error or running an older client against a newer version of the database. Ensure that the version of the client can understand the XMLType in the database.

ORA-19009: Missing XMLSchema keyword

Cause: The XMLSchema keyword is missing

Action: Specify the XMLSchema URL and element name.

ORA-19010: Cannot insert XML fragments

Cause: XML fragments got from extractNode cannot be inserted into the database.

Action: Convert the fragment into a proper XML document before insertion.

ORA-19011: Character string buffer too small

Cause: The string result asked for is too big to return back

Action: Get the result as a lob instead

ORA-19012: Cannot convert XML fragment to the required datatype

Cause: A conversion to a datatype was requested which cannot be performed

Action: The XMLType may contain fragments and other elements which cannot be converted to the appropriate datatype.

ORA-19013: Cannot create VARRAY columns containing XMLType

Cause: An attempt was made to create a VARRAY column which contains a XMLType

Action: You cannot store VARRAYs containing XMLTypes in tables. Use nested tables instead

ORA-19015: Invalid XML tag identifier (string)

Cause: An invalid XML identifer was detected during XML generation

Action: Fix the offending tag to not contain characters or symbols that are not allowed by the XML specification

ORA-19016: attributes cannot occur after element specifications

Cause: Attributes specified using the “@” identifier can only occur before any other element definition when creating XML

Action: Change the order of the types so that the attributes occur in the begining

ORA-19017: Attributes can only be simple scalars

Cause: Attribute values can only be simple scalar values

Action: Use only simple datatypes for attribute values

ORA-19018: Invalid character in XML tag ‘string

Cause: A tag name was found to have an invalid XML character during XML generation.

Action: Rewrite the query so that the generated XML tag, corresponding to a column name or alias, contains only valid characters.

ORA-19019: Invalid context passed to DBMS_XMLGEN.GETXML

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19020: invalid dereference of XMLType columns

Cause: An attempt was made to dereference the attributes of an XMLType column which is not part of a base table

Action: You can only dereference the attributes of a base table XMLType column

ORA-19022: Unoptimized XML construct detected.

Cause: The XMLOptimizationCheck variable was enabled and an unrewritten XML construct was detected. This prevents execution of the XML construct.

Action: Ensure that the XML construct is being optimized. See the trace file for further information. Disable the XMLOptimizationCheck variable if you want the unoptimized XML operation to be executed.

ORA-19023: The first argument to UPDATEXML operator has to be an XMLTYPE

Cause: The first argument passed to the update value operator was not an XMLTYPE.

Action: Rewrite the query so that the first argument to the UPDATEXML operator is XMLTYPE.

ORA-19024: Cursor expression must be named

Cause: The value of context passed to GETXML was invalid.

Action: Rewrite the query so that the value of context passed to GETXML is valid.

ORA-19025: EXTRACTVALUE returns value of only one node

Cause: Given XPath points to more than one node.

Action: Rewrite the query so that exactly one node is returned.

ORA-19026: EXTRACTVALUE can only retrieve value of leaf node

Cause: Given XPath does not point to a leaf node.

Action: Rewrite the query so that a leaf node is returned.

ORA-19028: Invalid ADT parameter passed to toObject() function

Cause: The object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type.

Action: Pass an object of the correct type to toObject().

ORA-19029: Cannot convert the given XMLType to the required type

Cause: The passed in XMLType could not be convert to the required type

Action: Binary XMLtype instances or other objects cannot be converted to the required object or collection types.

ORA-19030: Method invalid for non-schema based XML Documents.

Cause: The method can be invoked on only schema based xmltype objects.

Action: Don’t invoke the method for non schema based xmltype objects.

ORA-19031: XML element or attribute string does not match any in type string.string

Cause: The passed in XML tag does not match any in the object type

Action: Pass a valid canonical XML that can map to the given object type

ORA-19032: Expected XML tag string got string

Cause: When converting XML to object, a wrong tag name was present

Action: Pass a valid canonical XML that can map to the given object type

ORA-19033: schema specified in the XML document does not match the schema parameter

Cause: When creating schema-based XML, the schema specified in the XML document is different from the schema passed in as the ‘schema’ parameter.

Action: Change the schema parameter to match the schema specified in the XML document.

ORA-19034: Type not supported during schema generation

Cause: The object type contained a type that is not supported for schema generation.

Action: Use a different type or do not generate a schema.

ORA-19035: Invalid select item of the query in newContextFromHierarchy()

Cause: The query did not have a number select item followed by an XMLType select item only.

Action: Ensure that the result set of the query used in the newContextFromHierarchy() function has only two selected items: the first item must be number type and the second item must be XMLType.

ORA-19036: Invalid query result set in newContextFromHierarchy()

Cause: The result set of the query used in the newContextFromHierarchy() function did not have the same property as the result set generated by a CONNECT BY query.

Action: Ensure that the query used in the newContextFromHierarchy() function is a CONNECT BY query or that the query returns a result set having the same property as the result set generated by a CONNECT BY query.

ORA-19037: XMLType result can not be a fragment

Cause: The select item of the query in the newContextFromHierarchy() function was an XML fragment.

Action: Ensure that the select item of the query in the newContextFromHierarchy() function is not an XML fragment.

ORA-19038: Invalid opertions on query context

Cause: SetMaxRows, SetSkipRows, SetRowTagName opertions are applied to a query context created from newContextFromHierarchy().

Action: SetMaxRows, SetSkipRows, SetRowTagName opertions can not be applied to a query context created from newContextFromHierarchy().

ORA-19039: Keyword string reserved for future use

Cause: The keyword is reserved for future use as a builtin function.

Action: Change the name mentioned above to a different one.

ORA-19040: Element string does not match expected string.

Cause: The given XML document had a different root element than expected.

Action: Insert/Update only the XML documents that conform to that particular schema and element.

ORA-19041: Comment data cannot contain two consecutive ‘-‘s

Cause: The given comment string expression has two consecutive ‘-‘s.

Action: Modify comment string to eliminate one or both of the consevutive ‘-‘s.

ORA-19042: Enclosing tag string cannot be xml in any case combination

Cause: The given enclosing tag matched ‘xml’ in some case combination

Action: Modify the enclosing tag so that it is not xml in any case combination.

ORA-19043: Multiply nested XMLROOT function disallowed

Cause: An XMLROOT function has an operand that is also an XMLROOT function.

Action: Modify the query so that there are no multiply nested XMLROOT functions.

ORA-19044: character length specified for XMLSerialize is too small.

Cause: An XMLSerialize function was called with a type of character type (e.g. VARCHAR2(27)), and the length specified (27 in the example) was too small.

Action: Modify the query so that the character length specified is larger.

ORA-19045: character set id specified for XMLSerialize not valid

Cause: An XMLSerialize function was called with an invalid value for the caracter set id.

Action: Modify the query so that the character set id is valid.

ORA-19046: Out-of-line table cannot be shared by two top-level tables (table ‘string.string‘ and the current table being created).

Cause: An attempt was made to share an out-of-line table between two top-level tables.

Action: Use the existing top-level XML table.

ORA-19047: Cannot specify storage for individual VARRAYS

Cause: An attempt was made to combine storage specification for a particular VARRAY with STORE ALL VARRAYS clause.

Action: Either specify storage for individual VARRAYs or use the STORE ALL VARRAYS clause.

ORA-19048: Cannot specify VARRAY storage in tableProps

Cause: An attempt was made to store all varrays as tables or LOBs in tableProps.

Action: Do not specify varray store as tables or LOBs in tableProps.

ORA-19051: Cannot use fast path insert for this XMLType table

Cause: Error while trying to insert into an XMLType table using fast path insert.

Action: Set event 19049 to disable fast path insert and try again.

ORA-19055: Unsupported use of DISABLE XML EXCHANGE

Cause: The option, DISABLE XML EXCHANGE, was specified in a CREATE TABLE statement.

Action: Do not specify DISABLE XML EXCHANGE in a CREATE TABLE statement.

ORA-19057: Internal error: binary XML [string]

Cause: The operation failed due to an internal error.

Action: This is an internal error. Contact Oracle Support Services.

ORA-19058: Enabling XML exchange may cause data corruption.

Cause: An attempt was made to enable XML exchange for a binary XML column or table with a conflicting binary XML column or table.

Action: Use the XML exchange option only if at least one of the two involved tables is empty.

ORA-19059: XML exchange has not been enabled.

Cause: An attempt was made to disable XML exchange on a table that does not have XML exchange enabled.

Action: Use the disable XML exchange option only if the table already has XML exchange enabled.

ORA-19060: Operation disallowed on XML token set object

Cause: An attempt was made to perform a disallowed operation on a token set object for binary XML support.

Action: Do not perform the attempted operation on an XML token set object.

ORA-19061: Granular Token Set operations are not supported for tables.

Cause: An attempt was made to perform some Granular Token Set related operations on a non-binary XML table or on an older binary XML table.

Action: Do not perform the attempted operation unless tables support Granular Token Set options.

ORA-19062: XML exchange is already enabled.

Cause: An attempt was made to enable XML exchange on a table that had XML exchange already enabled.

Action: Use the disable XML exchange option only if the table has XML exchange disabled.

ORA-19063: Granular token table does not support schema-based storage.

Cause: An attempt was made to use granular token tables with schema-based storage.

Action: Use non-schema based storage for granular token tables.

ORA-19064: Tablespace has XML token set objects used in another tablespace.

Cause: The tablespace contained an XML token set object that was used by a binary XML table in a different tablespace and dropping it would cause some data to be lost.

Action: Move the XML token set object to a different tablespace.

ORA-19065: cannot drop tablespace with XML token set while XDB tablespace is offline

Cause: The tablespace contained an XML token set object but the metadata could not be read since the XDB default tablespace was offline. By dropping the tablespace, some data may be lost.

Action: Bring XDB default tablespace online.

ORA-19066: XML EXCHANGE is not enabled between the two tables.

Cause: The two tables specified in the EXCHANGE had different XML token sets. By exchanging partitions, some data might get corrupted.

Action: Enable XML EXCHANGE between the tables.

ORA-19067: Unable to create binary granular token on user default tablespace.

Cause: The user default tablespace was full.

Action: Increase the size of the user default tablespace.

ORA-19068: Disabling XML EXCHANGE creates token tables in the SYSTEM tablespace.

Cause: Either the table was in SYSTEM tablespace or it was partitioned and the default tablespace was SYSTEM. Granular token tables are forbidden on SYSTEM tablespace.

Action: Move the table to a different tablespace or change the default tablespace if the table is partitioned.

ORA-19069: Table is already exchanging XML with itself.

Cause: An XML exchange was performed with the same table.

Action: Do not enable XML exchange with the same table.

ORA-19070: cannot enable XML EXCHANGE in this type of table

Cause: XML EXCHANGE was not allowed in global temporary tables or external tables.

Action: Do not use a global temporary table or external table.

ORA-19071: Table does not have an XMLType stored as BINARY XML.

Cause: The table was not an XMLTable or did not have an XMLType column stored as BINARY XML.

Action: Use an XMLType or XMLTable stored as BINARY XML.

ORA-19072: Only STORE AS CLOB is supported with XMLType on the sharded table.

Cause: STORE AS CLOB was not specified with XMLType on the sharded table.

Action: Specify the STORE AS CLOB clause in the query.

ORA-19073: unsupported column type for granular token set enabled table

Cause: An attempt was made to add or modify a column with an unsupported type for a granular token set enabled table.

Action: Do not use user-defined Abstract Data Types (ADTs) or an ANYDATA column with granular token sets.

ORA-19074: Table does not have a granular token set.

Cause: The table was not used with a granular token set.

Action: Use an XMLType stored as BINARY XML with a granular token set.

ORA-19075: Failed to move the token table indexes. Run dbms_csx_admin.RebuildTokenTablesIndexes before using the table.

Cause: An attempt to move the indexes to the given tablespace failed.

Action: Run dbms_csx_admin.RebuildTokenTablesIndexes.

ORA-19076: cannot move the XML token set to tablespace where the table owner does not have privileges

Cause: The table owner did not have privileges in the given tablespace.

Action: Use a tablespace where the table owner has privileges.

ORA-19100: PASSING or RETURNING keyword expected

Cause: The keyword PASSING or RETURNING was missing.

Action: Specify the PASSING or RETURNING keyword.

ORA-19101: CONTENT keyword expected

Cause: The keyword CONTENT was missing.

Action: Specify the CONTENT keyword.

ORA-19102: XQuery string literal expected

Cause: The string literal containing the XQuery expression was missing.

Action: Specify the XQuery expression as a string literal.

ORA-19103: VALUE keyword keyword

Cause: The keyword VALUE was missing.

Action: Specify the VALUE keyword.

ORA-19104: invalid XQueryX: missing attribute string

Cause: The XQueryX expression was not assigned the expected attribute.

Action: Specify a valid XQueryX.

ORA-19105: invalid XQueryX: expected text node – got string

Cause: The XQueryX expression did not contain a text node as expected.

Action: Specify a valid XQueryX.

ORA-19106: invalid XQueryX: expected string – got string

Cause: The XQueryX expression did not contain the node as expected.

Action: Specify a valid XQueryX.

ORA-19107: invalid XQueryX – unsupported construct – string

Cause: The given XQuery expression contains an unsupported construct.

Action: Specify a valid XQueryX.

ORA-19108: WHITESPACE keyword expected

Cause: The keyword WHITESPACE was missing.

Action: Specify the WHITESPACE keyword.

ORA-19109: RETURNING keyword expected

Cause: The keyword RETURNING was missing.

Action: Specify the RETURNING keyword.

ORA-19110: unsupported XQuery expression

Cause: The program specified an XQuery expression that is not supported.

Action: Rewrite the XQuery with a expression that is supported.

ORA-19111: error during evaluation of the XQuery expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19112: error raised during evaluation: string

Cause: The error function was called during evaluation of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19113: trace function called during evaluation: string

Cause: The trace function was called during evaluation of the XQuery expression.

Action: Check the log file for the trace message.

ORA-19114: XPST0003 – error during parsing the XQuery expression: string

Cause: An error occurred during the parsing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19115: too many context items specified

Cause: More than one context item was specified as input to the XMLQuery function.

Action: Specify a single context item for the XMLQuery function.

ORA-19116: too many xmlspace declarations

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19117: XQST0070 – invalid redefinition of predefined namespace prefix ‘string

Cause: The given predefined namespace was being redefined in a namespace declaration.

Action: Remove the namespace declaration that redefines the predefined namespace prefix.

ORA-19118: XQST0066 – duplicate default namespace definition – string

Cause: More than one default namespace declaration used the given namespace URI.

Action: Remove the duplicate default namespace definition.

ORA-19121: duplicate attribute definition – string

Cause: More than one attribute with the same name.

Action: Remove the duplicate attribute definition.

ORA-19122: unsupported XQuery declaration

Cause: The program specified an XQuery declaration that is not supported.

Action: Rewrite the XQuery with a declaration that is supported.

ORA-19123: FORG0003: fn:zero-or-one() called with a sequence containing more than one item

Cause: sequence with more than one item was passed into fn:zero-or-one() function

Action: correct input argument to fn:zero-or-one() function

ORA-19124: FORG0004: fn:one-or-more() called with a sequence containing no items

Cause: sequence containing no items was passed into fn:one-or-more() function

Action: correct input argument to fn:one-or-more() function

ORA-19125: FORG0005: fn:exactly-one() called with a sequence containing zero or more than one item

Cause: sequence containing zero or more than one item was passed into fn:exactly-one() function

Action: correct input argument to fn:exactly-one() function

ORA-19126: XQuery extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: No expression was enclosed in curly braces for the extension expression or the pragma content was not recognized.

Action: Correct inputs to extension expression.

ORA-19127: XQST0067: XQST0067: A static error is raised if a Prolog contains more than one construction declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19128: XQST0068: A static error is raised if a Prolog contains more than one boundary-space declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19129: XQST0069: A static error is raised if a Prolog contains more than one empty order declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19130: XQST0070: A static error is raised if the predefined namespace prefix xml or xmlns is redeclared by a namespace declaration or namespace declaration attribute

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19131: XQST0071: A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19132: XQDY0072: It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19133: XQST0073: It is a static error if the graph of module imports contains a cycle (that is, if there exists a sequence of modules M1 … Mn such that each Mi imports Mi+1 and Mn imports M1), unless all the modules in the cycle share a common namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19134: XQDY0074: It is a dynamic error if the value of the name expression in a computed element constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19135: XQST0075: An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19136: XQST0076: It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19137: XQST0079: It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19138: The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator “?”; otherwise a static error is raised

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19139: XPST0081: It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19140: XPST0083: It is a static error if the target type of a cast expression or constructor function is xs:QName or a type derived from xs:QName or xs:NOTATION, and the argument of the cast expression or constructor function is not a string literal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19141: XQDY0084: It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19142: FONC0001 = FONC0001: undefined context item

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19143: XQTY0086: It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19145: XQST0087: It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0]

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19146: XQST0088: It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19147: XQST0089: It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19148: XQST0090: It is a static error if a character reference does not identify a valid character in the version of XML that is in use

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19149: XQDY0091: An implementation may raise a dynamic error if an xml:id error, as defined in [XML ID], is encountered during construction of an attribute named xml:id

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19150: XQDY0092: An implementation may raise a dynamic error if a constructed attribute named xml:space has a value other than preserve or default

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19151: XQST0093: It is a static error to import a module M1 if there exists a sequence of modules M1 … Mi … M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19152: FOCH0001 = FOCH0001: codepoint not valid

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19153: FOCH0002: unsupported collation

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19154: FOCH0003: unsupported normalization form

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19155: FOCH0004: collation does not support collation units

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19156: FODC0001: no context document

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19157: FODC0002: error retrieving resource

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19158: FODC0004: invalid argument to fn:collection()

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19159: FODC0005: invalid argument to fn:doc

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19160: XPST0003 – syntax error: invalid variable name string

Cause: The given XQuery variable does not begin with the ‘$’ sign

Action: Fix the variable name to start with the “$” sign.

ORA-19161: XPTY0004 – XQuery type mismatch: invalid argument type ‘string‘ for function ‘string

Cause: The type of the argument that was passed to the given function was not valid.

Action: Fix the argument to be of a type supported by the given function.

ORA-19162: XPTY0004 – XQuery type mismatch: invalid argument types ‘string‘, ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19163: XPTY0004 – XQuery type mismatch: argument type mismatch: expected – ‘string‘ got – ‘string‘ for function ‘string

Cause: The type of the arguments that were passed to the given function was not valid.

Action: Fix the arguments to be of a type appropriate for the given function.

ORA-19164: XQST0085 – It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1].

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19165: FONS0003: no prefix defined for namespace

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19166: FONS0003: FONS0004: no namespace found for prefix

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19167: FONS0005: base uri not defined in the static context

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19168: FORG0002: invalid argument to fn:resolve-uri()

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19169: FORG0006: invalid argument type in ‘string

Cause: There was a zero-length URI in namespace declaration.

Action: Fix the namespace declaration.

ORA-19171: FORG0007: invalid argument to aggregate function

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19172: FORG0008: both arguments to fn:dateTime have a specified timezone

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19173: FORG0009: error in resolving a relative URI against a base URI in fn:resolve-uri

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19174: FORX0001: invalid regular expression flags

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19175: FORX0002: invalid regular expression

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19176: FORX0003: regular expression matches zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19177: FORX0004: invalid replacement string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19178: FOTY0001: type error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19179: FOTY0011: Type error. Context item is not a node

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19180: FOTY0012: argument node does not have a typed value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19181: FOTY0014: type exception

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19182: FORT0001: invalid number of parameters

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19183: FOTY0002: type definition not found

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19184: FOTY0021: invalid node type

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19185: FOAR0002: numeric operation overflow/unflow

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19186: FOCA0001: input value too large for decimal

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19187: FOCA0002: invalid lexical value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19188: FOCA0003: input value too large for integer

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19189: FOCA0005: NaN supplied as float/double value

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19190: FOER0000: Unidentified error

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19191: FOAR0001: division by zero

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19192: XQST0047: It is a static error if multiple module imports in the same Prolog specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19193: XQST0045: It is a static error if the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/04/xpath-functions, http://www.w3.org/2005/04/xpath-datatypes

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19194: XQDY0026: It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string “?>”

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19195: Invalid policy in ora:contains

Cause: An invalid policy was specified in ora:contains.

Action: Rename the policy name, policy schema name, or do not specify any policy to pick up default policy.

ORA-19196: XMLType table or view is not allowed with this form of fn:collection

Cause: The table or view specified in fn:collection was of XMLType.

Action: XMLType table or view is not allowed in the form of fn:collection(‘oradb:/schema/table/ROW/column’). It has to be a relational table or view.

ORA-19197: Column not found or invalid column type with this form of fn:collection

Cause: The column to be retrieved was not found or was not of XMLType.

Action: The column to be retrieved in the form of fn:collection(‘oradb:/schema/table/ROW/column’) or fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) has to be of XMLType.

ORA-19198: Column not found or invalid column specified in the predicate with this form of fn:collection

Cause: The column specified in the predicate was not found or was not allowed.

Action: The column specified in the predicate in the form of fn:collection(‘oradb:/schema/table/ROW[predicate]/column’) cannot be of XMLType.

ORA-19199: too many levels of nesting

Cause: An XQuery expression contained too many levels of nesting parentheses.

Action: Reduce the level of nesting parentheses.

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

 

5,210 total views, 5 views today

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

$
0
0

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-19200 to ORA-19400

ORA-19200: Invalid column specification

Cause: All input arguments must be valid columns

Action: Specify a valid list of columns

ORA-19201: Datatype not supported

Cause: The particular datatype is not supported in the XMLGEN operator

Action: Specify only supported datatypes as arguments to the XMLGEN operator

ORA-19202: Error occurred in XML processingstring

Cause: An error occurred when processing the XML function

Action: Check the given error message and fix the appropriate problem

ORA-19203: Error occurred in DBMS_XMLGEN processingstring

Cause: An error occurred when processing the DBMS_XMLGEN functions

Action: Check the given error message and fix the appropriate problem

ORA-19204: Non-scalar value ‘string‘ is marked as XML attribute

Cause: Only scalar values (i.e. values which are not of object or collection type) can be marked as XML attribute,i.e. is prefixed by ‘@’. In this case, a non-scalar value was prefixed with ‘@’

Action: Remove the ‘@’ sign, or make the value a scalar.

ORA-19205: Attribute ‘string‘ qualifies a non-scalar value in the select list

Cause: The attribute immediately follows a value of object or collection type in the select list or type definition.

Action: Remove the ‘@’ sign, or make the previous value a scalar.

ORA-19206: Invalid value for query or REF CURSOR parameter

Cause: The queryString argument passed to DBMS_XMLGEN.newContext was not a valid query, or REF CURSOR.

Action: Rewrite the query so that the queryString argument is a valid query or REF CURSOR.

ORA-19207: scalar parameter string of XMLELEMENT cannot have an alias.

Cause: The scalar parameter to XMLELEMENT has been qualified with an alias.

Action: Remove the AS clause of the scalar element.

ORA-19208: parameter string of function string must be aliased

Cause: The indicated parameter of the XML generation function has not been aliased, although it is an expression.

Action: Specify an alias for the expression using the AS clause.

ORA-19209: invalid or unsupported formatting argument

Cause: An invalid or unsupported formatting argument was supplied

Action: Change the formatting argument to legal supported values

ORA-19210: column ‘string‘, specified to be a key or update column for DBMS_XMLSTORE, does not not exist in table ‘string

Cause: The column specified using setKeyColumn()/setUpdateColumn() did not exist in the table.

Action: Change the column specified to be a column in the table

ORA-19211: column ‘string‘, specified as key using DBMS_XMLSTORE.setKeyColumn() , must be of scalar type

Cause: The column specified using setKeyColumn() was a non-scalar type column.

Action: Change the column specified to be a scalar column in the table

ORA-19212: no key columns specified before call to DBMS_XMLSTORE.updateXML()

Cause: No columns were specified as key columns before the call to DBMS_XMLSTORE.updateXML.

Action: Use DBMS_XMLSTORE.setKeyColumn() to specify key columns

ORA-19213: error occurred in XML processing at linesstring

Cause: An error occurred when processing the given lines in an XML function.

Action: Check the given error message and fix the appropriate problem.

ORA-19221: XPST0001 – XQuery static context component string not initialized

Cause: An unitialized static context component was encountered during the static analysis of the expression.

Action: initialize the given static context.

ORA-19222: XPDY0002 – XQuery dynamic context component string not initialized

Cause: An unitialized dynamic context component was encountered during the evaluation of the expression.

Action: Initialize the particular dynamic context component.

ORA-19223: XPST0003 – syntax error in XQuery expression

Cause: The given XQuery expression contains syntax errors.

Action: Fix the syntax error in the XQuery expression.

ORA-19224: XPTY0004 – XQuery static type mismatch: expected – string got – string

Cause: The expression could not be used because it’s static type is not appropriate for the context in which it was used.

Action: Fix the expression to be of the required type or add appropriate cast functions around the expression.

ORA-19225: XPST0005 – XQuery static type error: expected non empty type got empty sequence

Cause: The static type assigned to an expression other than the () expression must not be the empty type.

Action: Fix the expression so it does not return empty sequences.

ORA-19226: XPTY0006 – XQuery dynamic type mismatch: expected string got string

Cause: The expression could not be used because it’s dynamic type did not match the required type as specified by XQuery sequencetype matching rules.

Action: Fix the expression to return the expected type or use appropriate cast functions.

ORA-19227: XPTY0007 – fn:data function is applied to a node (type (string)) whose type annotation denotes a complex type with non-mixed complex content.

Cause: The input node for atomization contained a type annotation that denoted a complex type with non-mixed complex content.

Action: Fix the input expression to fn:data to be a node that does not contain non-mixed complex content.

ORA-19228: XPST0008 – undeclared identifier: prefix ‘string‘ local-name ‘string

Cause: The given identifier refers to either a type name, function name, namespace prefix, or variable name that is not defined in the static context.

Action: Fix the expression to remove the identifier, or declare the appropriate variable, type, function or namespace.

ORA-19229: XQST0009 – schema import not supported

Cause: A schema import was encountered in the query.

Action: remove the schema import.

ORA-19230: XPST0010 – unsupported axis string

Cause: An unsupported axis was encountered in the given expression.

Action: Remove the unsupported axis from the expression.

ORA-19231: XPST0011 –
ORA-19232: XQST0012 – imported schemas violate validity rules

Cause: The imported schemas did not satisfy the conditions for schema validity specified in the XMLSchema specification.

Action: Fix the imported schemas to satisfy the validity rules.In particular, the definitions must be valid, complete, and unique — that is, the pool of definitions must not contain two or more schema components with the same name and target namespace.

ORA-19233: XQST0013 – invalid pragma

Cause: A pragma was specified whose contents are invalid.

Action: Specify the pragma with the correct contents.

ORA-19234: XQST0014 – invalid or unsupported must-understand extension

Cause: The must-understand extension specified was either invalid or unsupported.

Action: remove the unsupported must-understand extension or fix the error.

ORA-19235: XQST0015 – unsupported must-understand extension

Cause: The XQuery flagger was enabled and the query contained a must-understand extension.

Action: remove the unsupported must-understand extension.

ORA-19236: XQST0016 – module declaration or import not supported

Cause: The given query had a module declaration or module import.

Action: Remove the import module or module declaration.

ORA-19237: XPST0017 – unable to resolve call to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19238: XPTY0018 – It is a type error if the result of the last step in a path expression contains both nodes and atomic values

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19239: XPTY0019 – It is a type error if the result of an step (other than the last step) in a path expression contains an atomic value

Cause: The step expression returned a sequence containing an atomic value.

Action: Fix the path expression to return only nodes.

ORA-19240: XPTY0020 – context item must be node in an axis expression

Cause: The context item that was used in the axis epression is not a node.

Action: Change the context item to be a node.

ORA-19241: XPDY0021 – cast to type string failed

Cause: The value inside a cast expression could not be cast to the required type.

Action: Fix the input to the cast expression to be of a castable type.

ORA-19242: XQST0022 – namespace declaration attribute must be a literal

Cause: The namespace declaration attribute was not a literal string.

Action: Fix the namespace declaration to be a literal string.

ORA-19243: XQTY0023 – invalid document node content in element constructor

Cause: The content sequence in an element constructor contained a document node.

Action: Change the content of the element constructor so that it does not contain a document node.

ORA-19244: XQTY0024 – invalid attribute node in element constructor

Cause: The content sequence in an element constructor contained an attribute node following a node that was not an attribute node.

Action: Change the content sequence of the element constructor so that it does not contain the attribute node.

ORA-19245: XQDY0025 – duplicate attribute name string

Cause: The content sequence of the element constructor contained more than one attribute that had the same name.

Action: Remove the duplicate attributes.

ORA-19246: validation failed – element string not found in in-scope element declarations

Cause: The validation mode was strict and the element-constructor contained an element name that was not present in the in-scope element declarations.

Action: Fix the validation mode to be lax or import the schema definition that contains the required element declaration.

ORA-19247: XQDY0027 – validation error

Cause: An error was encountered during the validation of the expression.

Action: Fix the validation error.

ORA-19248: XQTY0028 – invalid node in document constructor

Cause: The content sequence in a document constructor contained either a document or an attribute node.

Action: Fix the content so it does not contain any of the above node types.

ORA-19249: XQDY0029 – value does not match facet of the target type

Cause: The input value to a cast expression did not satisfy the facets of the target type.

Action: Fix the value to conform to the facets of the target type.

ORA-19250: XQTY0030 – too many values to validate expression

Cause: The argument of a validate expression returned more than one element or document node.

Action: Fix the argument of the validate expression to return a single element or document node.

ORA-19251: XQST0031 – unsupported query version

Cause: The query version specified in the prolog was not supported.

Action: Supply the version of the query that is supported.

ORA-19252: XQST0032 – too many declarations for base URI

Cause: The query prolog contained multiple declarations for the base URI.

Action: Remove the duplicate definitions for the base URI.

ORA-19253: XQST0033 – too many declarations for namespace prefix string

Cause: The query prolog contained multiple declarations for the same namespace prefix.

Action: Remove the duplicate definitions for the namespace prefix.

ORA-19254: XQST0034 – too many declarations for function string

Cause: The query module contained more than one function, either declared or imported, which have the same expanded QName.

Action: Remove the duplicate function definitions.

ORA-19255: XQST0035 – too many declarations of string in imported schemas

Cause: Two schemas were imported that defined the same name in the same symbol space and in the same scope.

Action: Fix the schema imports to remove the name conflict.

ORA-19256: XQST0036 – missing type definitions in imported module

Cause: A module was imported, which contains references to type names that are not defined in the in-scope type definitions inside the module.

Action: Fix the module definintion to include the in-scope type definition.

ORA-19257: XQST0037 – function or variable string in module already defined

Cause: A module being imported contained the function or variable that is already declared in the static context of the importing module.

Action: Remove the conflicting declarations.

ORA-19258: XQST0038 – unsupported or duplicate default collation specified

Cause: The query prolog prolog either specified more than one default collation or the collation specified was not supported.

Action: Remove the duplicate definition or specify a supported collation.

ORA-19259: XQST0039 – duplicate parameter name string in function declaration

Cause: The function declaration contained more than one parameter with the same name.

Action: Fix the function declaration to remove the duplicate parameters.

ORA-19260: XQST0040 – invalid namespace node in element constructor

Cause: The content sequence in an element constructor contained a namespace node node following a node that was not a namespace node.

Action: Remove the namespace node in the element constructor.

ORA-19261: XQDY0041 – non empty URI in QName

Cause: The name expression in a computed processing instruction or computed namespace constructor returned a QName whose URI part was not empty.

Action: Fix the processing instruction or computed namespace constructor to return the QName with an empty URI part.

ORA-19262: XQST0042 – namespace constructor not inside an element constructor

Cause: The enclosing expression of a computed namespace constructor was not a computed element constructor.

Action: Fix the namespace constructor to be inside an element constructor.

ORA-19263: XQST0043 – duplicate namespace prefix string

Cause: Two or more computed namespace constructors within the same computed element constructor attempted to bind the same namespace prefix.

Action: Remove the duplicate namespace definitions.

ORA-19264: XQDY0044 – invalid namespace in attribute constructors

Cause: A computed attribute constructor returned a QName that is in the pre-defined XML namespace (corresponding to namespace prefix xmlns).

Action: Change the namespace for the computed attribute constructor.

ORA-19265: XQST0045 – invalid or unknown prefix string in function declaration

Cause: The declared function name in a function declaration had no namespace prefix or had one of the predefined namespace prefixes other than local.

Action: Fix the function declaration to have the correct prefix.

ORA-19266: XQST0046 – invalid URI

Cause: The given URI contained a lexical form that was not valid according to the definition of xs:anyURI in XML Schema.

Action: Fix the URI.

ORA-19267: module string not found

Cause: The module with the given target URI could not be found.

Action: Fix the prolog to import only available modules.

ORA-19268: XQST0048 – namespace string does not match target namespace string

Cause: The module contained a function or variable whose namespace did not match the target namespace of the module.

Action: Fix the namespace of the function or variable to match the target namespace of the module.

ORA-19269: XQST0049 – variable string defined multiple times

Cause: The module defined or imported the same variable multiple times.

Action: Fix the import or the module definition to remove duplicate definitions.

ORA-19270: XPDY0050 – treat failed – expected string got string

Cause: The type of the operand to the treat expression did not match the required type.

Action: Fix the input operand to be of the correct type.

ORA-19271: XPST0051 – invalid atomic type definition

Cause: The QName used as an AtomicType in a SequenceType was not defined in the in-scope type definitions as an atomic type.

Action: Use the correct atomic type name.

ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor

Cause: The content of the element or attribute constructor included an atomic value that could not be cast into a string.

Action: Fix the content to contain atomic values that can be cast to a string.

ORA-19273: XQST0053 – empty string in namespace declaration

Cause: An empty string was used in a namespace declaration.

Action: Fix the namespace declaration to have a non-empty string.

ORA-19274: XQST0054 – variable initialization failed due to circularity

Cause: A circular definition was encountered when the variable was initialized.

Action: Remove the circularity in the initialization.

ORA-19275: XQST0055 – schema path string not found in list of in-scope schema definitions

Cause: The ElementTest specified a schema path that could not be found in the list of in-scope schema definitions.

Action: Include the appropriate schema that can be used to resolve the ElementTest.

ORA-19276: XPST0005 – XPath step specifies an invalid element/attribute name: (string)

Cause: The XPath step specified invalid element or attribute name that did not match any nodes according to the input XML schema or structure.

Action: Correct the element or attribute name as the name may be mis-spelled.

ORA-19277: XPST0005 – XPath step specifies an item type matching no node: (string)

Cause: The XPath step specified an item type that did not match any nodes according to the input XML schema or structure.

Action: Correct the item type defintion as node of such type does not exit in the input XML schema or structure.

ORA-19278: Invalid value: (string) for type: (string)

Cause: The value was invalid for the type.

Action: Correct the value or change the type.

ORA-19279: XPTY0004 – XQuery dynamic type mismatch: expected singleton sequence – got multi-item sequence

Cause: The XQuery sequence passed in had more than one item.

Action: Correct the XQuery expression to return a single item sequence.

ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node

Cause: A node was passed in to the expression where an atomic value was expected.

Action: Correct the XQuery expression to return an atomic value.

ORA-19281: XQST0055 – It is a static error if a Prolog contains more than one copy-namespaces declaration

Cause: The query prolog contained multiple copy-namespaces declarations.

Action: Remove the duplicate copy-namespaces declarations.

ORA-19282: XQST0068 – It is a static error if a Prolog contains more than one xmlspace declaration

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19283: XQST0031 – It is a static error if the version number specified in a version declaration is not supported by the implementation.

Cause: The query contained a version declaration not supported by this implementation.

Action: Change the version declaration to 1.0 which is the version supported by this implementation.

ORA-19284: Encoding specification in version declaration not supported

Cause: The query contained an encoding specification.

Action: Remove the encoding specification.

ORA-19285: FODC0002 – error retrieving resource

Cause: The URI provided could not be resolved to a valid resource.

Action: Provide a valid URI for a resource.

ORA-19286: XPST0017 – unable to resolve call to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19287: XPST0017 – invalid number of arguments to function – string:string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19288: XPST0017 – invalid number of arguments to function – string

Cause: The name and arity of the function call given could not be matched with any in-scope function in the static context.

Action: Fix the name of the function or the number of parameters to match the list of in-scope functions.

ORA-19289: XQST0034 – function string:string declared or defined multiple times

Cause: Multiple functions declared or imported by a module had the same expanded QName and the same number of arguments.

Action: Fix the function declaraction or definition to remove duplicates.

ORA-19290: XQST0069 – more than one empty order declaration declared in the prolog

Cause: A prolog had more than one empty order declaration.

Action: Fix the prolog to have just one empty order declaration.

ORA-19291: XPST0081 – specified QName cannot be expanded into a namespace URI

Cause: The namespace prefix of the QName could not be expanded into a namespace URI by using the statically known namespaces.

Action: Use a namespace prefix that can be resolved into a namespace URI from the statically known namespaces.

ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19293: XQST0058: It is a static error if multiple schema imports specify the same target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19294: XQST0059: It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19295: XQST0060: It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI)

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19296: XQDY0061: It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19297: XQDY0064: It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to “XML” (in any combination of upper and lower case

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19298: XQST0065: A static error is raised if a Prolog contains more than one ordering mode declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19299: XQST0066: A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

ORA-19300: Error occurred in uri processingstring

Cause: An error occurred when processing the URL

Action: Check the given error message and fix the appropriate problem

ORA-19320: Host name not specified in HTTP URL

Cause: A host name was not specified in the HTTP url

Action: Specify a host name in the HTTP url when creating the URL string

ORA-19321: Could not open HTTP connection to host (string): port (string)

Cause: A HTTP connection could not be opened to the host

Action: Specify a valid host name and port to connect to

ORA-19322: An error occurred while reading from host (string): port (string)

Cause: An error occurred while reading from the HTTP host

Action: Specify a valid host name and port to read from

ORA-19323: Invalid url string

Cause: The URL must be a valid URL string

Action: Specify a valid url string

ORA-19330: Type ‘string‘.’string‘ not installed. Please install the type before using the CREATE_DBURI operator

Cause: The type required for the CREATE_DBURI operator has not been installed correctly.

Action: Read the installation notes to install the type correctly.

ORA-19331: Last argument to CREATE_DBURI operator must be a column

Cause: The final argument to the CREATE_DBURI operator must be a column to which the reference is being created.

Action: Specify a valid column name in the query.

ORA-19332: Invalid column in the CREATE_DBURI operator

Cause: The argument to the CREATE_DBURI operator can only be a column.

Action: Specify a valid column name for the operator

ORA-19333: Invalid flags for the CREATE_DBURI operator

Cause: The flags argument given to the DBURI operator is invalid

Action: Specify a valid flag value (TEXT) for the DBURI operator

ORA-19334: Invalid column specification for CREATE_DBURI operator

Cause: All columns must be valid and pointing to the same table or view

Action: Specify valid list of columns that are from the same table or view.

ORA-19335: Invalid format type object

Cause: An invalid format type object was specified for the XML function

Action: Specify a valid format type object

ORA-19336: Missing XML root element

Cause: The XML being generated does not have an enclosing root element.

Action: The XML generated must have a root element

ORA-19361: ONLINE option not allowed with this type of index

Cause: The ONLINE option was specified to validate the structure of a system-generated metadata index

Action: The ONLINE option can not be used with system-generated metadata indexes such as an LOB index, an IOT Top index, an Index on Clusters etc., Run query without using the ONLINE option.

ORA-19371: invalid update option

Cause: The user attempted to call load_sqlset with an update option that is different than REPLACE and ACCUMULATE.

Action: Adjust the update option and retry the operation.

ORA-19372: invalid update condition

Cause: The user attempted to call load_sqlset with an invalid update condition.

Action: Check the update condition (e.g., NEW.COL1_NAME >= OLD.COL2_NAME) and retry the operation.

ORA-19373: invalid staging table or tablespace

Cause: The user attempted to create a staging table and specified an invalid staging table (or one that already exists) or tablespace

Action: Check the arguments and try again.

ORA-19374: invalid staging table

Cause: The user specified an invalid staging table to one of the pack, unpack, or remap stgtab routines, or the user does not have the correct privileges on the staging table

Action: Provide a correct staging table or grant the appropriate privileges

ORA-19375: no CREATE TABLE privilege on schema “string

Cause: The user tried to create a staging table when he is missing the CREATE TABLE privilege on the specified schema.

Action: Grant the privilege to the user and retry

ORA-19376: no privileges on tablespace provided or tablespace is offline

Cause: The user tried to create a staging table on a tablespace on which he does not have any space allocated, or it is offline

Action: Allocate space on the tablespace, bring it online, and retry

ORA-19377: no “SQL Tuning Set” with name like “string” exists for owner like “string

Cause: The user specified a filter to a pack/unpack function for the SQL Tuning Set that targets no STS in the SYS schema or the staging table, respectively

Action: Provide a different filter after checking the state of the system

ORA-19378: invalid mode

Cause: The user specified an invalid mode argument to the capture function.

Action: Provide a mode argument that was defined in the dbmssqlt file

ORA-19379: invalid time_limit or repeat_interval

Cause: Either a NULL value was specified for the time_limit or the repeat_interval value, or the repeat_interval value was greater than the time_limit value.

Action: Provide a non-NULL value and ensure that time_limit value is greater than or equal to the repeat_interval value.

ORA-19380: invalid plan filter

Cause: The user specified an invalid filter for the plan when calling the select_sqlset table function.

Action: Adjust the the filter to be one of the following values and retry the operation: MAX_ELAPSED_TIME, MAX_CPU_TIME, MAX_DISK_READS, MAX_OPTIMIZER_COST, MAX_BUFFER_GETS, FIRST_LOADED LAST_LOADED, FIRST_GENERATED, or LAST_GENERATED.

ORA-19381: cannot create staging table in SYS schema

Cause: The user attempted to create a staging table in the sys schema

Action: Create the table in another schema.

ORA-19384: cannot pack into staging table from previous version

Cause: An attempt was made to perform a pack operation on a staging table from a previous version.

Action: Create a staging table in the current version and retry the operation.

ORA-19385: staging table is empty

Cause: An attempt was made to perform an operation on an empty staging table.

Action: Check the staging table to ensure that it has rows.

ORA-19386: target object already exists for tuning task “string

Cause: An attempt was made to set a target object for a tuning task when one had already been set.

Action: Create a new task if another target object is needed.

ORA-19387: “SQL Tuning Set” “string” belongs to another tuning task

Cause: The user attempted to tune a task-managed SQL Tuning Set belonging to one task within the scope of another task.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19388: operation not supported for “SQL Tuning Set” type

Cause: The attempted operation was unsupported for the type of the given SQL Tuning Set.

Action: Check the SQL Tuning Set and retry the operation.

ORA-19389: LOB types are not supported for SQL binds

Cause: A LOB type was provided in a SQL bind list.

Action: Replace the LOB binds with legal bind types or try another SQL.

ORA-19390: The profile type is not valid

Cause: The profile type is not valid.

Action: Check the available profile types.

ORA-19400: System type conflict with object SYS.string

Cause: The user had an object with the same name as one of the system types. The system types were not initialized properly.

Action: Remove the conflicting object and rerun migration.

4,070 total views, 20 views today

Viewing all 67 articles
Browse latest View live