ORA-01034 error.

Source: Internet
Author: User

Today, my colleague said that a machine had a power outage during the holidays. After the machine was restarted, I logged on to the server using PLSQL:

A ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux_x86_64 Error: 2: No such file or directory

.


There are also many online statements about this error:

When Oracle is started;
When trying to create a database;
When trying to connect to the database;
When the client is running SQL/PL/SQL;
Backup/restoration of the database;
In other cases

This error will be reported.


The reasons include:

Improper Unix core parameter settings
Incorrect Oracle execution file permissions/Environment Variables
Client Communication cannot be properly handled
Database server crash/operating system crash/process kill
Oracle internal error
Errors Caused by specific SQL, PL/SQL
Insufficient Space
Firewall Problems
Other reasons


Error introduction from ORA-1034:

01034,000 00, "ORACLE not available"
// * Cause: Oracle was not started up. Possible causes include the following:
//-The SGA requires more space than was allocated for it.
//-The operating-system variable pointing to the instance is
// Improperly defined.
// * Action: Refer to accompanying messages for possible causes and correct
// The problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// Verify that Oracle was linked correctly. See the platform
// Specific Oracle documentation.

It can also be seen that the reason is: "Oracle was not started up". As to why it is not started, it may be one of the reasons described above.

But in fact, the reason for this problem is that Oracle is not started, the machine is not configured to automatically start the Oracle service, and sqlplus is in the idle status after login...


The problem may seem complicated, but the cause may be very simple. Of course, this is only a special case. At least it taught us to check whether Oracle has executed the startup command. If so, you can continue to view the logs. For example, to open the alert Log, You need to analyze the specific problem.

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.