<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shared Memory Segments in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008339#M128015</link>
    <description>Hi,&lt;BR /&gt;most probable cause is not shared memory, but that you have set up incorrectly the environtment.&lt;BR /&gt;&lt;BR /&gt;Before killing the instance or removing share memory segments, that is *never* advisable, check ORACLE_HOME, ORACLE_SID, TNS_ADMIN.&lt;BR /&gt;&lt;BR /&gt;I know it may sound silly, but it happens often.&lt;BR /&gt;&lt;BR /&gt;You sai you have many oracle instace: are all they of the same release ? You must use the correspective binary to shut it down.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other check: is there the file $ORACLE_HOME/dbs/lk&lt;SID&gt; ?&lt;BR /&gt;&lt;BR /&gt;If it isn't there you can incour in such behaviour.&lt;BR /&gt;&lt;BR /&gt;Can you connect via tcp ? If it is yes, the db is running, so killing process in not a godd idea.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;/SID&gt;</description>
    <pubDate>Thu, 26 Jun 2003 08:59:11 GMT</pubDate>
    <dc:creator>Massimo Bianchi</dc:creator>
    <dc:date>2003-06-26T08:59:11Z</dc:date>
    <item>
      <title>Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008330#M128006</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;N-Class Server, hpux 11.00, oracle 8.1.7&lt;BR /&gt;&lt;BR /&gt;We have approx. 12 instances of databases running on our N-Class server. I am trying to bring down one database [shutdown abort] but it's not going down and showing the error "shared memory realm doesn't exist". I have done "ipcs -moba" and killed one with ipcrm -m id [having NATCH value 0] . But still the database is not going down , even kill -9 to the processes with [LOCAL=NO] is not working.&lt;BR /&gt;&lt;BR /&gt;How to find the semaphore id related to this particular instance.Pl help ..it's urgent !!</description>
      <pubDate>Thu, 26 Jun 2003 07:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008330#M128006</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-26T07:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008331#M128007</link>
      <description>If you cant kill -9 it youre going to have to reboot. &lt;BR /&gt;&lt;BR /&gt;In my opinion your NEVER remove shared memory segments or semaphores with ipcrm while a database is still up (by up I mean it still has some processes running), this can cause it to hang.&lt;BR /&gt;&lt;BR /&gt;You always try to shutdown first, even with abort. If it still wont go down then kill al users processes which may be connected to the db first (use lsof to identify) then try a normal kill (15) first on all db processes, only a 9 as a last resort.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 07:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008331#M128007</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-26T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008332#M128008</link>
      <description>I had the same issue before. Ended up being the oracle_home setting in my tnsnames.ora file: &lt;BR /&gt;(CONNECT_DATA = &lt;BR /&gt;(SID = ORCL) (SERVER = DEDICATED) &lt;BR /&gt;(ORACLE_HOME = /oraapp01/oracle/product/8.1.7) &lt;BR /&gt;) &lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 07:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008332#M128008</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-26T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008333#M128009</link>
      <description>HI Stefen,&lt;BR /&gt;&lt;BR /&gt;How to find out the semaphore id related to a particular SID so that I can flush that off with ipcrm.&lt;BR /&gt;&lt;BR /&gt;Attached is the output of ipcs -mob and the database instance name is oracleGMDV07A .&lt;BR /&gt;&lt;BR /&gt;Could you pl help me out to find which are the ids related to this particular DB.</description>
      <pubDate>Thu, 26 Jun 2003 08:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008333#M128009</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-26T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008334#M128010</link>
      <description>add the a option to ipcs (ipcs -moab) this then adds a PID column so you can see exactly which process 'owns' that shared memory segment. You should then be able to id which database is using what and ipcrm only those you need to.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 08:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008334#M128010</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-26T08:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008335#M128011</link>
      <description>Hi Stefen,&lt;BR /&gt;&lt;BR /&gt;Ran ipcs -moba , copied the output to a notepad file and search for all the pids which I got from ps -aef | grep GMDV07A | grep -v grep . But nowhere I found any of these pids.&lt;BR /&gt;&lt;BR /&gt;Is reboot is the only way or  still I can do something with lsof command. Attached is the output of ps -aef , these are the processes running after I issued shutdown abort , pl suggest the next step.&lt;BR /&gt;&lt;BR /&gt;Thankx</description>
      <pubDate>Thu, 26 Jun 2003 08:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008335#M128011</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-26T08:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008336#M128012</link>
      <description>The processes which opened the shared memory segment must be one of the main db daemons. You can id with;&lt;BR /&gt;&lt;BR /&gt;ps -fuoracle2|grep "Jun 17"&lt;BR /&gt;&lt;BR /&gt;From your output it seems only 3 possibilities, 952, 7140, 7146. If none were on your output from ipcs -moba then nothing you can do. If you cant kill -9 all processes with GMDV07A then you have to reboot.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 08:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008336#M128012</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-26T08:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008337#M128013</link>
      <description>HI Stefen ,&lt;BR /&gt;&lt;BR /&gt;But what is the field for process id in the "ipcs -moba" output....is it CPID  or LPID.&lt;BR /&gt;&lt;BR /&gt;Pl confirm.</description>
      <pubDate>Thu, 26 Jun 2003 08:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008337#M128013</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-26T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008338#M128014</link>
      <description>CPID is the creator of the shared memory segment - thats the one you want. LPID is last process to use it.</description>
      <pubDate>Thu, 26 Jun 2003 08:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008338#M128014</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-26T08:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008339#M128015</link>
      <description>Hi,&lt;BR /&gt;most probable cause is not shared memory, but that you have set up incorrectly the environtment.&lt;BR /&gt;&lt;BR /&gt;Before killing the instance or removing share memory segments, that is *never* advisable, check ORACLE_HOME, ORACLE_SID, TNS_ADMIN.&lt;BR /&gt;&lt;BR /&gt;I know it may sound silly, but it happens often.&lt;BR /&gt;&lt;BR /&gt;You sai you have many oracle instace: are all they of the same release ? You must use the correspective binary to shut it down.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other check: is there the file $ORACLE_HOME/dbs/lk&lt;SID&gt; ?&lt;BR /&gt;&lt;BR /&gt;If it isn't there you can incour in such behaviour.&lt;BR /&gt;&lt;BR /&gt;Can you connect via tcp ? If it is yes, the db is running, so killing process in not a godd idea.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Thu, 26 Jun 2003 08:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008339#M128015</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-26T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008340#M128016</link>
      <description>No Guys ,&lt;BR /&gt;&lt;BR /&gt;Nothing is working, I will reboot the server , we are starting the reboot afetr n15 minutes.&lt;BR /&gt;&lt;BR /&gt;First I will try to shutdown all 15 instances and do ipcrm on whatever ids are there and start the dbs. If it doesn't come up then we will reboot the server&lt;BR /&gt;&lt;BR /&gt;Is this sound OK?</description>
      <pubDate>Thu, 26 Jun 2003 09:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008340#M128016</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-26T09:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory Segments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008341#M128017</link>
      <description>Hi,&lt;BR /&gt;since you are rebooting your server, which are your kernel parameters ?&lt;BR /&gt;&lt;BR /&gt;It can be good moment to check whether your kernel parameters are sufficient for 15 oracle instnces.&lt;BR /&gt;&lt;BR /&gt;For the shutdown.&lt;BR /&gt;&lt;BR /&gt;First try woth your rc scripts, before the shutdown.&lt;BR /&gt;&lt;BR /&gt;If they fail, your shutdown will hang the same.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;First to kill: all the listener, so no new tcp connection will be possible.&lt;BR /&gt;Then try to abort an oracle instance at a time, and eventually kill the process of the one sacrifiable.&lt;BR /&gt;&lt;BR /&gt;Maybe with the sacrifice of one instance, you will be ale to clean shutdown th others.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2003 10:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-segments/m-p/3008341#M128017</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-26T10:16:56Z</dc:date>
    </item>
  </channel>
</rss>

