Listener restart problem in 11g RAC

11g RAC environment, I manually shutdown the database with "shutdown immediate" and stop the listener with "lsnrctl stop". Later I manually startup only the database but the listener is also started automatically at almost the same. Why would this happen ? I just don't want the listener to startup automatically at that time.
What can i do to prevent the listener from auto-starting when i startup the database manually.

Are you sure about stopping listener correctly ?
Use below command when stopping listener.
Usage: srvctl stop listener [-l <lsnr_name>] [-n <node_name>] [-f]

Similar Messages

  • Problems with 11G RAC

    Hi,
    we have a production database now in 11g (11.1.0.7) with RAC (2 nodes). We have migrated from 10g single instance. The migration was clear, with new hardware and with data pumps. All works better than before, except some queries, one of these queries only have about 200 rows, and in the 10g system expended about 4 seconds. Now expends 3 or 4 or 8 seconds, but sometimes expends 34 seconds or 1 minute, is really extrange. The example query is executed over tables that are frecuently updated.
    When expend 4 seconds:
    SQL Text
    select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
    AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
    ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
    captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
    ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
    CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
    null order by GESDREC
    Global Information
    Status : DONE (ALL ROWS)
    Instance ID : 2
    Session ID : 439
    SQL ID : 3ahrv695tm5yd
    SQL Execution ID : 33566537
    Plan Hash Value : 599533631
    Execution Started : 05/22/2009 10:50:09
    First Refresh Time : 05/22/2009 10:50:13
    Last Refresh Time : 05/22/2009 10:50:13
    | Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
    | Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
    | 3.89 | 0.47 | 3.15 | 0.00 | 0.21 | 0.05 | 5 | 85732 | 670 |
    SQL Plan Monitoring Details
    ==========================================================================================================================================================================
    | Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
    | | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
    ==========================================================================================================================================================================
    | 0 | SELECT STATEMENT | | | 21968 | 1 | +4 | 43 | 43 | | | |
    | 1 | SORT AGGREGATE | | 1 | | 1 | +4 | 43 | 43 | | | |
    | 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 1 | +4 | 43 | 20 | | | |
    | 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 1 | +4 | 1 | 1 | | | |
    | 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 1 | +4 | 1 | 1 | | | |
    | 5 | SORT AGGREGATE | | 1 | | 1 | +4 | 7 | 7 | | | |
    | 6 | HASH JOIN | | 23 | 9 | 1 | +4 | 7 | 141 | 961K | | |
    | 7 | HASH JOIN | | 23 | 6 | 1 | +4 | 7 | 142 | 1587K | | |
    | 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +4 | 7 | 174 | | | |
    | 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +4 | 7 | 1505 | | | |
    | 10 | VIEW | index$_join$_003 | 5 | 3 | 1 | +4 | 7 | 35 | | | |
    | 11 | HASH JOIN | | | | 1 | +4 | 7 | 35 | 519K | | |
    | 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
    | 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
    | 14 | SORT GROUP BY | | 1 | | 1 | +4 | 7 | 7 | 2048 | | |
    | 15 | HASH JOIN | | 23 | 9 | 1 | +4 | 7 | 141 | 939K | | |
    | 16 | HASH JOIN | | 23 | 6 | 1 | +4 | 7 | 142 | 1587K | | |
    | 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +4 | 7 | 174 | | | |
    | 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +4 | 7 | 1505 | | | |
    | 19 | VIEW | index$_join$_006 | 5 | 3 | 1 | +4 | 7 | 35 | | | |
    | 20 | HASH JOIN | | | | 1 | +4 | 7 | 35 | 520K | | |
    | 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
    | 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
    | 23 | SORT ORDER BY | | 4281 | 21968 | 1 | +4 | 1 | 43 | 40960 | | |
    | 24 | HASH JOIN | | 4281 | 21690 | 1 | +4 | 1 | 43 | 1436K | | |
    | 25 | NESTED LOOPS | | 4165 | 1673 | 1 | +4 | 1 | 2964 | | | |
    | 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +4 | 1 | 1 | | | |
    | 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +4 | 1 | 1 | | | |
    | 28 | TABLE ACCESS FULL | CAPSIN | 4165 | 1672 | 1 | +4 | 1 | 2964 | | | |
    | 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 3 | +2 | 1 | 1523 | | 100.00 | Cpu (1) |
    | | | | | | | | | | | | db file sequential read (1) |
    | | | | | | | | | | | | read by other session (1) |
    ==========================================================================================================================================================================
    In the same node when expend 30 s.
    SQL Text
    select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
    AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
    ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
    captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
    ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
    CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
    null order by GESDREC
    Global Information
    Status : DONE (ALL ROWS)
    Instance ID : 2
    Session ID : 465
    SQL ID : 3ahrv695tm5yd
    SQL Execution ID : 33566581
    Plan Hash Value : 599533631
    Execution Started : 05/22/2009 11:17:44
    First Refresh Time : 05/22/2009 11:17:50
    Last Refresh Time : 05/22/2009 11:18:17
    | Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
    | Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
    | 32 | 0.45 | 30 | 0.00 | 1.40 | 0.39 | 3 | 85565 | 4023 |
    SQL Plan Monitoring Details
    ===========================================================================================================================================================================
    | Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
    | | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
    ===========================================================================================================================================================================
    | 0 | SELECT STATEMENT | | | 21968 | 9 | +25 | 26 | 26 | | | |
    | 1 | SORT AGGREGATE | | 1 | | 9 | +25 | 26 | 26 | | | |
    | 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 1 | +33 | 26 | 1 | | | |
    | 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 9 | +25 | 4 | 4 | | | |
    | 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 9 | +25 | 4 | 4 | | | |
    | 5 | SORT AGGREGATE | | 1 | | 1 | +25 | 2 | 2 | | | |
    | 6 | HASH JOIN | | 23 | 9 | 1 | +25 | 2 | 17 | 726K | | |
    | 7 | HASH JOIN | | 23 | 6 | 1 | +25 | 2 | 17 | 1585K | | |
    | 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +25 | 2 | 21 | | | |
    | 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +25 | 2 | 430 | | | |
    | 10 | VIEW | index$_join$_003 | 5 | 3 | 1 | +25 | 2 | 10 | | | |
    | 11 | HASH JOIN | | | | 1 | +25 | 2 | 10 | 518K | | |
    | 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
    | 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
    | 14 | SORT GROUP BY | | 1 | | 1 | +25 | 2 | 2 | 2048 | | |
    | 15 | HASH JOIN | | 23 | 9 | 1 | +25 | 2 | 17 | 716K | | |
    | 16 | HASH JOIN | | 23 | 6 | 1 | +25 | 2 | 17 | 1587K | | |
    | 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +25 | 2 | 21 | | | |
    | 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +25 | 2 | 430 | | | |
    | 19 | VIEW | index$_join$_006 | 5 | 3 | 1 | +25 | 2 | 10 | | | |
    | 20 | HASH JOIN | | | | 1 | +25 | 2 | 10 | 520K | | |
    | 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
    | 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
    | 23 | SORT ORDER BY | | 4281 | 21968 | 9 | +25 | 1 | 26 | 24576 | | |
    | 24 | HASH JOIN | | 4281 | 21690 | 28 | +6 | 1 | 26 | 1280K | | |
    | 25 | NESTED LOOPS | | 4165 | 1673 | 1 | +6 | 1 | 689 | | | |
    | 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +6 | 1 | 1 | | | |
    | 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +6 | 1 | 1 | | | |
    | 28 | TABLE ACCESS FULL | CAPSIN | 4165 | 1672 | 1 | +6 | 1 | 689 | | | |
    | 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 32 | +2 | 1 | 1476 | | 100.00 | gc buffer busy acquire (3) |
    | | | | | | | | | | | | Cpu (2) |
    | | | | | | | | | | | | db file scattered read (4) |
    | | | | | | | | | | | | db file sequential read (10) |
    | | | | | | | | | | | | read by other session (13) |
    ===========================================================================================================================================================================
    And when expends 1,4 minutes in the other node
    SQL Text
    select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
    AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
    ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
    captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
    ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
    CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
    null order by GESDREC
    Global Information
    Status : DONE (ALL ROWS)
    Instance ID : 1
    Session ID : 447
    SQL ID : 3ahrv695tm5yd
    SQL Execution ID : 16788142
    Plan Hash Value : 599533631
    Execution Started : 05/22/2009 11:45:50
    First Refresh Time : 05/22/2009 11:45:54
    Last Refresh Time : 05/22/2009 11:47:17
    | Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
    | Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
    | 87 | 0.92 | 82 | 0.00 | 3.24 | 0.82 | 8 | 85810 | 14921 |
    SQL Plan Monitoring Details
    ===========================================================================================================================================================================
    | Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
    | | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
    ===========================================================================================================================================================================
    | 0 | SELECT STATEMENT | | | 22346 | 42 | +46 | 72 | 72 | | | |
    | 1 | SORT AGGREGATE | | 1 | | 42 | +46 | 72 | 72 | | | |
    | 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 35 | +46 | 72 | 40 | | | |
    | 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 42 | +46 | 24 | 24 | | | |
    | 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 42 | +46 | 24 | 24 | | | |
    | 5 | SORT AGGREGATE | | 1 | | 37 | +46 | 5 | 5 | | | |
    | 6 | HASH JOIN | | 23 | 9 | 37 | +46 | 5 | 142 | 961K | | |
    | 7 | HASH JOIN | | 23 | 6 | 37 | +46 | 5 | 143 | 1586K | | |
    | 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 37 | +46 | 5 | 193 | | | |
    | 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 37 | +46 | 5 | 1075 | | | |
    | 10 | VIEW | index$_join$_003 | 5 | 3 | 37 | +46 | 5 | 25 | | | |
    | 11 | HASH JOIN | | | | 37 | +46 | 5 | 25 | 519K | | |
    | 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
    | 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
    | 14 | SORT GROUP BY | | 1 | | 37 | +46 | 5 | 5 | 2048 | | |
    | 15 | HASH JOIN | | 23 | 9 | 37 | +46 | 5 | 142 | 951K | | |
    | 16 | HASH JOIN | | 23 | 6 | 37 | +46 | 5 | 143 | 1587K | | |
    | 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 37 | +46 | 5 | 193 | | | |
    | 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 37 | +46 | 5 | 1075 | | | |
    | 19 | VIEW | index$_join$_006 | 5 | 3 | 37 | +46 | 5 | 25 | | | |
    | 20 | HASH JOIN | | | | 37 | +46 | 5 | 25 | 520K | | |
    | 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
    | 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
    | 23 | SORT ORDER BY | | 10166 | 22346 | 42 | +46 | 1 | 72 | 55296 | | |
    | 24 | HASH JOIN | | 10166 | 21690 | 84 | +4 | 1 | 72 | 1550K | | |
    | 25 | NESTED LOOPS | | 22970 | 1674 | 1 | +4 | 1 | 6745 | | | |
    | 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +4 | 1 | 1 | | | |
    | 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +4 | 1 | 1 | | | |
    | 28 | TABLE ACCESS FULL | CAPSIN | 22970 | 1673 | 1 | +4 | 1 | 6745 | | | |
    | 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 86 | +2 | 1 | 1379 | | 100.00 | gc buffer busy acquire (5) |
    | | | | | | | | | | | | Cpu (3) |
    | | | | | | | | | | | | db file scattered read (22) |
    | | | | | | | | | | | | db file sequential read (14) |
    | | | | | | | | | | | | read by other session (41) |
    ===========================================================================================================================================================================
    Anyone can help me?,
    Regards
    Luis

    Satish Kandi wrote:
    What are the instance level parameters for both nodes? Is there any difference in them?The instances have the same parameters except minimal diffrences in the SGA and PGA. I guess it's due to the different size of phisical memory in the servers.
    >
    Two queries should a difference in number of rows that are output. Is this correct?Yes, the tables of this query have a lot of inserts/updates in a minute, then is correct a bit different result in different executions of the same query. In any case, the number of rows seems not to be important in response time.
    Luis

  • Anybody using 11g RAC Database with OIM 9.1.0.2?

    Hi,
    We have poor performance problems with 11g RAC Database with OIM 9.1.0.2.
    It looks like the issue could be because of RAC Ccluster.
    Anybody using 11g RAC Database with OIM 9.1.0.2?
    If so, What is the JDBC Driver r u using? Also what App Server (Weblogic or OAS etc) ?
    Appreciate your input.
    Regards
    Vijay Chinnasamy

    We are using weblogic 10.3. And I am sorry to tell you that we are yet to move to production.
    We are planning to have Database in RAC, so i just thought of taking inputs from you.
    can you tell me under what operations you face the poor performance issue?
    For us the max no. of users in production is around 6k. So I am wondering how this RAC availability will affect the performance.
    Thanks for sharing your inputs.

  • How to create listener in 11g RAC on windows 2008 server

    Dear All,
    i worked on win 2003 and linux 4, 5 too. i have installed oracle RAC on both windows and linux.
    now i have installed oracle RAC11gR1 on windows 2008 server.than installed oracle software . now i want to create listener from db_home which i am facing problem.
    i m starting netca from db_home. following the insturction when i finishing it , the proces get started but in the middle is showing the listener on node1 and node2 can't be created.
    please guid me how i willl be able to creat it.
    2nd poing how to create asm instance on RAC11gR1. is it need to install saparate home like 10g for that or i can create from 11g software home.
    thanks,
    sher khan

    thanks for the update ,
    dear oracle 11g rac recomends to create ocr and voting disk on asm.
    i followed the documents they are saying you have to install grid control infrastructure and than need to create asmcfs.(automatic storage management cluster file system.).
    how to create asmcfs to avoid the gridcontrol, if its must is it need to install on one node or both nodes.
    can you plz guide me how to do this .
    thanks,

  • Problem removing Listener Service in Clusterware 11g

    It appears that I already have a listener service as shown below, and I am having problem removing this service so that I can create another. I know that I can just add a new listener service for each node, though if anyone would share some insight on how I can remove this listener service ofr Oracle 11g Clusterware with two node cluster, I would appreciate your insight. Thanks
    rac1.respecti.com>./crs_resources.sh
    HA Resource Target State
    ora.rac1.gsd ONLINE ONLINE on rac1
    ora.rac1.ons ONLINE ONLINE on rac1
    ora.rac1.rac1.lsnr ONLINE ONLINE on rac1
    ora.rac1.vip ONLINE ONLINE on rac1
    ora.rac2.gsd ONLINE ONLINE on rac2
    ora.rac2.ons ONLINE ONLINE on rac2
    ora.rac2.rac2.lsnr ONLINE ONLINE on rac2
    ora.rac2.vip ONLINE ONLINE on rac2
    rac1.respecti.com>srvctl remove listener -n rac1 -l rac1
    PRKO-2203 : Listener is running on node: rac1
    rac1.respecti.com>srvctl stop listener -n rac1
    CRS-0210: Could not find resource 'ora.rac1.LISTENER_RAC1.lsnr'.
    rac1.respecti.com>

    Hi, Is there any tnslsnr process running on the node. To understand the problem better, enable the debug trace for the .lsnr resource. You can enable trace by executing the following command as root.
    crsctl debug log res "ora.rac1.LISTENER_RAC1.lsnr:5"
    crsctl debug log crs "CRSRTI:1,CRSCOMM:2,OCRSRV:4"
    Try to stop the listener.
    Examine the log files under CRS_HOME/log/$HOST/crsd/* and CRS_HOME/log/$HOST/racg/*
    Thanks & Regards
    -Harish Kalra

  • Tnsentries in 11g RAC

    Dear all,
    We have 11g RAC installed on Solaris 5.10
    Our failover TNS Entries are like this
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.94)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HYDES)
    TEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HYDES)
    whem am giving tnsping test and tnsping test1 from any client , it works fine..connection succeded..
    but when am trying to connect using sqlplus user@test
    am getting the error :
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    whereas I can able to connect sqlplus user@test1
    Any ideas ?
    Kai
    LOCAL_LISTENER IS ALREADY set to the listener name on both the nodes..
    I can able to connect from the server , but from any client it is giving this problem
    Thanks
    Kai

    LOCAL_LISTENER is not supposed to be the listener name - it should be a tnsnames entry from the server's tnsnames.ora (in $ORACLE_HOME/network/admin). Or it can be an embedded connect string such as "(ADDRESS=(PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))".
    Check that LOCAL_LISTENER is configured correctly with "lsnrctl services <LISTENER_NAME>" on your server - you should see the instance listed as accepting connections. If you don't see the instance then maybe you have an invalid TNSNAMES alias in LOCAL_LISTENER.

  • Oracle 11g RAC installation on windows 2008 64 bit

    Hello Everyone,
    can i get some details regarding Oracle 11g RAC installation on windows 2008,
    minimum Hardware Requirement
    Will windows support ASM
    Can i get a documentation regarding the RAC installation on windows. we were planning to have 11.5 on windows 2008.
    please send me some docs regarding os requirements, installation and ASM details.
    Thank you

    Hi Everyone,
    I installed Oracle RAC 11g on Windows 2008 64 bit, The installation was successfull crs_state -t executed successfully.
    Bt the machine got crashed ,when executed a select query with 100 sessions( For performance evaluation using TG). A blue screen is appeared on two nodes. So i am not able to evaluate the performance.
    Can you please tell any suggesstions to solve this issue? Is our hardware is not sufficient? Or any software settings has to be done?. I tried most of hte technique ,bt the problem still exists.
    The following machine configuration is used for Oracle RAC setup
    Intel Core 2 Duo 2.66 GHz,
    Ram :4GB.
    OS : windows 2008 Server 64 Bit
    Oracle RAC , Clusterware 11g R2 64 Bit.

  • ORA-04068 on 11g RAC does not resolve automatically !

    Did you ever get the combination of these three ORAs?
    ORA-04068: Existing state of package has been discarded
    ORA-04065: Not executed, altered or dropped stored procedure <PROCEDURE_NAME>
    ORA-06508: PL/SQL: Could not find program unit being called: <PROCEDURE_NAME>
    *1st I checked for invalid objects in the database, there are none!*
    *2nd Then I checked the metalink note 1058873.1 that describes a similar error:*
    In hecheck output, we see that the objects affected are listed as "Dependency$ p_timestamp > > mismatch for VALID objects".
    Also, the following script can be used for finding the mismatches:
    set pagesize 10000
    column d_name format a20
    column p_name format a20
    select do.obj# d_obj,do.name d_name, do.type# d_type,
    po.obj# p_obj,po.name p_name,
    to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') "P_Timestamp",
    to_char(po.stime ,'DD-MON-YYYY HH24:MI:SS') "STIME",
    decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') X
    from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    where P_OBJ#=po.obj#(+)
    and D_OBJ#=do.obj#
    and do.status=1 /*dependent is valid*/
    and po.status=1 /*parent is valid*/
    and po.stime!=p_timestamp /*parent timestamp not match*/
    order by 2,1;However, the query returned 0 rows.
    *3rd Then I read about similar errors on http://oraclequirks.blogspot.com/2007/03/ora-04061-existing-state-of-package-has.html*
    The article describes the state of package being invalidated when one user calls a procedure in a package that has a global variable and changes the value of the global variable and then when a developer compiles that package, another user will get the error ORA-04061: existing state of package has been invalidated the first time he calls the procedure, but the second time it will work without returning errors.
    However, my error is persistant and Oracle can't resolve it automatically.
    Here's how the error occurs:
    - I have a PACKAGE that has a global variable and procedures
    - User1 connects to Instance1 and calls a procedure inside the PACKAGE. The procedure sets the value of the global variable by calling a function outside the package.
    For example: L_GLOBAL_VAR := OUTSIDE_FUNCTION(30);
    - The developer compiles the PACKAGE
    - User1 can continue working normaly - he receives the 1st error by Oracle informing him that the value of the global variable has changed (normal behaviour), but the second time he calls the procedure inside the PACKAGE, no errors are reported.
    - User2 connects to the second instance of the RAC (Instance2)
    - When User2 tries to call the same procedure, he constantly gets ORA errors (ORA-04068, ORA-04065, ORA-06508), like this:
    ORA-04068: Existing state of package has been discarded
    ORA-04065: Not executed, altered or dropped stored procedure "OUTSIDE_FUNCTION"
    ORA-06508: PL/SQL: Could not find program unit being called: "OUTSIDE_FUNCTION"
    ORA-06512: at "PACKAGE2", line 1920
    ORA-06512: at "PACKAGE2", line 265The PACKAGE2 has a procedure which is being called at line 265, and that procedure calls the function OUTSIDE_FUNCTION at line 1920.
    Symptoms:
    - User2 cannot correct the error by repeatingly calling the PACKAGE procedure.
    - The developer cannot resolve the issue by recompiling the PACKAGE.
    - The developer can only temporarily resolve the issue by recompiling the OUTSIDE_FUNCTION. After doing it, the User2 does not receive errors. However, if the User2 reconnects, the error returns.
    - The solution is to recompile the PACKAGE2. After doing it, the User2 does not receive errors.
    However, I'm totally confused by this Oracle behaviour.
    I told the developers that they shouldn't compile packages while there are users working on the database (a possible solution), but as a developer I know that is very very hard on a 24/7 production database, especially if there are some urgent bugs to resolve etc.
    We were working on a single instance Oracle 9i database before upgrading to Oracle 11g RAC (11.2.0.1.0), and we never had similar problems.
    I would be very grateful for any suggestions regarding this issue.
    Thanks,
    Daniel

    Hi P. Forstmann,
    Thanks for your answer. I've read about the edition based redefinition but if I understand it correctly, that's not exactly what I'm looking for.
    For example, if a connected user reports a bug that prevents her from doing her work, the developers should resolve that bug ASAP and recompile the objects in question, which should affect the connected users.

  • 11g RAC on VMware

    Hi,
    I am trying to install 2 node, 11g RAC on VMware, the installation went fine on node 1, but node 2 had issues with ASM and DB... The problem is the ASM and DB home installed successfully, but the ASM2 and DB (RAC2) instance are not up on node 2. Actually the ASM1 and RAC2 are not registered in CRS. I will upload the exact error in a short time. While installing I got the error for node-2, that it is unable to find the ASM disks, but when I executed this " /etc/init.d/oracleasm listdisks " on node 2, it shows VOL1,VOL2.
    Any help would be much appreciated.
    Details
    OS - Oracle Enterprise Linux
    Version - 11g
    Two node rac.
    Regards,
    Satya.

    Hi All,
    I have been through all the links you people gave me, those were really helpfull, thanks. The problem is resolved now. Actually the issue was, ASM2 instance could not detect the disks for some reason, after some research in metalink I found a note:457369.1 and as per the note I included *" asm_diskstring = /dev/oracleasm/disks/* "* perameter in the init.ora file of ASM2. Then it detected the diskgroup and everything is fine now. Actually this issue is a bug in 10g, unfortunately it is not fixed in 11g as well.
    Thank you all for your help.
    Regards,
    Satya.

  • SqlDev3.0 prod - Conn randomly hangs during opening, mainly with 11g RAC

    Hi, i have been having this issue since i moved to 3.0 PROD version from EA version.
    Now and then, same connection hangs during opening of connection, mainly with 11gR2 RAC databases. Sometimes it works with no changes. I don't see this problem with 10g RAC or non-RAC connection. Connection does not even make it to listener log file, so it looks like java thread gets into some hitch locally.
    I wonder if somebody has found solution for this.
    btw, with EA, i did not have problem with same connection. so far, i have been killing the sqldeveloper thru' task manager and then open it again (sometimes couple times, before i get thru').
    Thanks

    i can not use auto update from tool itself as we dont have admin rights on laptops(update feature is not able to contact download center of Oracle). so we use standalone releases of SQLDeveloper. How can i download this patch and apply it? do you have link to the patch? I did some search, it was not giving me anything useful.
    I am using Version 3.0.04, Build MAIN-04.34 (From Help->About).

  • Oracle 11g RAC hp-unix 11.31安装

    在linux安装11g RAC的时候需要在 /etc/security/limits.conf 对oracle,grid进行设置。
    HP-UNIX有没有类似的地方进行设置?

    Away from these things – anythings I need to configure or any services that I need to stop – like listener etc.It depends on setting you want.
    You may use two listeners separately or you can use one listener (9i) for both versions.
    If you decide to use two listeners (better option) then they must be listening on different ports (of course) and you don't need to stop or reconfigure anything on 8i.
    If you want use one listener for both instances (8i,9i) then you need to configure listener.ora for both instances and you should use 9i listener. But this option is not good as the first one.
    Just little hint. Create in user's home new enviroment file (for example .oracle9) with completely new enviroment for 9i. Then for work with 9i simply reset the enviroment by execution of ". .oracle9".
    Basicaly you don't need to stop anything during installation (but for sure you could to prevent some mistake during installtion) but installation could affect the server's performance.

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • Experiences with Oracle 10g/11g RAC on VMWare Fusion for Macbook and OEL 5

    Folks,
    I recently purchased a new Macbook Pro laptop computer to use for demos and testing with Oracle RAC. I am using VMWare Fusion for Mac OS X to setup new VM machines with Oracle 11g.
    Thus far, I can setup single instance Oracle 11g database fine with OEL 5 (32 bit OS) as the guest OS. The problem that I keep running into due to the limitation with VMWare Fusion product is that I am not able to edit the VMWare network settings to allow multiple VM machines to communicate with each other. The second main issue that I currently face is that VMWare Fusion does not allow you to setup shared disks which are a requirement to install and configure an Oracle RAC environment. I came to the realization that after searching forums online that
    one must setup a third VM machine to act as an NFS or iSCSI filer system to present to the other VM hosts for the shared storage requirement for RAC. Has anyone been able to do all
    of this successfully with VMWare Fusion on a Macbook ? If so, I would definitely be interested in finding out how you did this. Specifically the following:
    1. Network configuration for each VMWare Fusion guest OS machine
    2. Shared storage ie) NFS or OpenFiler VM machine
    Regards,
    Ben

    Hi,
    I'm facing the same issue.. If your issue is fixed..could you please let me know?
    I'm trying to configure 11g RAC with OPenfiler and got stuck here.
    Regards,
    Kumar

  • Can Oracle 11g RAC support 2 separate databases?

    1. Can Oracle 11g RAC support 2 separate databases given that it asks for SCAN ip for cluster with a single Listener port number?
    2. Will the Oracle 11.2 database connections work successfully if I setup a mandatory DNS server within the Oracle RAC servers?
    I'm leading a team for a 11g project and appreciate responses.
    Thanks
    Satish.

    No Real Application Cluster technology has ever supported more than one database.Quite untrue.
    I know that both you and Tom Kyte take the stand that a cluster should have only 1 instance per node.
    That doesn't mean that it is not possible to have more than one database in a cluster -- i.e more than one instance in a node.
    That doesn't mean that it must always be so. Installing a separate cluster and additional EE + RAC licences for a separate database can be quite expensive. Of course, your reply is "consolidate". That is another debate that has been going on for years.
    A discussion on multiple databases on RAC is also at
    http://www.freelists.org/post/oracle-l/multiple-databases-in-a-single-RAC-cluster
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 12, 2010 11:15 AM

  • Oracle 11g RAC on RHEL 4.0, error on 1 Node while running ./root.sh for CRS

    Hi,
    I am trying to install Oracle 11g RAC on RHEL 4.0 on Vmware and at the end of CRS installation when installer asks to run the two scripts (orainstRoot.sh and root.sh) on one node (on the node where runInstaller is started) throws following error
    [root@LRAC1 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: cannot execute binary file
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: Success
    Failed to upgrade Oracle Cluster Registry configuration
    [root@LRAC1 crs]#
    While on the second node the root.sh script does not give any errors, here the output
    [root@LRAC2 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs' is not owned by root. Changing owner to root
    The directory '/xhdd/u01' is not owned by root. Changing owner to root
    The directory '/xhdd' is not owned by root. Changing owner to root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: lrac1 lrac1-priv lrac1
    node 2: lrac2 lrac2-priv lrac2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    lrac2
    Cluster Synchronization Services is inactive on these nodes.
    lrac1
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.
    Any ideas to solve this issue.
    Thanks in advance,
    Sameer

    I tried reinstalling again and it worked on Vmware Server.Some oracle products are certified on Oracle VM , but not RAC at the moment.
    You can download Oracle VM from otn.oracle.com
    Check ML Note:464754.1 for details about Certified Software on Oracle VM.
    - Virag Sharma
    http://virag.sharma.googlepages.com/

Maybe you are looking for