<?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 Oracle Hang while shuting down immedaite in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639445#M808764</link>
    <description>Hi,&lt;BR /&gt;Now I am using:&lt;BR /&gt;- Oracle version: 8.1.7.4 &lt;BR /&gt;- OS: HP-UX 11i&lt;BR /&gt;- Server: HP 9000/800&lt;BR /&gt;- Middle ware: BTuxedo 8.1&lt;BR /&gt;- Database size: 400GB&lt;BR /&gt;- Backing up by HP device and OmniBack Software.&lt;BR /&gt;- Execute Script to shutdown Database Pre-Backing up.&lt;BR /&gt;- contents of script:&lt;BR /&gt;###### Oracle Shutdown Script for Application ##################&lt;BR /&gt;lsnrctl stop&lt;BR /&gt;sqlplus internal/password &amp;lt;&amp;lt; OraShutdown&lt;BR /&gt;alter system set log_archive_max_processes=10;&lt;BR /&gt;alter system archive log stop;&lt;BR /&gt;alter system set log_archive_max_processes=1;&lt;BR /&gt;alter system archive log start;&lt;BR /&gt;shutdown immediate&lt;BR /&gt;exit&lt;BR /&gt;OraShutdown&lt;BR /&gt;##################################################&lt;BR /&gt;&lt;BR /&gt;Our backup policy: We backup full offline database at 1 o'clock PM every Sunday, It last 3 years and all offbackup offline sessions is very good.&lt;BR /&gt;But three weeks ago untill now, Backup offline can not shutdown Database.&lt;BR /&gt;The alert file as follow:&lt;BR /&gt;----------------------------------------------------------------------------------------&lt;BR /&gt;ALTER SYSTEM SET log_archive_max_processes=10;&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;archiving is disabled&lt;BR /&gt;ARC2 started with pid=37&lt;BR /&gt;ARC2: Archival started&lt;BR /&gt;ARC3 started with pid=38&lt;BR /&gt;ARC3: Archival started&lt;BR /&gt;ARC4 started with pid=40&lt;BR /&gt;ARC4: Archival started&lt;BR /&gt;ARC5 started with pid=42&lt;BR /&gt;ARC5: Archival started&lt;BR /&gt;ARC6 started with pid=43&lt;BR /&gt;ARC6: Archival started&lt;BR /&gt;ARC7 started with pid=44&lt;BR /&gt;ARC7: Archival started&lt;BR /&gt;ARC8 started with pid=45&lt;BR /&gt;ARC8: Archival started&lt;BR /&gt;ARC9 started with pid=46&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;ARC0: STARTING ARCH PROCESSES COMPLETE&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;ARC9: Archival started&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC0: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC1: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC2: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC6: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC7: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC5: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC8: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC9: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC3: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC4: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ALTER SYSTEM SET log_archive_max_processes=1;&lt;BR /&gt;archiving is enabled&lt;BR /&gt;ARCH: STARTING ARCH PROCESSES&lt;BR /&gt;ARCH: STARTING ARCH PROCESSES COMPLETE&lt;BR /&gt;Sat Oct 1 01:09:00 2005&lt;BR /&gt;ARC0: Shutdown aborted (current state is 3)&lt;BR /&gt;Sat Oct 1 01:10:04 2005&lt;BR /&gt;Restarting dead background process EMN0&lt;BR /&gt;EMN0 started with pid=37&lt;BR /&gt;Sat Oct 1 01:10:08 2005&lt;BR /&gt;Shutting down instance (immediate)&lt;BR /&gt;License high water mark = 396&lt;BR /&gt;SHUTDOWN: waiting for active calls to complete.&lt;BR /&gt;------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;It hang 4 hours, can not shutdown database. I had shutdown abort&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please, Help me solve this problem.&lt;BR /&gt;&lt;BR /&gt;Thanhks!&lt;BR /&gt;</description>
    <pubDate>Sat, 01 Oct 2005 02:39:25 GMT</pubDate>
    <dc:creator>vienpb</dc:creator>
    <dc:date>2005-10-01T02:39:25Z</dc:date>
    <item>
      <title>Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639445#M808764</link>
      <description>Hi,&lt;BR /&gt;Now I am using:&lt;BR /&gt;- Oracle version: 8.1.7.4 &lt;BR /&gt;- OS: HP-UX 11i&lt;BR /&gt;- Server: HP 9000/800&lt;BR /&gt;- Middle ware: BTuxedo 8.1&lt;BR /&gt;- Database size: 400GB&lt;BR /&gt;- Backing up by HP device and OmniBack Software.&lt;BR /&gt;- Execute Script to shutdown Database Pre-Backing up.&lt;BR /&gt;- contents of script:&lt;BR /&gt;###### Oracle Shutdown Script for Application ##################&lt;BR /&gt;lsnrctl stop&lt;BR /&gt;sqlplus internal/password &amp;lt;&amp;lt; OraShutdown&lt;BR /&gt;alter system set log_archive_max_processes=10;&lt;BR /&gt;alter system archive log stop;&lt;BR /&gt;alter system set log_archive_max_processes=1;&lt;BR /&gt;alter system archive log start;&lt;BR /&gt;shutdown immediate&lt;BR /&gt;exit&lt;BR /&gt;OraShutdown&lt;BR /&gt;##################################################&lt;BR /&gt;&lt;BR /&gt;Our backup policy: We backup full offline database at 1 o'clock PM every Sunday, It last 3 years and all offbackup offline sessions is very good.&lt;BR /&gt;But three weeks ago untill now, Backup offline can not shutdown Database.&lt;BR /&gt;The alert file as follow:&lt;BR /&gt;----------------------------------------------------------------------------------------&lt;BR /&gt;ALTER SYSTEM SET log_archive_max_processes=10;&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;archiving is disabled&lt;BR /&gt;ARC2 started with pid=37&lt;BR /&gt;ARC2: Archival started&lt;BR /&gt;ARC3 started with pid=38&lt;BR /&gt;ARC3: Archival started&lt;BR /&gt;ARC4 started with pid=40&lt;BR /&gt;ARC4: Archival started&lt;BR /&gt;ARC5 started with pid=42&lt;BR /&gt;ARC5: Archival started&lt;BR /&gt;ARC6 started with pid=43&lt;BR /&gt;ARC6: Archival started&lt;BR /&gt;ARC7 started with pid=44&lt;BR /&gt;ARC7: Archival started&lt;BR /&gt;ARC8 started with pid=45&lt;BR /&gt;ARC8: Archival started&lt;BR /&gt;ARC9 started with pid=46&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;ARC0: STARTING ARCH PROCESSES COMPLETE&lt;BR /&gt;Sat Oct 1 01:08:58 2005&lt;BR /&gt;ARC9: Archival started&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC0: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC1: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC2: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC6: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC7: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC5: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC8: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC9: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC3: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARCH shutting down&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ARC4: Archival stopped&lt;BR /&gt;Sat Oct 1 01:08:59 2005&lt;BR /&gt;ALTER SYSTEM SET log_archive_max_processes=1;&lt;BR /&gt;archiving is enabled&lt;BR /&gt;ARCH: STARTING ARCH PROCESSES&lt;BR /&gt;ARCH: STARTING ARCH PROCESSES COMPLETE&lt;BR /&gt;Sat Oct 1 01:09:00 2005&lt;BR /&gt;ARC0: Shutdown aborted (current state is 3)&lt;BR /&gt;Sat Oct 1 01:10:04 2005&lt;BR /&gt;Restarting dead background process EMN0&lt;BR /&gt;EMN0 started with pid=37&lt;BR /&gt;Sat Oct 1 01:10:08 2005&lt;BR /&gt;Shutting down instance (immediate)&lt;BR /&gt;License high water mark = 396&lt;BR /&gt;SHUTDOWN: waiting for active calls to complete.&lt;BR /&gt;------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;It hang 4 hours, can not shutdown database. I had shutdown abort&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please, Help me solve this problem.&lt;BR /&gt;&lt;BR /&gt;Thanhks!&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Oct 2005 02:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639445#M808764</guid>
      <dc:creator>vienpb</dc:creator>
      <dc:date>2005-10-01T02:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639446#M808765</link>
      <description>hi, have a look a the disk space for archiving may be there is no.i would reconfigure the archiving. and what is this&lt;BR /&gt;Restarting dead background process EMN0&lt;BR /&gt;EMN0 started with pid=37</description>
      <pubDate>Sat, 01 Oct 2005 06:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639446#M808765</guid>
      <dc:creator>Ingo Duschl</dc:creator>
      <dc:date>2005-10-01T06:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639447#M808766</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ThereÂ´s a document in Metalink that talks about shutdown immediate hanging.&lt;BR /&gt;IÂ´m sending you attached.&lt;BR /&gt;Hope this help you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Oct 2005 20:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639447#M808766</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2005-10-01T20:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639448#M808767</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can see in the alert log file that there are some processes still runing&lt;BR /&gt;SHUTDOWN: waiting for active calls to complete&lt;BR /&gt;This ussually happend when you have lengthy jobs running at the time of the shutdown. The database will wait for them to complete.&lt;BR /&gt;Please verify if you indeed have jobs running.&lt;BR /&gt;If this is the case, to minimize the chances of happening, you may want to put the database in restricted mode or set job_queue_processes=0 ahead of time before shutting down the database.&lt;BR /&gt;&lt;BR /&gt;Ariel</description>
      <pubDate>Sat, 01 Oct 2005 21:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639448#M808767</guid>
      <dc:creator>Ariel Cary</dc:creator>
      <dc:date>2005-10-01T21:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639449#M808768</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i would seriously look into the RMAN option for  backup and never shutdown your database just for backup purposes.&lt;BR /&gt;&lt;BR /&gt;Anyway, you can troubleshoot further by doing the following:&lt;BR /&gt;1. Before doing the shutdown immediate, check the sessions currently active:&lt;BR /&gt;&lt;BR /&gt; select&lt;BR /&gt;        substr(a.spid,1,9) pid,&lt;BR /&gt;        substr(b.sid,1,5) sid,&lt;BR /&gt;        substr(b.serial#,1,5) ser#,&lt;BR /&gt;        substr(b.machine,1,6) box,&lt;BR /&gt;        substr(b.username,1,10) username,&lt;BR /&gt;        substr(b.osuser,1,8) os_user,       decode(substr(b.program,1,15),null,substr(b.client_info,1,15),substr(b.program,1,15)) program,  substr(to_char(logon_time,'dd/mm/yy hh24:mi'),1,15) LogonTime&lt;BR /&gt; from v$session b, v$process a&lt;BR /&gt;  where&lt;BR /&gt; b.paddr = a.addr&lt;BR /&gt; and type='USER'&lt;BR /&gt; order by b.username, logonTime;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Before you attempt to do the shutdown abort, check at the OS level, the top Oracle processes that are running. Then, check the corresponding Oracle process at the database level:&lt;BR /&gt;&lt;BR /&gt;select b.sid SID,b.serial# "Serial#", c.spid "srvPID", b.osuser, b.username,  b.status, b.client_info from v$session b, v$process c where b.paddr = c.addr  and c.sPID = '&amp;amp;OSPID'&lt;BR /&gt;&lt;BR /&gt;try these and let us know.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 03 Oct 2005 00:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639449#M808768</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-03T00:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639450#M808769</link>
      <description>Has anything in your workload changed recently?  Possibly a long running batch job that does not complete before the backup starts?  When you do a shutdown immediate it must cancel and rollback all active transactions - if there was a long running transaction active in the db when you issued the shutdown it must roll the entire transaction back. &lt;BR /&gt;&lt;BR /&gt;Checking the number of active connections from the OS as Yogeeraj suggested will help you determine if there is activity in the db.  &lt;BR /&gt;&lt;BR /&gt;If you do not have any active transactions, check if you have any connections to the database&lt;BR /&gt;ps -ef | grep LOCAL=NO &lt;BR /&gt;These OS processes should begin to complete as soon as you issue the shutdown immediate command.  If there are some that do not complete, and they are not using resources you can kill them from the OS.  I have had to do this on occassion to get a database to come down clean.&lt;BR /&gt;&lt;BR /&gt;If you have to abort the db you need to do a startup and another shutdown cleanly before completing the backup or your backup may not be valid.&lt;BR /&gt;&lt;BR /&gt;Patti</description>
      <pubDate>Mon, 03 Oct 2005 13:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639450#M808769</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-10-03T13:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Hang while shuting down immedaite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639451#M808770</link>
      <description>There is a known bug in 8.1.7.4 in which the TEMP space gets cut up really badly, leaving SMON running around like crazy at shutdown trying to clean up TEMP segments - and never seeming to finish.  We experienced this problem when new programs made extensive use of temp tables for long running queries.  The resolution was to do a shutdown abort in our scripts, followed immediately by a startup, and a normal shutdown prior to backups.  This problem went away when we upgraded to 9i, and I recommend you do the same.</description>
      <pubDate>Tue, 04 Oct 2005 09:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-hang-while-shuting-down-immedaite/m-p/3639451#M808770</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-10-04T09:13:45Z</dc:date>
    </item>
  </channel>
</rss>

