Solve ORA-00824: cannot set sga_target due to existing, sgatarget
Today Linux server machine restarted, Oracle cannot start up, prompt: Solve the ORA-00824: cannot set sga_target due to existing saw a lot of solutions, found below this particularly good, especially simple turn: cancel (create spfile from pfile) 3. Shut down the database instance 4. perform the following operations to start the database instance normally: su-oracle [oracle @ redhat pfile] $ sqlplus/nologSQL * Plus: release 10.2.0.1.0-Production on Tue Oct 20 00:20:19 2009 Copyright (c) 1982,200 5, Oracle. all rights reserved. SQL> conn/as sysdba
After you run the Connected to an idle instance. SQL> lsnrctl start statement, the pfile file will appear. Back up the file and run the following statement.
SQL> startup pfile = '/home/oracle/admin/zgz/pfile/init. ora.82220096537' -- "start an oracle instance through the pfile file"
ORACLE instance started. Total System Global Area 285212672 bytes
Fixed Size 1218968 bytes
Variable Size 88082024 bytes
Database Buffers 188743680 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.
SQL> create spfile from pfile = '/home/oracle/admin/zgz/pfile/init. ora.82220096537'; -- "use pfile to reconstruct the spfile File" File created. SQL> shutdown immediate -- "disabling database instances"
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup -- "using the spfile file to start an oracle instance"
ORACLE instance started. Total System Global Area 285212672 bytes
Fixed Size 1218968 bytes
Variable Size 88082024 bytes
Database Buffers 188743680 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.
SQL>