Solved

Oracle shared memory realm not found

Posted on 2004-03-23
8
1,050 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

914 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

17 Experts available now in Live!

Get 1:1 Help Now