Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting "error occurred when looking up remote object" During IMPDP

user12986169Oct 25 2011 — edited Oct 31 2011
Hi

I am doing a migration from one server to another server. I am on testing period. I am working on this setup

SALESDB - RHEL 5.2(64bit) and Oracle Database 10.2.0.4

It has schemas: SALESMGR, TARGET, REPORT and FINANCE

These schemas will be migration to another database with the same name (we will be shutting down SALESDB 10g after the migration)

SALESDB - RHEL 5.5(64bit) and Oracle Database 11.2.0.2

====================================

The EXPDP process of the schemas in 10g DB are good and no errors where encountered. But during the IMPDP process of the schemas in 11g DB, I got the follwing erorrs:


*************************************

IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "BEGINNING_BALANCE_PKG" COMPILE REUSE SETTINGS TIMESTAMP '200"*
*"9-05-11:09:26:16'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object FINANCE.BEGINNING_BALANCE@SALESREPORTS.WORLD
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_FAULT_CODES" COMPILE REUSE SETTINGS TIMESTAMP '2009-05-1"*
*"0:02:49:13'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_IFACE_SALESPRD_DATA" COMPILE REUSE SETTINGS TIMESTAMP '20"*
*"11-09-22:10:33:12'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESMGR@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_COPY_TC_RECPT_TO_ITEM_RECPT" COMPILE REUSE SETTINGS TIMESTAM"*
*"P '2009-05-10:06:07:09'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML_TR" COMPILE REUSE SETTINGS TIMESTAM"*
*"P '2009-05-10:06:07:23'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_TR_DETAIL@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML" COMPILE REUSE SETTINGS TIMESTAMP '"*
*"2009-05-10:06:03:01'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00017: following statement failed with ORACLE error 4052:
*"ALTER PACKAGE "PKG_PARSE_GRAPHIC" COMPILE REUSE SETTINGS TIMESTAMP '2009-05"*
*"-10:06:07:23'"*
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-12154: TNS:could not resolve the connect identifier specified
*. importing SALESMGR's objects into SALESMGR*
*. importing SALESMGR's objects into SALESMGR*

***********************************************

I have not created the complete TNS entries in the TNSNAMES.ORA file in the new Oracle 11g. We will be updating this on the actual migration process. Is this the root cause of the problem? I am sure that all database links are existing but upon validating it, it says "ORA-02019: connection description for remote database not found."

Any ideas or feedback on this?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2011
Added on Oct 25 2011
3 comments
3,338 views