Solved

Oracle shared memory realm not found

Posted on 2004-03-23
8
1,080 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
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…

752 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