| re .0
Trying to find the file '$ORACLE_HOME/dbs/sgadef$ORACLE_SID.dbf' while
the instance is down will always fail. The sgadef file only exists if
your instance is running or crashed without removing it. You can
manually remove it by typing 'shutdown abort' in svrmgrl whenever the
Oracle kernel crashed without cleaning up. But there's no way to
manually create the file.
Now back to your error messages:
oerr ora 7320
07320, 00000, "smsget: shmat error when trying to attach sga."
// *Cause: Unable to attach segment.
// *Action: Check errno. sercose[0] returns segment id. Verify segment
// exists and that permissions are correct.
oerr ora 7306
07306, 00000, "sms1sg: shmget error, unable to get a shared memory segment."
// *Cause: Error in shmget. The code fails to find a single segment large
// enough for the entire SGA, but cannot continue to the next
// allocation model because of a fatal error.
// *Action: Check errno returned. Verify that enough shared memory is available
// on the system to fit the entire SGA.
Looks like the 7320 is a follow on error to the 7306. There maybe
several reasons why the Oracle kernel wasn't able to allocate the
shared memory segments needed for the size of the SGA you have
configured. I guess you need to check the init.ora parameters against
your kernel settings for shared memory and process address space. One
of the first things to check: type 'ipcs -ma' and see if there are
shared memory segments allocated which are probably not valid any more
(in which case ipcrm is your friend).
Hope this helps
Martin
|
|
Martin,
Thank you very much.
The problem was that I use ASE and somehow the database was down
unclean (as you've pointed out earlier) when there's a hard error
on an RZ drive. Although the sgadef<SID>.dbf file was not there,
your "ipcs" commands do help me with the mess.
I've needed to depend on ASE to fix the other related bug.
Again, thank you very much.
Gina Nguyen
|