Solved

Oracle shared memory realm not found

Posted on 2004-03-23
8
1,075 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
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…

713 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