Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can't connect to Oracle after running alter statement

After running an alter statement and restarting the system I cannot connect to Oracle. It gives me the errors "ORA-01034: ORACLE not available" and "ORA-27101: shared memory realm does not exist."

Hi Brian, I am using Oracle 9.2.0.1.0. in Windows XP. Today I ran an alter statement:
Alter system set Processes=2 SCOPE=SPFILE;
After this when the system was restarted I have not been able to connect to Oracle. It gives me the error:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
I searched the whole globe for a solution. From a forum I found a solution that told to start Oracle from pfile. But the problem that I am facing here is that I couldn't even go to the SQL prompt because of the errors mentioned above.
You will need more than two processes, so setting the PROCESS parameter this low is causing your problems. Remember that PMON, SMON and all of the other background processes count against the total number of processes running in the system. Oracle 9.2 requires at least five processes in order for the instance to stay up and running. And then you'll want users to be able to connect to your instance, which are more processes.

You need to modify your SPFILE's contents. Unfortunately, you cannot start the instance. So try this little tr...

ick:

  1. STARTUP NOMOUNT the instance
  2. CREATE PFILE FROM SPFILE;
  3. Using a text editor, modify the pfile to have more than two processes. The pfile will be in the default location.
  4. CREATE SPFILE FROM PFILE;
  5. ALTER DATABASE OPEN;
Using the above method, you can always modify the SPFILE's contents when you need to and the instance won't open.
This was last published in February 2007

Dig Deeper on Oracle database backup and recovery

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close