Oracle 9i exp XDB. dbms_xdbutil_int must be declared

Source: Internet
Author: User

 

An export from an Oracle9i database fails:
...
. Exporting triggers
EXP-00056: Oracle error 6550 encountered
ORA-06550: Line 1, column 26:
PLS-00201: identifier 'xdb. dbms_xdbutil_int 'must be declared
ORA-06550: Line 1, column 14:
PL/SQL: Statement ignored
EXP-00056: Oracle error 6550 encountered
ORA-06550: Line 1, column 26:
PLS-00201: identifier 'xdb. dbms_xdbutil_int 'must be declared
ORA-06550: Line 1, column 14:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully


You have verified the following:

1. The package dbms_xdbutil_int object does not exist:

SQL> select status, object_id, object_type, substr (Owner | '.' | object_name,
1, 40) "owner. Object" from dba_objects
Where object_name = 'dbms _ xdbutil_int ';

No rows selected

2. The error messages during export are identical as mentioned above.
For the error ORA-1422 (exact fetch returns more than requested number
Of rows) in XDB. dbms_xdbutil_int (line 52), refer:
-Note 221178.1 "ORA-01422 ORA-06512: At" XDB. dbms_xdbutil_int "while
Exporting full database"
-Note 256548.1 "Export of database with XDB throws ORA-1422 error"


Solution description
--------------------
There are three possible solutions:

1. If you are * not * having any schema's in the database that use
XML functionality, remove the XDB schema and the XDB tablespace
Following the steps in the article mentioned below. The XDB Schema
And the XML functionality can be re-installed at a later time if
Actually needed.

Note 243554.1 "How to deinstall and reinstall XML database (XDB )"

Warning: Do not de-install XDB if there are registered schema's or
If XML database items have been created!

2. If you are using the XML functionality, and you have recently applied
A patch-set, check whether the data dictionary has been upgraded
Accordingly.

SQL> select substr (comp_id,) comp_id, status, substr (version)
Version, substr (comp_name, 1, 30) comp_name
From dba_registry order by 1;

If the version of the components catalog, catproc, XDB (among others)
Is lower than the patch-set version that you have applied, re-run
Script catpatch. SQL after a startup migrate. See the README file
The patch-set for all these mandatory post-installation instructions.

3. If you are using the XML functionality, and the data dictionary
Components have the correct version and are valid or loaded,
Then re-create the package XDB. dbms_xdbutil_int with (example
UNIX syntax ):

SQL> connect sys/<password> As sysdba
SQL> @? /Rdbms/admin/prvtxdb. PLB
SQL> exit


Explanation
-----------
The PLS-201 indicates that the export utility is expecting to find
Packge dbms_xdbutil_int. This package together with its package body
Shocould exist in the XDB schema and shocould be valid.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.