How to get the status of service in rac

Dear all,
how to get the status of service in rac.
SQL> show parameters service;
NAME                                 TYPE        VALUE
service_names                        string      DEVDB, DEVDB1, devdb
[oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
PRKO-2120 : The internal database service devdb cannot be managed with srvctl.

user7244870 wrote:
Dear all,
how to get the status of service in rac.
SQL> show parameters service;
NAME                                 TYPE        VALUE
service_names                        string      DEVDB, DEVDB1, devdb
[oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
PRKO-2120 : The internal database service devdb cannot be managed with srvctl.
Internal services cannot be managed with srvctl utility. Check if you have any user defined service in dba_services
SQL> desc dba_services
Name                                      Null?    Type
SERVICE_ID                                         NUMBER
NAME                                               VARCHAR2(64)
NAME_HASH                                          NUMBER
NETWORK_NAME                                       VARCHAR2(512)
CREATION_DATE                                      DATE
CREATION_DATE_HASH                                 NUMBER
FAILOVER_METHOD                                    VARCHAR2(64)
FAILOVER_TYPE                                      VARCHAR2(64)
FAILOVER_RETRIES                                   NUMBER(10)
FAILOVER_DELAY                                     NUMBER(10)
MIN_CARDINALITY                                    NUMBER
MAX_CARDINALITY                                    NUMBER
GOAL                                               VARCHAR2(12)
DTP                                                VARCHAR2(1)
ENABLED                                            VARCHAR2(3)
AQ_HA_NOTIFICATIONS                                VARCHAR2(3)
CLB_GOAL                                           VARCHAR2(5)http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm

Similar Messages

  • How to get the status of the method

    Hi,
    I have created a services and method to start the processes.
    Method:
    #!/sbin/sh
    . /lib/svc/share/smf_include.sh
    case "$1" in
    'start')
    /usr/local/proce start
    sleep 10
    'stop')
    /usr/local/proce stop
    echo "Usage: $0 { start | stop }"
    exit 1
    esac
    exit $SMF_EXIT_OK
    Here am exit with SMF_EXIT_OK.
    How can I get the status of start and stop whether it is successful or failure.
    In the place of SMF_EXIT_OK I need to return the status of start and stop.
    Please help me in solving this.
    When i check in smf-include.sh , i got the following exit level
    SMF_EXIT_OK=0
    SMF_EXIT_ERR_FATAL=95
    SMF_EXIT_ERR_CONFIG=96
    SMF_EXIT_MON_DEGRADE=97
    SMF_EXIT_MON_OFFLINE=98
    SMF_EXIT_ERR_NOSMF=99
    SMF_EXIT_ERR_PERM=100
    Regards,
    Kalai

    ss

  • How to get the status idoc from recieveing system

    Hi All,
    In our requirement we will be sending an idoc to the recieveing system. we are planning to get the staus of the idoc.
    How can you  recieve the status of the idoc that idoc has been is saftly reached to target server.
    Can any one share the solution if you have confirgured  the same before.
    We are planning to use : Middleware.

    Hi Anil,
    If get the status 03 means your idoc successfully send to receiving system port. But in the receiving system if there any issue in processing you can't get these updated status automatically from receiving system. You know Idoc works in asynchronous mode. To get the status you need send one idoc with status (error , success ot warning) from receiving system to sending system.
    Thanks
    Subhankar.

  • How to get the status of the backgroud job?

    Hi all,
    I have a job, there are two steps. I have checked in the table TBTCP, the status is always 'P', which means:job step scheduled, even the step is finished. How can we get the status of every step? Many thanks in advance!

    try FM  BP_JOB_STATUS_GET
    but Table TBTCO(field-status) gives the status of the job i.e whether scheduled,released,active,finished,ready or terminated job.
    check  following tables
    <b>TBTCJSTEP - Background Job Step Overview
    TBTCO - Job Status Overview Table
    TBTCP - Background Job Step Overview</b>
    Message was edited by:
            Vasu G

  • How to get the status of the button?

    i want to know how to get the clicked status of the button? whether it is in clicked state or in unclicked state?
    For ex: i have the following code...
    <components:IconButton id="bold_btn" width="22" icon="@Embed('/assets/bold.png')" click="onBoldClick()" enabled="{this.loadCompleted}" toggle="true"/>
    how to find whether the bold button is clicked or not?
    this.bold_btn.????

    Hi Isa,
    You can make use of a Boolean variable to acheive this functionlaity...check out the below simple example...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            verticalAlign="middle"
            backgroundColor="white" width="100%">
        <mx:Script>
            <![CDATA[
             import mx.controls.Alert;
             private var isBtnToggle:Boolean = false;
             private function onButtonClick():void
        isBtnToggle = !isBtnToggle;
        if(isBtnToggle)
         btnToggle.label = "I am Toggled ON";
         Alert.show("Button is Toggled ON");
        else
         btnToggle.label = "I am Toggled OFF";
         Alert.show("Button is Toggled OFF");
            ]]>
        </mx:Script>
        <mx:Button id="btnToggle" label="I am Toggled OFF" toggle="true" click="onButtonClick()" />
    </mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • How to get the status of ASM intance in 11gr2

    hello all
    srvctl status asm -n <node name> gives the status of asm instance. with out using srvctl command how can we get the status of asm instance. ps can be help ful ? if so which is the process need to be checked for ?
    any other ways to do it?
    thanks in advance...

    You can query V$ASM_DISKGROUP,V$ASM_DISK or V$ASM_CLIENT.
    You can also check status of ASM background processes.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asminst.htm#CHDCFCBJ

  • How to get the status of a window?

    Is there a way to get the status of a display window? I'm looking specifically for whether or not it is open and what image is being displayed in it.
    If there is no easy way to do this, can it be added to the list of suggestions for the next version?

    Right now there is no way to determine these attributes from software. When I went to enter a suggestion to R&D, I found that a very similar one was submitted recently. I added your suggestions to the current one. I'm sorry there isn't an easy solution.
    Kyle V.

  • How to get the status of Javascript inside a java class

    Hi,
    Can anybody let me know the way by which I can get the status of Javascript (enabled/disabled) in browser inside a Java Class.
    I do have a trick -
    <input type="hidden" name="jstatus" value="disabled">
    <input type="submit" name="submit" onClick="doChecking()">
    <script language= javascript>
    function doChecking()
    document.form.jstatus.value = "enabled";
    submit();
    Now inside our java class we can check the value of "jstatus" if it is disabled then it is disabled else it is enabled.
    Ha ha wat a stupid trick...... ;-)
    Plz let me know a real approach to determine the Javascript status.
    Cheers !!!
    Irshad

    Actually, I don't think that trick is stupid at all. Javascript and Java are normally in no way related (javascript is just plain text content to your servlets / jsp's). So a good way of getting such information to your server is submitting it, like you do.
    Another possibility would be to do it with Ajax in the background, but that all depends on what you do with the information.

  • How to get the status of workflow

    Hi all,
    Please help me with a query to get the status of a worflow. For Eg: The close order line wf has fired for a particular order line in Oracle Apps (item type = OEOL). I just want to find the status of this using a query. Any hints will be very helpful.
    thank you.

    Look in the ORABPEL database schema. There you will see a lot of tables related to workflow.
    Marc

  • How to get the status of MessageBridge STATUS consistently?

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

  • How to get the Status of an Idoc of successfully received in remote system

    Hi,
    I have created a report which post an idoc from system1 to remote SAP system2.
    But i want to get the final staus of posted idoc in system1 that the idoc posted was reached successfully to SAP system2  with status 53 only.
    Actually i need to show the final staus of the posted idoc in system 1.
    Is there any kind of acknowlegement can be received for an idoc posted that idoc has been reached to reamote system(SAP system in my case) sucessfully?
    If yes then how we can do that.
    Kindly reply.

    HI,
    you need IDoc Type ALEAUD.
    1. BD64 and maintain ALEAUD Messagetype to your distribution model
    2. WE20 - assign ALEAUD messagetype to your partner profile (in sending and receiving system)
    3. call report RBDstate to send ALEAUD message IDoc.
    note: the receiving system from the source IDoc sends the ALEAUD to the sending system.
    Another way:
    BDM2 - you can see IDoc number and status from sending and receiving system
    Regards,
    Gordon
    Edited by: Gordon Breuer on Oct 8, 2008 2:35 PM

  • APEX_PLSQL_JOB - how to get the status

    Hi,
    I am submitting a package using APEX_PLSQL_JOB.SUBMIT_PROCESS on the click of a button.
      l_job_id :=  APEX_PLSQL_JOB.SUBMIT_process ( 'BEGIN   my_pkg;  END;' );Now I have validations that the button cannot be submitted again, which works fine.
    I want to inform the user once the process has completed. How do I do that?.
    I send out a mail once the process is complete. This is sent from the package.
    The whole process takes around 20 mins, so the mail option is fine but I also want some kind of a indication on the APEX page that the process completed successfully.
    I know about this table htmldb_plsql_jobs where I can check the status, but once I submit the job it runs asyncronously. So at what point should I check this table?
    Thanks,
    VS.

    Hello,
    you have 2 simpler options.
    1. If the job gets created with DBMS_SCHEDULER_JOBS you can query the ALL_SCHEDULER_JOB_RUN_DETAILS to see if it has completed successfully or not. If it doesn't appear in there it hasn't finished yet.
    2. If it isn't using Scheduler you can create a log table and just insert into it from at the end of your procedure in the job and then query on it.
    Also if you would like to read on DBMS_SCHEDULER_JOBS you can find more info here
    You could use these jobs independently because of their flexibility and excellent tracking capabilities.
    Thank you,
    Alex.
    Edited by: Banu Alexandru on 25.05.2013 15:36

  • GSS-API How to get the client-to-service ticket

    In Kerberos when requesting services, the client sends the following two messages to the TGS: A composed message of the Ticket-Granting Ticket and the ID of the requested serviceand authenticator (which is composed of the client ID and the timestamp), all encrypted using the client/TGS session key.
    Then upon receiving these messages the TGS sends the followings to the client:
    A: Client-to-server ticket (which includes the client ID, client network address, validity period and Client/server session key) encrypted using the service's secret key.
    B: Client/server session key encrypted with the client/TGS session key.
    Now I'm wondering how to obtain A and B throught the kerberos login in GSS-API . I have the following code that I use to request a kerberized service but it returns only a KerberosTicket in PrivateCredentialsSet for the Subject. A sessionKey can also be obtained form this KerberosTicket ! Which session key is this ? the session key B described above? and Where to get the Client-to-server ticket (A) described above ?
    Thanks for any help !
    Alex
    lc = new LoginContext("login-client", new TextCallbackHandler());
    lc.login();
    mysubject = lc.getSubject();
    java.util.Set principals = lc.getSubject().getPrincipals();
    java.util.Iterator iterador = principals.iterator();
    if (iterador.hasNext()){
    KerberosPrincipal principal = (KerberosPrincipal) iterador.next();
    clientName =principal.getName();
    PrivilegedAction generateServiceTicket = new ClientAction(clientName,"[email protected]");
    Subject.doAs(mysubject, generateServiceTicket);
    Set prvCredentials = lc.getSubject().getPrivateCredentials();
    for (Iterator i = prvCredentials.iterator(); i.hasNext(); j++) {
    KerberosTicket ticket = (KerberosTicket) i.next();
    prvKrbCrds = (KerberosTicket[]) mysubject.getPrivateCredentials().toArray(new KerberosTicket[0]);
    public Object run() {
    try{
    GSSManager manager = GSSManager.getInstance();
    Oid krb5Mechanism = new Oid("1.2.840.113554.1.2.2");
    Oid krb5PrincipalNameType = new Oid("1.2.840.113554.1.2.2.1");
    GSSName userName = manager.createName(pn,GSSName.NT_USER_NAME);
    GSSCredential cred = manager.createCredential(usr,
    GSSCredential.DEFAULT_LIFETIME,
    krb5Mechanism,
    GSSCredential.INITIATE_ONLY);
    GSSName peerName = manager.createName(servicename,
    GSSName.NT_HOSTBASED_SERVICE, krb5Mechanism);
    GSSContext setContext = manager.createContext(peerName, krb5Mechanism, cred,
    GSSContext.DEFAULT_LIFETIME);
    setContext.requestInteg(false);
    setContext.requestConf(false);
    byte[] inputBuf = new byte[0];
    byte[] tkt = setContext.initSecContext(inputBuf, 0, 0);
    }catch(GSSException gsse){
    gsse.printStackTrace();
    }

    In Kerberos when requesting services, the client sends the following two messages to the TGS: A composed message of the Ticket-Granting Ticket and the ID of the requested serviceand authenticator (which is composed of the client ID and the timestamp), all encrypted using the client/TGS session key.
    Then upon receiving these messages the TGS sends the followings to the client:
    A: Client-to-server ticket (which includes the client ID, client network address, validity period and Client/server session key) encrypted using the service's secret key.
    B: Client/server session key encrypted with the client/TGS session key.
    Now I'm wondering how to obtain A and B throught the kerberos login in GSS-API . I have the following code that I use to request a kerberized service but it returns only a KerberosTicket in PrivateCredentialsSet for the Subject. A sessionKey can also be obtained form this KerberosTicket ! Which session key is this ? the session key B described above? and Where to get the Client-to-server ticket (A) described above ?
    Thanks for any help !
    Alex
    lc = new LoginContext("login-client", new TextCallbackHandler());
    lc.login();
    mysubject = lc.getSubject();
    java.util.Set principals = lc.getSubject().getPrincipals();
    java.util.Iterator iterador = principals.iterator();
    if (iterador.hasNext()){
    KerberosPrincipal principal = (KerberosPrincipal) iterador.next();
    clientName =principal.getName();
    PrivilegedAction generateServiceTicket = new ClientAction(clientName,"[email protected]");
    Subject.doAs(mysubject, generateServiceTicket);
    Set prvCredentials = lc.getSubject().getPrivateCredentials();
    for (Iterator i = prvCredentials.iterator(); i.hasNext(); j++) {
    KerberosTicket ticket = (KerberosTicket) i.next();
    prvKrbCrds = (KerberosTicket[]) mysubject.getPrivateCredentials().toArray(new KerberosTicket[0]);
    public Object run() {
    try{
    GSSManager manager = GSSManager.getInstance();
    Oid krb5Mechanism = new Oid("1.2.840.113554.1.2.2");
    Oid krb5PrincipalNameType = new Oid("1.2.840.113554.1.2.2.1");
    GSSName userName = manager.createName(pn,GSSName.NT_USER_NAME);
    GSSCredential cred = manager.createCredential(usr,
    GSSCredential.DEFAULT_LIFETIME,
    krb5Mechanism,
    GSSCredential.INITIATE_ONLY);
    GSSName peerName = manager.createName(servicename,
    GSSName.NT_HOSTBASED_SERVICE, krb5Mechanism);
    GSSContext setContext = manager.createContext(peerName, krb5Mechanism, cred,
    GSSContext.DEFAULT_LIFETIME);
    setContext.requestInteg(false);
    setContext.requestConf(false);
    byte[] inputBuf = new byte[0];
    byte[] tkt = setContext.initSecContext(inputBuf, 0, 0);
    }catch(GSSException gsse){
    gsse.printStackTrace();
    }

  • How to get the Status code of rwclient when run as a background job

    Hi all,
    i have to get the return code(status code) of the rwclient.exe while running as a batch script. is it possible to get the return code to check whether the report generated succefully or not?
    please help me if anyone has the solution.
    Thanks in advance
    Deena

    Hi Andi,
    Please see my Blog : /people/dhanabal.thangavel2/blog/2009/12/16/getting-daily-failed-message-list-in-xi-and-sending-an-alert-mail-with-attachementcsv-file-of-that-list
    I think it 'll help you on this.
    Cheer,
    Dhanabal

  • How to get the status of Job scheduled in Background.

    Hi,
      I wanted to know the status of job scheduled in Background.
    I am using below FM.
    BP_JOB_STATUS_GET
    but what value will it reutrn after completion of the job.
    That the status is complete.

    Use the Table
    TBTCO
      to know the status
    or else call the FUNCTION
    BP_JOB_SELECT

Maybe you are looking for

  • How to determine the database driver a report uses?

    Hello experts.  I'm using Crystal Report XI R2 and C# (.net 4.0 runtime). For a given report, I'd like programmatically determine what database driver(s) a report and it's sub-reports use.  The nice thing is that I don't want to change it. When I ref

  • Listing of Blocked Vendor by Country Code

    Hi I would like to know if there is any way for me to list all the vendors who are blocked ( purch block,central block & deletion flag) by country code. Thank you Regards Pubalan

  • How to import oracle.xml.sql.query.*

    friendz.. I want to use oracle xml utility. For that i have to import oracle.xml package.Where can i find that package? Which classpath i have to set? Plz help me Thanks in advance

  • I am new in sap implementation project.

    somebody  gives me ideas about requirements gathering in gl & ap in manufacturing industry.thank you kind regards, puja desai

  • Need some help - here is the problem with I import.

    I am importing a flv file. The flv file runs fine outside of Premiere. When I import it, the audio imports fine. The video however imports and displays when run at SUPER slow mode. For example, when I run the imported movie, and let say all I am doin