Solved

Oracle shared memory realm not found

Posted on 2004-03-23
8
1,039 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
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now