Oracle Database Error ORACLE not available solution

Source: Internet
Author: User

Oracle Database error ORACLE not available solution the following Error occurs when running commands such as exp, imp, or sqlplus: EXP-00056: ORACLE error 1034 encounteredORA-01034: ORACLE not availableORA-27101: shared memory realm does not existLinux-x86_64 Error: 2: No such file or directoryEXP-00005: all allowable logon attempts failedEXP-00000: Export terminated unsuccessfully identified by "Linux-x86_64 Error: 2: No such file or directory" Row analysis, is caused by incorrect path settings. First, check whether the oracle environment variables are correctly set and check the environment variables that only contain the "ORACLE _" character.

$ Env | grep ORACLE _

 

The following result is displayed:
ORACLE_SID = orclORACLE_BASE =/oracle/app/ORACLE_HOME =/oracle/app/product/11.2.0/dbhome_1/

 

The analysis shows that the last two lines contain the character "/", which is correctly modified using the vi editor.
$ Vi/home/oracle/. bash_profile

 

After the modification is correct, run the following command to reload the environment variable:
$ Source/home/oracle/. bash_profile

 

Try other functions again and find the problem solved!

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.