Resolving an Oracle connection Error Reporting ORA-01034 and ORA-27101

Source: Internet
Author: User

The database version installed on my local machine is Oracle 11G R2. When I connect to the database today, the following error is reported:

Oracle not available ORA-01034

ORA-27101-shared memory realm does not exist

I found several solutions online, saying yes.Oracle homeAndSidOr useNet Configuration AssistantRebuild the local network service name. After practice, it does not work.

After summary, it is better to use the following methods to solve the problem:

1. First, take a look at the ORADIM. LOG File under ORACLE_BASE \ ORACLE_HOME \ DATABASE
C: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ database:

The following error is reported only when you view the log !!

ORA-00119: invalid specification for system parameter LOCAL_LISTENER

ORA-00132: syntax error or unresolved network name 'listener _ ORCL'

2. Search for this error and find that the following statement is missing in the tnsnames. ora file:

LISTENER_ORCL =

(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521 ))

After the instance is added, restart the database instance service:

Use SQLPLUS and TOAD to connect again. Okay, haha!

For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12

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.