$ORACLE_HOME/bin/sysresv is another method to do just that.

-----Original Message-----
Sent: 12. maaliskuuta 2003 17:51
To: Multiple recipients of list ORACLE-L


Ray,

ipcs *will* tell you the ID's of all Oracle SHM segments.

What it won't tell you is which ones *not* to delete.

You need oradebug for that.

Jared






Ray Stell <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
 03/12/2003 01:45 PM
 Please respond to ORACLE-L

 
        To:     Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc: 
        Subject:        Re: can't create database


On Wed, Mar 12, 2003 at 12:44:07PM -0800, [EMAIL PROTECTED] wrote:
> I run into this every time I stop 9.2 on Linux.
> 
> No need to reboot.  Just use ipcrm to remove the
> offending SHM segments.
> 
> If you don't know which ones, use ORADEBUG to
> find the segments you shouldn't remove from other
> running databases.



ipcs will tell you the id numbers to feed to ipcrm:

$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x1fa75ea8 2588672    oracle    640        51687424   0

------ Semaphore Arrays --------
key        semid      owner      perms      nsems      status

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages



$ ipcrm shm 2588672
resource(s) deleted


$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

------ Semaphore Arrays --------
key        semid      owner      perms      nsems      status

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages





> 
> Or just shutdown all instances and remove any
> SHM owned by Oracle.
> 
> Probably a bug, but I haven't checked into it yet.
> 
> Jared
> 
> 
> 
> 
> 
> 
> Boyle Candi <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
>  03/12/2003 09:44 AM
>  Please respond to ORACLE-L
> 
> 
>         To:     Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>
>         cc: 
>         Subject:        Re: can't create database
> 
> 
> I've had this problem on linux.  Best and fastest solution:  reboot the
> server.  There is a memory issue preventing you from starting oracle.  I
> just had it happen about 2 minutes ago on an upgrade to 9i.  Reboot, and
> now I can start the db.
> 
> -Candi
> 
> 
> On Wed, 2003-03-12 at 12:07, Schwerdtfeger, Christoph wrote:
> > Am Mit, 2003-03-12 um 17.20 schrieb Ray Stell:
> > > On Wed, Mar 12, 2003 at 07:19:53AM -0800, Schwerdtfeger,  Christoph 
> wrote:
> > > > Am Mit, 2003-03-12 um 10.28 schrieb Christoph Schwerdtfeger:
> > > > > Am Die, 2003-03-11 um 19.47 schrieb Alan Davey:
> > > > > > I had the same error message on NT with Oracle 9.2 recently.
> > > > > > 
> > > > > > The first problem was that the init_sid.ora file was created a 

> directory different from where the db create scripts were looking for 
it. 
> The second problem was that one of the init parameters was for 
Enterprise 
> Edition and I was installing Standard Edition.
> > > > > > 
> > > > > > Both problems resulted in the message of 'not connected to 
> oracle'.
> > > > > > 
> > > > > > Come to think of it, I don't think I've ever had a version of 
> the DB Creation wizard work without getting some error.
> > > > > > -- 
> > > > > > 
> > > > > > Alan Davey
> > > > > > [EMAIL PROTECTED]
> > > > > > 718-482-4200 x106
> > > > > > 
> > > > > > 
> 
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: 
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).

-- 
===============================================================
Ray Stell   [EMAIL PROTECTED]     (540) 231-4109     KE4TJC    28^D
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ray Stell
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Richard Ji
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to