I have Solaris machine with oracle Release 10.2.0.4.0
I have problem – I cant startup oracle
when I try to start oracle by the command:
hagrp -online oracle1 -sys machine1a
I get:
oracle1 machine1a Y N PARTIAL|FAULTED
remark ( hagrp -clear oracle1 -sys machine1a not help )
After checking and debug the problem I find that oracle not start up
because wrong param – shared_pool_size (this param was set to 0 , while need to set this param to 2G)
So I want to set the param shared_pool_size to 2G but I can’t because oracle is down !!!
My question – how to set the parameter shared_pool_size to 2G in spite oracle is down ??? , is it possible ???
su - oracle -c "sqlplus / as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 5 12:10:44 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter system set shared_pool_size=2G scope=BOTH;
init.ora: (from my machine)
grep shared_pool_size /opt/oracle/v10.2.0/srvm/admin/init.ora
#shared_pool_size = 52428800 # INITIAL
shared_pool_size = 67108864 # datewarehouse, transaction processing
If you were starting from an old-style
init.oraparameter file you could just change it in that. Thescopein youralter systemsuggests you’re using anspfile. You canstartup nomountto make parameter changes, thenshutdownagain and try to start normally.Are you sure you’re connecting to the right database though? The output from your
sqlpluscommand doesn’t sayconnected to an idle instance, so it looks like whatever you’re connected to is already running. Check where you are before running anything, and note any parameters you change first (e.g. with output fromshow parameters).Based on conversation in chat…
You can create a temporary
pfile, edit that and test starting up with it, and then when happy with the new configuration recreate yourspfile, and finally restart from that. The steps are: