ORACLE not available, oracleavailable

Source: Internet
Author: User

ORACLE not available, oracleavailable
ERROR Description: ERROR: ORA-01034: ORACLE not availableORA-27101: shared memory realm does not exist process ID: 0 session ID: 0 serial number: 0

 

Solution:

1. Execute

[Oracle @ ay1401_135826z admin] $ sqlplus 'sys/Hello54987663 @ localhost: 1521/orcl as sysdba'

 

2. Execute:

SQL> startup

 

3. test:

SQL> select * from user_tables;

OK, except for many results!

 

The content of tnsnames. ora is as follows:

# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora# Generated by Oracle configuration tools.orcl =  (DESCRIPTION =    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))    (CONNECT_DATA =      (SID = orcl)    )  )    


Listener. ora content:

# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora# Generated by Oracle configuration tools.LISTENER =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))    )  )SID_LIST_LISTENER=  (SID_LIST=(SID_DESC=         (GLOBAL_DBNAME=orcl)         (SID_NAME=orcl)         (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1/)       )      )


 

 

Appendix:

Oracle listener startup execution:

Lsnrctl start


A ORA-01034: ORACLE not available

Normally, sometimes the virtual machine will not save the things you installed before after the restart, and occasionally encounter it, saving your time and reinstalling it. Of course, if you have installed everything (especially the oracle software), check your environment variable configuration. Most of the errors are caused by incorrect environment variables.

What is oracle not available?

Did you select the "Install software only" option during installation?
Generally, this error is caused by the absence of a database.
Click Start> All Programs> Oracle-Db11g_home> Configure and port tools> Database configuration Assistant (DBCA) To Go To The DBCA tool interface, select "Create a database ". Click "Next" step by step as required, and then click "finish ".
This error does not occur after the database is created.

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.