Oracle Database import DMP File error handling method

Source: Internet
Author: User

An error occurred while executing the import command to the Oracle database, which probably means that the service name could not be found in TNS

Let's talk about the resolution step

1: Enter Oracle user, use Cat to view the. bash_profile file, locate the Oracle_home variable

2: Enter the Oracle_home/network/admin directory

3: Check the Tnsnames.ora listening file, find the corresponding listener name, such as the following import statement, can be executed successfully

[Email protected] admin]$ IMPDP efoas/[email protected]enfocog directory=expdp_dir dumpfile=efoas_14_ 20141118_1350.dmp Logfile=efoas_14_20141118_1350.log

Summary: Import and export username/[email protected] The ServerID here is the name of the listener in TNS, not the name of the database.

Oracle Database import DMP File error handling method

Related Article

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.