Home » RDBMS Server » Networking and Gateways » ORA-27101: shared memory realm does not exist
ORA-27101: shared memory realm does not exist [message #182286] |
Fri, 14 July 2006 02:47  |
gregrlb
Messages: 5 Registered: July 2006 Location: Belgium
|
Junior Member |
|
|
Hello,
I'm running an Oracle 10g DB on a Solaris 10. A few days ago, I got a full partition and it crashed. Since then:
1) sqlplus /nolog
connect / as sysdba
startup
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 1303832 bytes
Variable Size 345774824 bytes
Database Buffers 264241152 bytes
Redo Buffers 1048576 bytes
Database mounted.
Database opened.
2) sqlplus
Enter user-name: USER
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
3) sqlplus -L USER/PASSWORD@DB_NAME
SQL*Plus: Release 10.1.0.3.0 - Production on Fri Jul 14 09:42:09 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
SP2-0751: Unable to connect to Oracle. Exiting SQL*Plus
4) sqlplus -L USER/PASSWORD
SQL*Plus: Release 10.1.0.3.0 - Production on Fri Jul 14 09:42:48 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
$ORACLE_SID contains the correct SID. But I still get these error messages (point 3). I was working before the crash.
If I try to access the DB via DBA Studio, I can connect but it tells me Oracle not available or that the DB is off.
Thanks in advance,
Greg.
|
|
|
|
Re: ORA-27101: shared memory realm does not exist [message #182335 is a reply to message #182331] |
Fri, 14 July 2006 07:05   |
gregrlb
Messages: 5 Registered: July 2006 Location: Belgium
|
Junior Member |
|
|
1.
> lsnrctl status
LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 14-JUL-2006 13:50:54
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.1.0.3.0 - Production
Start Date 14-JUL-2006 10:19:22
Uptime 0 days 3 hr. 31 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/network/admin/listener.ora
Listener Log File /oracle/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
Services Summary...
Service "DB_NAME.WORLD" has 1 instance(s).
Instance "DB_NAME", status READY, has 1 handler(s) for this service...
The command completed successfully
2.
DB_NAME =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = host-test)(PORT = 1541))
(CONNECT_DATA =(SID=DB_NAME))
)
3.
> tnsping DB_NAME
TNS Ping Utility for Solaris: Version 10.1.0.3.0 - Production on 14-JUL-2006 13:54:36
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/global/oracle/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST = host-test)(PORT = 1541)) (CONNECT_DATA =(SID=DB_NAME)))
OK (0 msec)
4.
> lsnrctl services
LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 14-JUL-2006 13:55:32
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1521))
Services Summary...
Service "DB_NAME.WORLD" has 1 instance(s).
Instance "DB_NAME", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
5. To summarize:
'shutdown' and 'startup' as sysdba work.
Login via 'sqlplus -L USER/PASSWORD' works if $ORACLE_SID is OK.
Login via 'sqlplus and the login/password prompts' works.
Login via 'sqlplus -L USER/PASSWORD@DB_NAME' doesn't work.
Working on the DB in DBA Studio doesn't work.
What's weird is that I start up the DB, it tells me that the DB is mounted and opened. Then 'sqlplus -L USER/PASSWORD@DB_NAME' tells me:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Thanks,
Greg.
|
|
|
|
|
|
|
Re: ORA-27101: shared memory realm does not exist [message #182417 is a reply to message #182408] |
Fri, 14 July 2006 12:58   |
gregrlb
Messages: 5 Registered: July 2006 Location: Belgium
|
Junior Member |
|
|
Here it comes:
1.
> lsnrctl status LISTENER1
LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 14-JUL-2006 19:53:52
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1541))
STATUS of the LISTENER
------------------------
Alias listener1
Version TNSLSNR for Solaris: Version 10.1.0.3.0 - Production
Start Date 13-JUL-2006 20:02:43
Uptime 0 days 23 hr. 51 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /global/oracle/network/admin/listener.ora
Listener Log File /global/oracle/network/log/listener_echo.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1541)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY_DB)))
Services Summary...
Service "AUDDB.WORLD" has 1 instance(s).
Instance "AUDDB", status UNKNOWN, has 1 handler(s) for this service...
Service "DB_NAME.WORLD" has 1 instance(s).
Instance "DB_NAME", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
2.
> lsnrctl services LISTENER1
LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 14-JUL-2006 19:54:50
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=host-test)(PORT=1541))
Services Summary...
Service "AUDDB.WORLD" has 1 instance(s).
Instance "AUDDB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "DB_NAME.WORLD" has 1 instance(s).
Instance "DB_NAME", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:74 refused:0
LOCAL SERVER
The command completed successfully
Thanks,
Greg.
|
|
|
|
|
Goto Forum:
Current Time: Fri May 02 12:54:10 CDT 2025
|