Srvctl issue

Oracle 11gR1 RHEL 4 64-bit
Hi All,
I am having a strange problem here. There seems to be a disconnect between the database's status and what srvctl shows. First, let me give you a quick background on the problem. Initially, I had upgraded from 10g to 11g. However, I was having some Java issues (wrong version was on one node, so Oracle Support said to re-install Oracle Clusterware) so I had to re-install Oracle Clusterware after removing it. So I uninstalled CRS a.k.a Oracle Clusterware completely. So I lost both my 10g CRS install as well as the 11g upgraded version. Anyhow, I reinstall CRS 11g and the resources come up (ONS,VIP,GSD) but no other ones show up like ASM, Listener or the database instances eventhough they all existed i.e. ASM instance and database instance. So I started manually creating the services using srvctl. I was able to create them all (listener, ASM and database instances). However, there seems to be a disconnect with srvctl and the database. That is, if the database instances status in CRS show offline, then I can connect to the database. See below:
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst OFFLINE OFFLINE
ora.VMRACDEV.VMRACDEV2.inst OFFLINE OFFLINE
ora.VMRACDEV.db OFFLINE OFFLINE
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jul 17 10:18:50 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
However, when I shutdown the database from SQLPLUS and then start the instances using srvctl and then try to re-start the database through SQLPLUS, I get the following error:
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
$ srvctl start database -d VMRACDEV
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jul 17 10:32:33 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
I guess what I am trying to understand is, obviously, why this is happenning, but also the relationship of SRVCTL and the database (using SQLPLUS) in terms of starting/stopping the database instances. To me it seems like there is a loss of connectivity/relationship between the srvctl resources and the actual database. Maybe it happened when I had to create all the services manually? I don't know. What could be the cause of this and a possible solution?
Could anyone shed any light on this? I would appreciate any help.
Thank you.

It may be some OCR corruption, You can check the actual defination of resource stored in OCR using 'ocrdump' command. There is no straigh forward answer for your problem.
Review the OCR dump first and see if there is discrepencies related to the cluster resource type 'inst'. Looks like some mismatch in cluster action sccript if cluster is offline it should stop the service (in this case instance) automatically if configured properly.
You can also enable the degugging for that resource using
crsctl debug log res '<resourcename>:5'
This will produce detailed information about that resource under $CH/log/$HOSTNAME/racg directory.
Thanks & Regards

Similar Messages

  • Srvctl and sqlplus issue

    Folks
    I am having very weird issue. Need your help/opinion on this.
    I have 2 node cluster, Solaris 10, 10.2.0.3 with CRS bundle. Installation went fine. No issue at all.
    Now on one of the node (Node2), I am having problem.
    Issue is:
    If I reboot machine, everything comes up fine. But I can't do "sqlplus / as sysdba" to ASM as well as Database instance.
    It says connected to idle instance. ps -ef |grep smon shows that both instances are up and running (ASM and Database). Even crs_stat shows, everything is up. Even "shutdown abort" doesn't work.
    Now, When I shutdown instance using srvctl. and then start it up using sqlplus , it works. I am able to so sqlplus. BUT crs_stat shows instance DOWN. Also, if I try to stop instance using srvctl, it DOESNOT work.
    So bottom line is , I can use either srvctl OR sqlplus in order to manage instances on that node.
    I saw post on internet from Mike Ault describing similar situation and some other note on these forums also, but there is no solution. Also those problems are related to 11g only.
    Re: srvctl issue
    www.toadworld.com/LinkClick.aspx?fileticket=Y2Pd9kF64Wg=&tabid=234
    Does anyone have any idea?
    I have similar setup on Test environment and everything is working fine without any issue
    Thanks in advance
    PG

    Hi.
    Maybe you can do a checklist :
    - When you type : "sqlplus / as sysdba" what is the content of ORACLE_SID variable ?
    - Check the healthy of CRS stack using crsctl check crc command.
    - Check the OCR integrity (ocrcheck) .
    Regards

  • Calendar, Contact, Text message issue after upgrdading to 10.2.0.415

    Dear BB expert,
    During using after upgrading to os 10.2.0.415 (1767), I've met some following issues, they make me uncomfortable, and I think everyone like me. Please help to resolve or inform to Blackberry in order to fix in next release.
    1. Calendar:
    1.1. Calendar always chooses BBLink as default:
        When I create an event (by: open Calendar app, pick a day and add an event), app always choose BBLink as default, while I want event is Home (Local Calendar), though I had gone into manage and chosen ‘Home (Local Calendar)' before. I always must choose again. Please help to resolve.
    1.2. There are some/a lot of events that I've added before but current I don't remember them, so I must go through each month to look for, this make me inflexible. I want Calendar app has a menu called 'All entry' that When I pick it all events will show as a list. As you see, this thing will be very comfortable.
    2. Contact:
    2.1. Search field does not show x (clear) when I do not focus there, mean that, When I enter text into search field, press Enter, then pick a contact, after that I go back, text box of search field will not show (x), I must pick it, then (x) icon will be visible. This make me inflexible, uncomfortable, I want search field always show (x). It seems previous os had this thing.
    2.2. I don't understand why facebook contact always show in Contact app, though I set it off in Settings, I set again again again, and then everything does not change, It is still showed in Contact, just it. I have Google contact, BBM, BBLink, and they are in off setting. There is only Facebook contact that is always showed.
    2.3. How to create group contact in Contact app, this function is a basic function in old device, sometime I send message to a group of contact, how to do it. I want it appears in next release.
    3. Message:
    As you known, Text message has issue when conversation becomes long (a lot of message in conversation). When I pick a contact in Text message, some time, it is hang/freeze, no message is showed, cannot send new message,…Please fix issue in next release.
    Please help to resolve or inform Blackberry,
    Thank you very much,
    Look forward to hearing from you.

    Thanks to both of you for your helpful insights. Oracle Support confirms that the OCR has been corrupted. We can start the db using SQL*Plus, but SRVCTL will not start the db. I did a SRVCTL CONFIG and noticed that the cluster database was not listed, so I tried a SRVCTL ADD DATABASE. That failed, too.
    We are going to try to restore the OCR from an OCR backup prior to the upgrade. Oracle Support, after analyzing our logs and other configuration data, recommeded Metalink note 371378.1 as a guide to restoring the OCR backup. Other Metalink notes I found in my research, that were helpful, are 259301.1, 275919.1 and 330358.1.
    Again, thank you for your insights and suggestions. I will update this thread after we restore the OCR tonight from backup.

  • Issue while creating connection pool in weblogic using SERVICE NAME

    Found two issues while creating connection pool in weblogic using SERVICE NAME
    1. While running apps from jdeveloper using xxx-jdbc.xml
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    2. Configuriing the jndi in Weblogic server
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:SERVICENAME
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    Problem
    database url is generated based on SID
    eg: jdbc:oracle:thin:@localhost:1521:SID
    Solution
    (generate seperate url for SERVICE NAME)
    jdbc:oracle:thin:@localhost:1521/SERVICENAME
    ------------------------

    It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.

  • Not able to stop database using srvctl

    When i stop database using srvctl from node1.. "srvctl stop database -d mosa" it does not stop. I tried "srvctl stop database -d mosa -o immediate" but to no luck. Could anybody help me on this issue.
    OS = HP-UX
    Database = Oracle 9i
    Instance1 = mosa1
    Instance2 = mosa2
    node1 = hp1
    node2 = hp2
    DB Size = 50GB
    I have opened another session to check srvctl status
    $srvctl status database -d mosa
    Instance mosa1 is not running on node hp_data1
    Instance mosa2 is running on node hp_data2
    NOTE:- BEfore i stop database, i had stopped listener.
    Regards,
    Vikhar

    Thank you , issue is solved.
    After i give below given command, i checked the status by
    $srvctl status database -d dbname
    $Instance mosa1 is not running in node1
    $Instance mosa1 is running in node2
    It means PROBLEM with instance2
    I have got following error message in alert_log file
    attempting to shut down the database and the database hangs at $srvctl stop database -d dbname. The alert log contains the following message:
    SHUTDOWN: Waiting for active calls to complete
    There are no other error messages in the alert log.
    +Solution Description:
    =====================
    Caveat: This note is intended for Unix platforms primarily, but we should
    address this issue on Windows platforms as well. On Windows, stopping the
    service is a valid workaround for these errors.
    Locate and kill any client connections to the database at the Unix level, as
    follows:
    1. Locate any client connections to the database using ps, and grep for any
    processes belonging to this .
    Example: ps -ef | grep V733
    2. Look for processes that include a 'Local=No' designation.
    Example: osupport 6235 1 0 Nov 24 0:01 oracleV733 (LOCAL=NO)
    3. Kill the Unix process(es) with the 'Local=No' designation.
    Example: Kill -9 6235
    Explanation:
    ============
    The database is waiting for pmon to clean up processes, but pmon is unable to
    clean them. The client connections to the server are causing the shutdown
    immediate or normal to hang. Killing them allows pmon to clean up and release
    the associated Oracle processes and resources+
    What resources are we talking about?
    1) Any non committed transactions must be rolled back
    2) Any temporary space (sort segments / lobs / session temporary tables) must be freed
    3) The session itself and any associated memory consumed by the session.
    4) Internal locks / enqueues must be cleaned up
    Often Oracle (SMON or PMON depending on whether Shared Server is used) will wait for the OS to terminate the process(es) associated with the session. I the OS never returns, or fails to terminate them, then the instance shutdown will hang with this message (Shutdown Waiting for Active Calls to Complete) Other means exist to achieve a quick shutdown.
    Thank you so much for your efforts.
    Edited by: VIKHARAHMED on Feb 27, 2011 10:19 PM
    Edited by: VIKHARAHMED on Feb 27, 2011 10:25 PM

  • DG broker Switchover issue, ORA-16535: CRS is prevent execution of a broker

    I am having setup of 2 node 10.2.0.4.0 RAC setup on ASM with Single Instance Physical standby on File System (OS: REHL 5.4). I configured DG Broker without any major issues. Getting all output of 'show configuration' and all DG related logs are clear. Archives are getting transferred from both Primary nodes.
    DGMGRL> show configuration
    Configuration
    Name: dg_rac
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    livestdby - Primary database
    livedg - Physical standby database
    Current status for "dg_rac":
    SUCCESS
    Now I am getting error Error: ORA-16535: CRS is preventing execution of a broker operation.
    DGMGRL> switchover to livedg;
    Performing switchover NOW, please wait...
    Error: ORA-16535: CRS is preventing execution of a broker operation
    Oracle Says
    Cause
    A broker operation was underway that required CRS to stop managing the instances of this database, but CRS management could not be stopped on behalf of the broker"s request on
    at least some of the instances, so the broker operation was canceled.
    Action
    Suspend CRS management of this database using SRVCTL STOP DATABASE -D <name> -O NONE. Then reissue the broker request.
    But this command is not working as it's given to stop the database.
    One more thing, it's nowhere said to stop CRS while performing Switchover / Switchback using DG Broker. When we do Switchover / Switchback we keep open only one of the Primary database.
    Anybody knows regarding this error???? or is there any solution for this ???? (is it bug ???)
    is there any documentation / link available to switchover of RAC database using dgmgrl (DG Broker)
    Any help would be appreciated.
    regards,
    manish

    Hello;
    I would check the tnsnames.ora on the Standby that's about to become the new Primary.
    Based on the information you provided I'm thinking you cannot connect from the Standby site to the Primary and thus the switchover fails and throws this error.
    If that checks out make sure the firewall rules for both server line up.
    Best Regards
    mseberg

  • TAF with FAN issue

    Oracle10gR2
    RHEL 4AS 64-bit
    Hello all,
    I have configured TAF with FAN and I have got it to work. Here are the steps that I did to make it work.
    1. Create a service with srvctl
    2. Start the service with srvctl
    3. exceute the dbms_service.modify_service package
    4. Add the new service entry into the tnsnames.ora file
    I tested it and it all worked fine. NOW, my question is I need to get it to work at the general user level. What I mean is if bob/bob@db1 connects to the database and issues a select query and then the instance is shutdown it doesn't failover...it looses the connection. How can I get it to work at this level? My current settings are SELECT and BASIC. THe failover works only when you login as SYSTEM, like the many docs out there show.
    Any ideas
    Thanks

    Ok, so my question is at what level does it need to be set at? The database or instance or both? This is how I have it setup currently.
    PROD =
    (DESCRIPTION =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = galapagos-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = humboldt-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TAF)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 1)
    TAF.fprc.ophth.wisc.edu =
    (DESCRIPTION =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = galapagos-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = humboldt-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TAF)
    PROD2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = humboldt-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PROD)
    (INSTANCE_NAME = PROD2)
    PROD1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = galapagos-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PROD)
    (INSTANCE_NAME = PROD1)
    Do I also need to add the lines in PROD1 and PROD2??
    Thanks

  • Issues while Add / Delete RAC Node in Oracle 10g R2

    Hi,
    I have an requirement to add a New Node in the existing 2 Node RAC at Production, where 1 Node is Active & other one is passive due to licence issue & cannot keep both the nodes as active. Due to performance issues (Memory , CPU Cores ..etc) we are adding another new node.
    Right now we are planning to add a 3rd database node making the new node as active and current active one as passive which is a swap & later on after final observation delete and decommission the current passive node.
    This activity is checked at the Dev database with the same infrastructure (OS + Memory ..etc) but want to check what is the best approach (or) challenges we face during the RAC Node Addition / Deletion
    RAC DB Version : 10.2.o.4
    OS Version : RHEL 5.8
    (1) Is the approach is right one , First Adding the node & later on delete
    (2) If the approach is the correct , what would be the behavious of the 3rd node in means of active (or) passive
    (3) We have taken RMAN backup , OS backup , CRS , ORACLE_HOME , ASM_Home backup , OCR & VD.
    (4) Could you please give detail steps for adding / deleting node in 10g R2.
    (5) Are they any known bugs to us with the DB release (or) OS while performing this activity.
    Since this is a production machine we want to more proactive . Please correct or add any thing i am missing out ...
    With Thanks,
    Rakesh

    Hello Rakesh,
    Please follow the following steps.
    Node Addition Steps
    1. Install and configure OS and hardware for new node.
    2. Add Oracle Clusterware to the new node.
    3. Configure ONS for the new node.
    4. Add ASM home to the new node.
    5. Add Databse home to the new node.
    6. Add a listener to the new node.
    7. Add ASM instance to the New Node.
    8. Add a database instance to the new node.
    Details of steps
    1. run cluvfy to verify whether New node is ready for addition or not.
         $ cluvfy stage -pre crsinst -n node2
    2. from node1, execute
              $/u01/app/crs11g/oui/bin/addNode.sh
    3. Specify node2 vip address and follow instructions.
    4. In the last of installtion it may through an wornig and will ask to click on YES. click on YES
    5. from node1,
              /u01/app/crs11g/bin/racgons add_config node2:6200
    6. from Node1,set ORACLE_HOME=ASM_HOME and then execute addNode.sh from $ASM_HOME/oui/bin and Follow instrusctions.
    7. From node1, set ORACLE_HOME=DB_HOME and then
         /u01/app/oracle/product/11.1.0/db_1/oui/bin/addNode.sh
         and Follow instructions.
    8. from node2 start NETCA and configure listener for new node. While configuring Listener select the name of new node.
    9. from node1 start dbca from ASM Home to configure ASM instance for new node.
    10. Again from node1 start dbca from DB Home to add DB instance
    Node deletion Steps
    1. Delete the Database instance on the node to be deleted.
    2. Clean up the ASM instance.
    3. Remove the listener from the node to be deleted.
    4. Remove the node from the database.
    5. Remove the node from ASM.
    6. Remove ONS configuration from the node to be deleted.
    7. Remove the node from the clusterware
    Details of Steps
    1. Remove database Instance of node2
         Dbca -> instance Management -> delete instance -> password for sys -> select node -> finish.
    2. Stop asm for node2 from any nodes.
         $srvctl stop asm –n node2
    3. Remove asm for node2
         $ srvctl remove asm -n node2
    4. Remove Listener from Node2 using NETCA.
    5. From Node2:
              ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local
    6. From Node2, start runinstaller from Oracle_DB_Home/oui/bin, and remove "DB_HOME"
         $ ./runinstaller
         On the WELCOME Screen -> Deinstall product -> Select dbhome name (OraDb10g_Home1) -> Remove
    7. From Node1:
              ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"
    8. From Node2, set Oracle_Home to asm_1 and then fire:
              ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" -local
    9. From Node2, start OUI and deinstall ASM Home.
    10. From Node1, Set ORACLE_HOME= /u01/app/oracle/product/11.1.0/asm_1
    11. From Node1: from /u01/app/oracle/product/11.1.0/asm_1/oui/bin, start OUI
              ./runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1"
    12. From Node2: as a root user (#) execute rootdelete.sh from /u01/app/crs11g/install
         # /u01/app/crs11g/install/rootdelete.sh
    13.From Node-1 first find out the node numbers
         # /u01/app/crs11g/bin/olsnodes -n
         output : node1 1
              node2 2
    14. From Node-1 as a root user (#):
         # /u01/app/crs11g/install/rootdeletenode.sh node2[Node_Name] 2[node_no]
         output:
              CRS nodeapps are deleted successfully
              clscfg: EXISTING configuration version 4 detected.
              clscfg: version 4 is 11 Release 1.
              Node deletion operation successful.
              'node2' deleted successfully
    15. From Node2 set ORACLE_HOME=CRS_HOME and then execute
         $$ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node2" CRS=TRUE -local
    16. ./runInstaller and remove CRS_HOME
    17. From Node-1:
         $ /u01/app/crs11g/oui/bin/runInstaller -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=node1" CRS=TRUE
    18. check node is deleted from ./crs_stat -t

  • Oracle RAC Issue

    I have installed Oracle RAC on VM Ware . I am facing problem during database connection after shutting down any node . It takes 7-8 minutes for making new connection after any node down.
    Please find below crs_stat -t output
    Name Type Target State Host
    ora.DATA.dg ora....up.type ONLINE ONLINE rac1
    ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
    ora....N1.lsnr ora....er.type ONLINE ONLINE rac1
    ora.asm ora.asm.type ONLINE ONLINE rac1
    ora....acdb.db ora....se.type ONLINE ONLINE rac1
    ora.eons ora.eons.type ONLINE ONLINE rac1
    ora.formtl.db ora....se.type ONLINE ONLINE rac1
    ora.gsd ora.gsd.type ONLINE ONLINE rac1
    ora....network ora....rk.type ONLINE ONLINE rac1
    ora.oc4j ora.oc4j.type OFFLINE OFFLINE
    ora.ons ora.ons.type ONLINE ONLINE rac1
    ora.orcl.db ora....se.type ONLINE ONLINE rac1
    ora....SM1.asm application ONLINE ONLINE rac1
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip ora....t1.type ONLINE ONLINE rac1
    ora....SM2.asm application ONLINE ONLINE rac2
    ora....C2.lsnr application ONLINE ONLINE rac2
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip ora....t1.type ONLINE ONLINE rac2
    ora....ry.acfs ora....fs.type ONLINE ONLINE rac1
    ora.scan1.vip ora....ip.type ONLINE ONLINE rac1
    One thing i noted that instance service is not running in crs_stat -t output .
    After shutting down any node it give the error TNS-12514: TNS:listener does not currently know of service requested in connect descriptor . and it takes 7-8 for making any new connection.
    Kindly suggest how i can resolve this issue.
    Edited by: user10505923 on Aug 17, 2011 5:18 AM

    Depending on how your service was created you may need to register it with CRS:
    srvctl add service -d db_name -s service_nameCan you post your listener info? output from issuing lsnrctl status and also your tnsnames or connect string you are using to connect?
    (be sure to change any sensitive data to something generic but make sure you change it in all places to keep it consistent)
    Also if you use the direct IP address or hostname in your connect string instead of the SCAN does the slowness go away?

  • Error while parsing SRVCTL output.

    OS : Sun 5.10 SPARC Machine
    DB :11.2.0.1 (Cluster Nodes)
    On DB Control, while checking "Cluster Managed Database Services " getting below error.
    Error while parsing SRVCTL output. Ensure that SRVCTL is functioning properly. I have checked the status of all the processes on that node, looks gsd process is down and in the db control log file getting below error .
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    2010-11-02 10:05:39,751 [Thread-42] ERROR db.rac parseStatusConfig.1010 - SrvctlDatabaseInfo.parseStatusConfig: no parsable status l
    ines.
    2010-11-02 10:38:50,440 [EMUI_10_38_49_/console/rac/racSitemap] WARN em.MetricEngine getCachedData.316 - Metric RAC_HOMETAB contain
    s no cached data!
    2010-11-02 10:38:51,260 [EMUI_10_38_49_/console/rac/racSitemap] WARN em.MetricEngine getCachedData.316 - Metric RAC_HOMETAB contain
    s no cached data!
    2010-11-02 10:39:11,514 [Thread-48] ERROR db.rac parseStatusConfig.1010 - SrvctlDatabaseInfo.parseStatusConfig: no parsable status l
    ines.
    What could be the issue ?

    what command did you execute?
    does it work from the second node?
    did you try rebooting the node?
    did you check clusterware services? some of the processess may have not started properly or died ...
    has it worked before ? or its a new installation ?

  • ORACLE RAC 11.0.2.0.3 install in SOLARIS x64 11.1(or 11/11) issue

    hello all,
    i got issue when i install grid(11.0.2.0.3 for solaris x64 version), after install software and the run "root.sh" and got the follow error message:
    /u01/app/11.2.0/grid/bin/srvctl start nodeapps -n solrac1 ... failed
    FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196.
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    any one can help me about that?
    and i got the same error for solaris x64 11/11 version.

    Hi Friend
    Below both are NOT CERTIFIED
    Oracle Real Application Clusters 11.2.0.3.0 is not certified on Oracle Solaris on x86-64 (64-bit) 11.1
    Oracle Real Application Clusters 11.2.0.3.0 is not certified on Oracle Solaris on SPARC (64-bit) 11.1
    Check Metalink : In certifications Tab
    Thanks
    LaserSoft

  • Databases instances stuck in MOUNT MODE after srvctl start database -d

    Hi,
    I wonder if anyone can shed some light on why the following scenario is happening in our environment.
    We have a 4 node site, configured with RAC on nodes 1 & 2 and dataguard shipping the logs to a standby physical cluster
    database on nodes 3 & 4.
    Our issue is this:
    When the database instances on nodes 1 & 2 are stopped and restarted using this command sequence
    srvctl stop database -d SOCPRODCAV
    srvctl start database -d SOCPRODCAV
    each database instance gets started up only as far as MOUNT mode.
    The databases are not opened and i have to go in and do this manually for each instance.
    The above command sequence used to successfully restart the database and leave it open for use so i'm wondering how the start
    mode has been changed and if there is an area of configuration or view anyone can guide me to look at it.
    I provide remote DBA support for this client's and it is possible that another onsite DBA may have changed something.
    Any pointers gratefully received.
    Regards,
    George

    See current configuration as follows
    srvctl config database -d SOCPRODCAV -aThis should show you current startup/stop settings as follows
    Start options: open
    Stop options: immediate
    Now you can change current settings if Start option is not "open"
    srvctl modify database -d SOCPRODCAV -s OPENReference
    http://docs.oracle.com/cd/E14072_01/server.112/e10595/restart005.htm#i1009665
    Salman

  • Error when trying to register DB using srvctl

    Hello -
    I am getting this error when trying to add this database:
    PRKP-1073 : Cannot create database m433ddg because a database named m433ddg already exists.
    However, I have verified the DB does not exist:
    [oracle@ctolinuxpoc02 ~]$ crs_stat
    NAME=ora.ctolinuxpoc01.ASM1.asm
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc01
    NAME=ora.ctolinuxpoc01.LISTENER_CTOLINUXPOC01.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc01
    NAME=ora.ctolinuxpoc01.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc01
    NAME=ora.ctolinuxpoc01.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc01
    NAME=ora.ctolinuxpoc01.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc01
    NAME=ora.ctolinuxpoc02.ASM2.asm
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc02
    NAME=ora.ctolinuxpoc02.LISTENER_CTOLINUXPOC02.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc02
    NAME=ora.ctolinuxpoc02.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc02
    NAME=ora.ctolinuxpoc02.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc02
    NAME=ora.ctolinuxpoc02.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on ctolinuxpoc02
    Any ideas are greatly appreciated!
    Thanks,
    Mike

    Hi Mike,
    I remember, you had an issue that you had a corrupted OCR once. That seems to be the case here again....
    In general, if SRVCTL complains that it cannot register a DB, since the DB with that name is already registered, this could be a sign that internally (obviously the former database does not show in the crs_stat output) Clusterware can still find fragments of the formerly registered DB. What you can try to do: run an ocrdump as root and check the output file for "m433ddg" and see whether it finds something.
    Let me know, please. Thanks,
    Markus
    Edited by: MarkusM on Apr 20, 2009 5:24 PM - Reason: typos

  • Srvctl start database -d dbname error tns lost contact

    hi,
    i am facing error while starting the databse by using srvctl in single node database.
    srvctl status database -d <dbname> is working fine and it is giving output. i am able to start the database manually too.
    srvctl start database -d <dbname>
    PRCR-1133 : Failed to stop database <dbname> and its running services
    PRCR-1132 : Failed to stop resources using a filter
    ORA-12547: TNS:lost contact
    any advice.
    regards
    Suresh J
    Edited by: user11982371 on Apr 20, 2012 6:53 AM

    may i know what you have done before....srvctl start...etc...
    do you have done any changes?
    post your oracle version and OS....
    please find below notes from metalink..it may helpful to you....
    This could be many things but a popular issue is when you have a separate ASM Home and the listener is running out of this home (it was the first home installed). Srvctl needs a TNS_ADMIN alias to the network/admin directory in this home instead of using the default ORACLE_HOME/network/admin for the database you are trying to start. For srvctl to work you must
    srvctl setenv nodeapps -n node -T TNS_ADMIN=full path
    on each node in the cluster.
    You cannot rely on a TNS_ADMIN environment variable.
    See Note 420977.1
    Another cause is non-existent spfile, see Note 732683.1
    source support.oracle.com
    Edited by: dbc001 on Mar 23, 2013 10:55 AM

  • Issues opening DB after restore.

    10g R2
    RH4
    Howdy all. I am attempting to do my first restore and having a tough time with it. I somewhat follow the instructions here:
    http://download-west.oracle.com/docs....htm#sthref673
    The main difference being that I am telling Enterprise Manager to just restore from the last backup (on a whole DB restore). Anyways, I put the DB in a Mount state, and then I do the restore with a "success" message. But then issues arise when I try to put the DB into an Open state once the restore is completed. I get the message:
    Srvctl Error
    An error occurred when executing the operation. Ensure that CRS processes and SRVCTL are functioning properly. Refresh the page to see the current status. Refer to the following error: PRKP-1001 : Error starting instance RACDB1 on node raclinux1 CRS-0215: Could not start resource 'ora.RACDB.RACDB1.inst'. PRKP-1001 : Error starting instance RACDB2 on node raclinux1 CRS-0215: Could not start resource 'ora.RACDB.RACDB2.inst'.
    Can someone please assist?
    TIA, ChrisR.

    Chris,
    What does your alert log say? From the details you have provided, looks like you have restored, but might not have recovered the database before opening.
    Check the alert log to see what the exact problem is...
    HTH
    Thanks
    Chandra Pabba

Maybe you are looking for

  • Unexpected database connector error

    Hi Team, I am trying to do Dynamic database change for Crystal reports and i 'm struggling with the following error. I am following below code listed in the following link CRJava Modify DB Location Please help me in resolve this issue. I have been st

  • MBP in closed clamshell (display closed) mode with an external display

    I want to use my Macbook Pro Unibody in closed clamshell (display closed) mode with an external display And I want to know if, the heat will damage the lcd of m macbookpro. I want to buy a holder http://twelvesouth.com/products/bookarc/ but i still h

  • Static when connecting to hifi via headphone socket.

    When I connect my Macbook Pro to a hifi with a phono to 3.5 cable via the headphone socket, I get a horrible hissing. This only happens when my Macbook is plugged in, and it is even louder than the sounds it should be producing. Like if I'm playing a

  • Quirky PDF behavior in Preview

    Hello, Whenever I have multiple PDF documents open in the same Preview window (e.g., 10-15), scrolling behavior in the thumbnail sidebar becomes very erratic. For example, if I am scrolling up to a particular PDF (starting at the first, or bottom PDF

  • About update statement in procedure

    I have one table usersubscription (userid,newsletterid,deleted) I got one string from user e.g. ('1,2,3') and userid = 14 I wrote proceduer that will insert this records in to usersubscription table; userid newsletterid deleted 14 1 n 14 2 n 14 3 n d