Ora-01034:oracle Not available Problem solving method

Source: Internet
Author: User
Tags sqlplus

At the same time on their own computer installed Oracle client and server, last time can also use, this time suddenly can't use.

[Email protected] oracle]$ Sqlplus Scott/tiger

Sql*plus:release 9.2.0.4.0-production on Mon Nov 24 11:06:50 2008

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
Ora-01034:oracle Not available
Ora-27101:shared Memory realm does not exist
Linux error:2: No such file or directory

[[email protected] root]# ID Oracle
uid=500 (Oracle) gid=501 (DBA) groups=501 (DBA)
[Email protected] root]# su-oracle
[[email protected] oracle]$ lsnrctl start

Lsnrctl for linux:version 9.2.0.4.0-production on 24-nov-2008 10:57:29

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Starting/oracle/product/9i/bin/tnslsnr:please wait ...

Tnslsnr for Linux:version 9.2.0.4.0-production
System parameter File Is/oracle/product/9i/network/admin/listener.ora
Log messages Written To/oracle/product/9i/network/log/listener.log
Error listening on: (Description= (Address= (PROTOCOL=IPC) (Key=extproc)))
Tns-12542:tns:address already in use
Tns-12560:tns:protocol Adapter Error
Tns-00512:address already in use
Linux error:98:address already in use

Listener failed to start. See the error message (s) above ...

[Email protected] oracle]$ lsnrctl status

Lsnrctl for linux:version 9.2.0.4.0-production on 24-nov-2008 11:21:13

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (Description= (address= (PROTOCOL=IPC) (Key=extproc)))
STATUS of the LISTENER
==============================================
[Email protected] oracle]$ lsnrctl status

Lsnrctl for linux:version 9.2.0.4.0-production on 24-nov-2008 11:21:13

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (Description= (address= (PROTOCOL=IPC) (Key=extproc)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version Tnslsnr for Linux:version 9.2.0.4.0-production
Start Date 24-nov-2008 10:52:27
Uptime 0 days 0 hr. Min. sec
Trace level off
Security OFF
SNMP OFF
Listener Parameter File/oracle/product/9i/network/admin/listener.ora
Listener Log File/oracle/product/9i/network/log/listener.log
Listening Endpoints Summary ...
(Description= (address= (PROTOCOL=IPC) (Key=extproc)))
(Description= (address= (protocol=tcp) (host=r39i) (port=1521)))
Services Summary ...
Service "Plsextproc" has 1 instance (s).
Instance "Plsextproc", status UNKNOWN, have 1 handler (s) for the This service ...
Service "MyData" has 1 instance (s).
Instance "MyData", status UNKNOWN, have 1 handler (s) for the This service ...
The command completed successfully

Oh, the original monitoring has been started.
[Email protected] oracle]$ Sqlplus/nolog

Sql*plus:release 9.2.0.4.0-production on Mon Nov 24 12:01:37 2008

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Sql> Connect/as SYSDBA
Connected to an idle instance.
Sql> Startup
ORACLE instance started.

Total System Global area 122754448 bytes
Fixed Size 451984 bytes
Variable Size 88080384 bytes
Database buffers 33554432 bytes
Redo buffers 667648 bytes
Database mounted.
Database opened.

The database is ready to use.

Summarize

1, when the database is not open, other users are not linked.
2, if you can not open the database with SYS, it may be a bad environment variable.

Use the following method to check to see if it is the same as you expected.

Env |grep ORACLE

Ora-01034:oracle Not available Problem solving 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.