Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle shared memory realm not found

Posted on 2004-03-23
8
Medium Priority
?
1,094 Views
Last Modified: 2012-05-04
First off, please pardon my ignorance of the intricacies of Oracle administration.  At one point we had a real DBA, but no longer.  We have 2 Linux servers running Oracle 9.2.0.  on our primary server, we have 2 databases available, one for production, and one for a demo site.  On the other server we keep our development database.  I am able to connect to production and demo through SQL Plus Worksheet, but not our development database.  The connection fails with the following error:

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

JDBC connections do not work either.

Strange thing is, this server was up and running just yesterday, and I have made no changes.  As I stated above, I know very little about Oracle administration, and have no idea where to start looking for a solution to this problem.  Any suggestions would be appreciated.
0
Comment
Question by:nequalsone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 8

Expert Comment

by:baonguyen1
ID: 10659054
Look like your db has not been started yet. try this:

1. Log on Linux servetr
2. set ORACLE_SID <SID>
I assume you run csh
3.SQL> sqlplus /nolog
4.SQL>Connect / as sysdba
5.SQL>startup pfile=<>

Let us know if you have other issues

HTH
0
 

Author Comment

by:nequalsone
ID: 10659161
If I run dbstart manually as user oracle, the following output is produced:

dbstart executing....
starting DEV...
using sqlplus /nolog to start instance
Oracle database version = undef

SQL*Plus: Release 9.2.0.1.0 - Production on Tue Mar 23 10:49:29 2004

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

SQL> Connected to an idle instance.
SQL> ORACLE instance started.

Total System Global Area   55644260 bytes
Fixed Size                   450660 bytes
Variable Size              37748736 bytes
Database Buffers           16777216 bytes
Redo Buffers                 667648 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced


SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
JServer Release 9.2.0.1.0 - Production

Database "DEV" warm started.
Starting Net8....
./dbstart: /local/bin/net8start: No such file or directory

I assume that this same process is occurring when the machine starts, as this DB is set to start in my oratab.

It looks like the database is unable to start at all.  Running "ps" on the linux server shows no processes running as user oracle.  Where does Oracle dump its logs by default?  I have already checked /var/log (where it should put them, IMHO).
0
 
LVL 8

Expert Comment

by:baonguyen1
ID: 10659457
To check the alert log, trace files, check dump, bdump ...

Can you try to start the db manually as my fisrt post ?

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:nequalsone
ID: 10659698
I did try to start the DB manually, but it complained about a missing file - sp1<lang>.msb.  Maybe I should clarify.  When I was connecting earlier, I was running SQL Worksheet on my desktop machine, not on the server itself.
0
 
LVL 1

Expert Comment

by:TadejMali
ID: 10691951
I found a similar error and a possible cure:

Problem Description: ====================
When you startup your Oracle RDBMS database, you receive the following error:
       ORA-01092: ORACLE instance terminated. Disconnection forced.  

Problem Explanation: ====================  
Oracle cannot write to the alert_<SID>.log file because the ownership and/or permissions on the BACKGROUND_DUMP_DEST directory are incorrect.

Solution Summary: =================
 Modify the ownership and permissions of directory BACKGROUND_DUMP_DEST.

Note: I think that BACKGROUND_DUMP_DEST is the $ORACLE_HOME/admin/bdump. It contains alert_<SID>.log file. If the file exists and has proper permisions, try to restart the database and check what will be logged into it.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11054408
PAQed - no points refunded (of 125)

Computer101
E-E Admin
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question