{"id":112,"date":"2009-10-12T19:16:00","date_gmt":"2009-10-12T22:16:00","guid":{"rendered":"http:\/\/www.soudba.com.br\/?p=112"},"modified":"2009-10-12T19:16:00","modified_gmt":"2009-10-12T22:16:00","slug":"rac-ora-01102-cannot-mount-database-in-exclusive-mode","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=112","title":{"rendered":"RAC ORA-01102: cannot mount database in EXCLUSIVE mode"},"content":{"rendered":"<p>Por algumas vezes, quando adicionando mais grupos em um RAC aconteceu o erro:<\/p>\n<p> ORA-01102: cannot mount database in EXCLUSIVE mode<\/p>\n<p>Assim, consegui detectar que em alguns casos simplesmente efetuando o boot e em outros casos resolvendo somente colocando novamente em modo de CLUSTER atraves dos parametros abaixo:<br \/>cluster_database                     boolean<br \/>TRUE<br \/>cluster_database_instances           integer<br \/>2<\/p>\n<p>veja o erro abaixo:<\/p>\n<p>Connected to:<br \/>Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 &#8211; Production<br \/>With the Partitioning, Real Application Clusters, OLAP and Data Mining options<\/p>\n<p>SQL&gt; show parameter cluster<\/p>\n<p>NAME                                 TYPE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>VALUE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>cluster_database                     boolean<br \/>FALSE<br \/>cluster_database_instances           integer<br \/>1<br \/>cluster_interconnects                string<\/p>\n<p>SQL&gt; alter system set cluster_database=TRUE scope=spfile sid=&#8217;*&#8217;;<\/p>\n<p>System altered.<\/p>\n<p>SQL&gt; alter system set cluster_database_instances=2  scope=spfile sid=&#8217;*&#8217;;<\/p>\n<p>System altered.<\/p>\n<p>SQL&gt; shutdown immediate<\/p>\n<p>Database closed.<br \/>Database dismounted.<br \/>ORACLE instance shut down.<br \/>SQL&gt; SQL&gt; SQL&gt; <br \/>SQL&gt; <br \/>SQL&gt; startup<br \/>ORACLE instance started.<\/p>\n<p>Total System Global Area  583008256 bytes<br \/>Fixed Size                  1220676 bytes<br \/>Variable Size             201330620 bytes<br \/>Database Buffers          373293056 bytes<br \/>Redo Buffers                7163904 bytes<br \/>Database mounted.<br \/>Database opened.<br \/>SQL&gt; <\/p>\n<p>ora.eg7086.vip application    ONLINE    ONLINE    eg7086      <br \/>[oracle@eg7038 ~]$ crs_stat -t<br \/>Name           Type           Target    State     Host        <br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>ora&#8230;.B1.inst application    ONLINE    OFFLINE               <br \/>ora&#8230;.B2.inst application    ONLINE    ONLINE    eg7086      <br \/>ora.RDBB.db    application    ONLINE    ONLINE    eg7038      <br \/>ora&#8230;.SM1.asm application    ONLINE    ONLINE    eg7038      <br \/>ora&#8230;.38.lsnr application    ONLINE    ONLINE    eg7038      <br \/>ora.eg7038.gsd application    ONLINE    ONLINE    eg7038      <br \/>ora.eg7038.ons application    ONLINE    ONLINE    eg7038      <br \/>ora.eg7038.vip application    ONLINE    ONLINE    eg7038      <br \/>ora&#8230;.SM2.asm application    ONLINE    ONLINE    eg7086      <br \/>ora&#8230;.86.lsnr application    ONLINE    ONLINE    eg7086      <br \/>ora.eg7086.gsd application    ONLINE    ONLINE    eg7086      <br \/>ora.eg7086.ons application    ONLINE    ONLINE    eg7086      <br \/>ora.eg7086.vip application    ONLINE    ONLINE    eg7086      <br \/>[oracle@eg7038 ~]$ ps -ef |grep pmon<br \/>oracle   31627     1  0 20:39 ?        00:00:00 asm_pmon_+ASM1<br \/>oracle   10191     1  2 20:46 ?        00:00:00 ora_pmon_RDBB1<br \/>oracle   10484 27876  0 20:46 pts\/2    00:00:00 grep pmon<br \/>[oracle@eg7038 ~]$ sqlplus \/ as sysdba<\/p>\n<p>SQL*Plus: Release 10.2.0.1.0 &#8211; Production on Tue Oct 6 20:46:53 2009<\/p>\n<p>Copyright (c) 1982, 2005, Oracle.  All rights reserved.<\/p>\n<p>Connected to:<br \/>Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 &#8211; Production<br \/>With the Partitioning, Real Application Clusters, OLAP and Data Mining options<\/p>\n<p>SQL&gt; show parameter thread<\/p>\n<p>NAME                                 TYPE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>VALUE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>parallel_threads_per_cpu             integer<br \/>2<br \/>thread                               integer<br \/>1<br \/>SQL&gt; show parameter cluster<\/p>\n<p>NAME                                 TYPE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>VALUE<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>cluster_database                     boolean<br \/>FALSE<br \/>cluster_database_instances           integer<br \/>1<br \/>cluster_interconnects                string<\/p>\n<p>SQL&gt; alter system set cluster_database=TRUE scope=spfile sid=&#8217;*&#8217;; <\/p>\n<p>System altered.<\/p>\n<p>SQL&gt; alter database mount;<br \/>alter database mount<br \/>*<br \/>ERROR at line 1:<br \/>ORA-01102: cannot mount database in EXCLUSIVE mode<\/p>\n<p>SQL&gt; alter system set cluster_database_instances=2 scope=spfile;<\/p>\n<p>System altered.<\/p>\n<p>SQL&gt; alter database mount;<br \/>alter database mount<br \/>*<br \/>ERROR at line 1:<br \/>ORA-01102: cannot mount database in EXCLUSIVE mode<\/p>\n<p>SQL&gt; shutdown immediate;<br \/>ORA-01507: database not mounted<\/p>\n<p>ORACLE instance shut down.<br \/>SQL&gt; startup<br \/>ORA-29707: inconsistent value 2 for initialization parameter cluster_database_instances with other instances<br \/>SQL&gt; alter system set cluster_database_instances=2 scope=spfile sid=&#8217;*&#8217;;<br \/>alter system set cluster_database_instances=2 scope=spfile sid=&#8217;*&#8217;<br \/>*<br \/>ERROR at line 1:<br \/>ORA-01034: ORACLE not available<\/p>\n<p>SQL&gt; startup nomount;<br \/>ORA-29707: inconsistent value 2 for initialization parameter cluster_database_instances with other instances<br \/>SQL&gt; shutdown immediate;<br \/>ORA-01012: not logged on<br \/>SQL&gt; conn \/ as sysdba<br \/>Connected to an idle instance.<br \/>SQL&gt; startup<br \/>ORA-29707: inconsistent value 2 for initialization parameter cluster_database_instances with other instances<br \/>SQL&gt; conn \/ as sysdba<br \/>Connected to an idle instance.<br \/>SQL&gt; startup<br \/>ORACLE instance started.<\/p>\n<p>Total System Global Area  583008256 bytes<br \/>Fixed Size                  1220676 bytes<br \/>Variable Size             222302140 bytes<br \/>Database Buffers          352321536 bytes<br \/>Redo Buffers                7163904 bytes<br \/>Database mounted.<br \/>Database opened.<br \/>SQL&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Por algumas vezes, quando adicionando mais grupos em um RAC aconteceu o erro: ORA-01102: cannot mount database in EXCLUSIVE mode Assim, consegui detectar que em alguns casos simplesmente efetuando o boot e em outros casos resolvendo somente colocando novamente em &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=112\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185,186,233],"tags":[],"class_list":["post-112","post","type-post","status-publish","format-standard","hentry","category-ora-01102","category-ora-01102-cannot-mount-database-in-exclusive-mode","category-rac-ora-01102-cannot-mount-database-in-exclusive-mode"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}