RE: [Spam] Re: impdp Issue
Date: Wed, 11 Sep 2024 11:36:11 +0000
Message-ID: <CH3PR16MB5897D491EC13252D3DD51BCBC59B2_at_CH3PR16MB5897.namprd16.prod.outlook.com>
I don’t see it even trying to open a tnsnames.ora file anywhere. It does find the correct sqlnet.ora file:
openat(AT_FDCWD, "/var/opt/oracle/sqlnet.ora", O_RDONLY) = 4
access("/var/opt/oracle/sqlnet.ora", F_OK) = 0 openat(AT_FDCWD, "/var/opt/oracle/sqlnet.ora", O_RDONLY) = 6 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fstat(6, {st_mode=S_IFREG|0660, st_size=969, ...}) = 0 read(6, "NAMES.DIRECTORY_PATH= (TNSNAMES,"..., 4096) = 969
read(6, "", 4096) = 0 close(6) = 0
Scott Canaan ‘88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco_at_rit.edu<mailto:srcdco_at_rit.edu> | c: (585) 339-8659
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> On Behalf Of Mladen Gogala
Sent: Tuesday, September 10, 2024 4:19 PM
To: oracle-l_at_freelists.org
Subject: [Spam] Re: impdp Issue
CAUTION: This message from outside RIT could not be authenticated.
If you do not recognize the email address of the person who sent the email, do not click on links, open attachments, or repond to the message.
Please see article KB0042035 at help.rit.edu or contact the RIT Service Center at 585-475-5000 for additional information.
On 9/10/24 8:25 AM, Scott Canaan (srcdco) wrote: I’m trying to import from one database to another via the network. I’ve done this many, many times with no issues, until now. I create the database link, put the entry in the tnsnames.ora file, and verified that all is good. The tnsping returns correctly. I can query the remote database from SQL*Plus with no issue, but when I try to run the impdp, I get:
ORA-39001: invalid argument value ORA-39200: Link name "advcprod" is invalid. ORA-12154: TNS:could not resolve the connect identifier specified
The source database is Oracle 12.1 on Red Hat 7, the destination database is Oracle 19 on Red Hat 8. I’ve tried setting the SID and SERVICE_NAME in the tnsnames.ora file and it doesn’t matter, I get the same error either way.
Can you do strace and check the file that is being opened for TNS identifiers? You might be using wrong TNS_ADMIN.
Regards
--
Mladen Gogala
Database Consultant
https://dbwhisperer.wordpress.com
-- http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Sep 11 2024 - 13:36:11 CEST