ORACLE not available; Shared memory realm does not exist [message #460578] |
Sat, 12 June 2010 14:47  |
bhushan5
Messages: 11 Registered: June 2010 Location: Pittsburgh
|
Junior Member |
|
|
Here's the background-
ORACLE was working perfectly on Windows 7 since Jan 2010. A couple of days ago I ran a procedure which was to update a table with 1000 columns. The procedure worked fine till it created a few thousand records and then it slowed down terribly. I closed the SQL Plus command line tool (CTRL C) and tried to restart and then tried to logon to get the following errors-
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Then I used the Start Database tool (net start OracleTNSListener), but it showed "System 5 error". So after researching online I created Admin profile for WINDOWS 7 and logged in as an administrator. In the INIT.ORA file I increasd the SGA_TARGET to 5G and PGA to 3G.
After doing that the above service is running but I'm still getting the ORA-01034 and ORA-27101.
Using cmd prompt in Windows and entering commands sqlplus -> Username: " / as sysdba" gives an insufficient privileges error.
Please let me know if you can help any way.
Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: ORACLE not available; Shared memory realm does not exist [message #460590 is a reply to message #460589] |
Sat, 12 June 2010 16:16   |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>Path=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;
32-bit Windows!
open a Windows command window
COPY the lines below
cd C:\oraclexe\app\oracle\product\10.2.0\server\dbs
sqlplus
/ as sysdba
create pfile from spfile;
exit
dir /Q
PASTE lines above into command window
COPY commands & results then PASTE all back here
there should be a file names "initXE.ora" in this folder now.
manually edit it to correct bad parameter
find file "alert_XE.log" file & inspect it contents.
It will report the error.
After you change "initXE.ora, then do as follows:
sqlplus
/ as sysdba
startup pfile='initXE.ora'
exit
This should start the DB
[Updated on: Sat, 12 June 2010 16:22] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: ORACLE not available; Shared memory realm does not exist [message #648239 is a reply to message #648238] |
Fri, 19 February 2016 02:46  |
 |
Michel Cadot
Messages: 68758 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:how do I start my database?
You have to first fix the error in your parameter file:
Quote:ORA-44412: XE edition memory parameter invalid or not specified.
Quote:SQL> start spfile=C:\oraclexe\app\oracle\product\10.2.0\server\database\initXE.ora
SP2-0310: unable to open file "spfile=C:\oraclexe\app\oracle\product\10.2.0\server\database\initXE.ora"
1/ If this is a pfile (init.ora) then it is not a spfile
2/ Does the file exist?
dir C:\oraclexe\app\oracle\product\10.2.0\server\database
type C:\oraclexe\app\oracle\product\10.2.0\server\database\initXE.ora
dir C:\oraclexe\app\oracle\product\10.2.0\server\dbs
Before, Please read How to use [code] tags and make your code easier to read.
[Updated on: Fri, 19 February 2016 02:47] Report message to a moderator
|
|
|