Service creation error CRS-2664:Resource 'ora.prodcro.db' already running

Hi,
Allow me to describe my architecture.
I have 2 2 node rac clusters - site 1 is the primary site and consists of 2 rac instances and site 2 is the standby site where a physical standby database is accessed by 2 rac instances.
Site 1 has services SERVICE1 and SERVICE2 configured and bound to the database instances PROD1 and PROD2.
When I try to created the same services on the standby site i can successfully create them using
srvctl add service -d SOCPRODCRO -s CROSERVICE1 -r PROD1 -a PROD2
srvctl add service -d SOCPRODCRO -s CROSERVICE1 -r PROD2 -a PROD1
However when i try to start them i get the following error
[oracle@mondbop303 {SOCPROD1} ~]$ srvctl start service -d SOCPRODCRO
CRS-2664: Resource 'ora.socprodcro.db' is already running on 'mondbop303'
CRS-2664: Resource 'ora.socprodcro.db' is already running on 'mondbop304'
CRS-2632: There are no more servers to try to place resource 'ora.socprodcro.service1.svc' on that would satisfy its placement policy
Can anyone tell me if they've seen this error before and give me any pointers on anything i'm doing wrong.
Cheers,
George

Hi Jorg,
Firstly thank you very much for taking the time and effort to reply to my post, I really appreciate it.
The Oracle version in use on my client’s site is 11g Release2 (11.2.0.1.0) running on Linux.
Also thank you very much for the pointers (and although i'm trying not to get my hopes up too much in case it doesn't fix the issue) i'm fairly confident that what you've suggested has hit the nail on the head and is the source of my problem i.e although you only explicitly say " on 10g you can create but not start a service on a standby side" it seems that this is also the case for 11g and that the issue lies with me attempting to start the service.
I was thinking that the fact i couldn't start the services on the physical standby site had to be something to do with the fact that it was a physical standby site and that therefore the database was only mounted.
Your pointer made me examine my session logs from last week and i did try to create the service as follows to automatically start when the Oracle Data Guard database role matches the physical_standby role but i got the same error e.g.
[oracle@mondbop303 {SOCPROD1} ~]$ srvctl add service -d SOCPRODCRO -s CROSERVICE1 -r SOCPROD1 -a SOCPROD2 -l physical_standby
[oracle@mondbop303 {SOCPROD1} ~]$ srvctl start service -d SOCPRODCRO
CRS-2664: Resource 'ora.socprodcro.db' is already running on 'mondbop303'
CRS-2664: Resource 'ora.socprodcro.db' is already running on 'mondbop304'
CRS-2632: There are no more servers to try to place resource 'ora.socprodcro.croservice1.svc' on that would satisfy its placement policy
However having read the srvctl documentation again for the add service section you directed me too i.e
=============================================================
"-l {[PRIMARY] |[PHYSICAL_STANDBY] |[LOGICAL_STANDBY] |[SNAPSHOT_STANDBY]}
The service role.
You use this option to indicate that the service should should only be automatically
started when the Oracle Data Guard database role matches one of the specified service roles."
=============================================================
my understanding from this documentation extract is that in fact i should actually be defining the
service i need on the standby cluster using the -l PRIMARY flag and that the service should only
be defined and then it would get automatically started when my standby database transitions to the
PRIMARY role during a switchover or failover. Is that your understanding Jorg?
The only way i can test this obviously is to define the services on my standby cluster, switchover to it, and see if the services are started against the former standby, now primary cluster database and if i can connect to the database using them once the database has failed over.
I'll be back on my customer site on Tuesday and i'll try this then and update the thread to let you know how i get on.
You also asked for more information about my environment:
My node names and (instance names) are as follows
active primary cluster is called cluster1
node names
mondbop001 (Oracle instance SOCPROD1)
mondbop002 (Oracle instance SOCPROD2)
Physical standby cluster is called cluster2
node names
mondbop303 (Oracle instance SOCPROD1)
mondbop304 (Oracle instance SOCPROD2)
Many thanks again.
Regards,
George

Similar Messages

  • CRS-1028: Dependency ...of: CRS-0223: Resource 'ora.rac1.LISTENER_RAC1.lsnr

    I have installed the clusterware and now I'm installing the software database. When the installer try to configure the listener I got error.
    Problem in configuration: rac1: LISTENER_RAC1
    Listener start failed. Listener may already be running
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.rac1.LISTENER_RAC1.lsnr'
    has placement error
    Try again?
    Someone can help me?.
    Oracle10gR2
    Linux Redhat 4 AS 2
    Thanks

    Hi,
    sorry, this is not enough information. Please, check the CRSD.log why the listener could not be started.
    Have you checked whether or not the error message is maybe even correct: Is the listener already started?
    Sorry, but without some more information, anything else would be guessing, I guess ;-). Thanks,
    Markus

  • CRS-1019 Resource ora.devdb.devdb1.inst (application) cannot run on rac2

    I run a CRS upgrade from 10.2.0.1 to 10.2.0.3. The process runned ok but instance devdb1 on rac1 of the RAC does not start.
    crs_stat -t
    ora.devdb.db ONLINE ONLINE rac1
    ora.devdb.devdb1.inst ONLINE OFFLINE
    ora.devdb.devdb2.inst ONLINE ONLINE rac2
    I tried the following, without success:
    srvctl remove database -d devdb -f
    crs_unregister ora.devdb.db
    srvctl remove instance -d devdb -i devdb1
    srvctl remove instance -d devdb -i devdb2
    srvctl add database -d devdb -o $ORACLE_HOME
    srvctl add instance -d devdb -i devdb1 -n rac1
    srvctl add instance -d devdb -i devdb2 -n rac2
    srvctl stop database -d devdb
    srvctl start database -d devdb
    When I run:
    srvctl start instance -d devdb -i devdb1
    PRKP-1001: Error starting instance devdb1 on rac1
    CRS-0215 Could not start resource 'ora.devdb.devdb1.inst'
    When I run:
    crs_start ora.devdb.devdb1.inst
    Attempting to start 'ora.devdb.devdb1.inst' on member 'rac1'
    Start of 'ora.devdb.devdb1.inst' on member 'rac1' faileld.
    rac2: CRS-1019 Resource ora.devdb.devdb1.inst (application) cannot run on rac2
    CRS-0215 Could not start resource ora.devdb.devdb1.inst
    When I run on rac1 as oracle:
    sqlplus /nolog
    conn / as sysdba
    startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/01/app/oracle/product/10.2.0/db_1/dbs/initdevdb1.ora'
    Does anyone have some tips to help?
    Regards
    Cristian

    Hi Cristian,
    Maybe you have already solved your issue.
    Have you checked if the necessary pfile (initdevdb1.ora) is in the directory /01/app/oracle/product/10.2.0/db_1/dbs? if it is there then you might need to check the permissions on the path.
    I suppose you did the upgrade using a new binary home for your 10.2.0.3 version where the required parameter file(s) is/are still there in $OLD_ORACLE_HOME/dbs.
    If so, then copy them from there to the new $ORACLE_HOME/dbs then give it a try.
    Hope this helps.
    Regards,
    Jozsef

  • CRS-0223: Resource 'ora.xt3xx.ons' has placement error.

    All,
    I recently downgraded my RAC 10.2.0.4 database to 10.2.0.1 . and after that I am not able to start the database using srvctl . however i am able to start the db manually.
    this is the error message
    srvctl start database -d RDBE
    PRKP-1001 : Error starting instance RDBE1 on node xt33db006
    CRS-0215: Could not start resource 'ora.RDBE.RDBE1.inst'.
    PRKP-1001 : Error starting instance RDBE2 on node xt33db007
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Fri May 16 09:32:30 2008
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:Enter user-name: Connected to an idle instance.
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:SQL> ASM instance started
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:Total System Global Area 130023424 bytes
    xt33db007:ora.xt33db007.ASM2.asm:Fixed Size 1976920 bytes
    xt33db007:ora.xt33db007.ASM2.asm:Variable Size 102880680 bytes
    xt33db007:ora.xt33db007.ASM2.asm:ASM Cache 25165824 bytes
    xt33db007:ora.xt33db007.ASM2.asm:ASM diskgroups mounted
    xt33db007:ora.xt33db007.ASM2.asm:SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    xt33db007:ora.xt33db007.ASM2.asm:With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Fri May 16 09:32:53 2008
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:Enter user-name:
    xt33db007:ora.xt33db007.ASM2.asm:Connected to:
    xt33db007:ora.xt33db007.ASM2.asm:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    xt33db007:ora.xt33db007.ASM2.asm:With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    xt33db007:ora.xt33db007.ASM2.asm:
    xt33db007:ora.xt33db007.ASM2.asm:SQL> ASM diskgroups dismounted
    xt33db007:ora.xt33db007.ASM2.asm:ASM instance shutdown
    xt33db007:ora.xt33db007.ASM2.asm:SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    xt33db007:ora.xt33db007.ASM2.asm:With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    xt33db007:ora.xt33db007.ASM2.asm:
    CRS-0215: Could not start resource 'ora.RDBE.RDBE2.inst'.
    please advise.
    thanks
    Pk

    What is the error message you are seeing in CRS & RACG logs related to the database startup.?
    What is the STATE & TARGET fields showing up for the database and instances?
    Please paste the srvm log for the srvctl command.
    export SRVM_TRACE=TRUE
    srvctl start database -d RDBE
    exit

  • 11.2.0.3 Windows DB install of dbconsole , repos and service creation error

    Hello all,
    I am stumped at this error when recreating the repository on a windows 2008 server install of the dbconsole for a active database. It seems that it's not able to create or delete the service even after deconfiguring it. any ideas ? the install account is part of the windows admin group locally.
    D:\app\oracle\rdbms\11.2.0.2\xxxxxxxx\BIN>emca -config dbcontrol db -repos create
    WARNING: Error executing CMD /C D:\app\oracle\rdbms\11.2.0.2\cxxxx\bin\nmesrv
    ops.exe delete OracleDBConsolexxxxxxxxx
    Oct 10, 2013 2:02:01 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing CMD /C D:\app\oracle\rdbms\11.2.0.2\xxxx\bin\emctl.
    bat deploy dbconsole -d xxxxD:\app\oracle\rdbms\11.2.0.2\xxxxx\xxx
    SEVERE: Error instantiating EM configuration files
    thank you !

    hi TSharma ...nothing in reply ?!

  • I have uninstalled and reinstalled firefox;I keep getting this error message when opening Firefox "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

    See question

    Try doing the following:
    ctrl+alt+del >> Go to processes >> If their is more than one firefox.exe running, end one of them.

  • Root.sh failed with CRS-2800:   Can't start resource 'ora.ctssd' as it is

    Cannot start resource 'ora.ctssd' as it is already in the INTERMEDIATE state.
    I was trying to install two node RAC on linux REDHAT, I have encountered following errors:
    Start of resource "ora.crsd" failed
    CRS-2800: Cannot start resource 'ora.ctssd' as it is already in the INTERMEDIATE state on server
    CRS-4000: Command Start failed, or completed with errors.
    Clusterware exclusive mode start of Clusterware Ready Services failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6475.
    /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
    How to fix this issue?
    runCluvfy ran successfully.
    I found out on the second node(oracle02), there is no any daemon running. But on the local installation node(oracle01):
    [[email protected] bin]# ./crsctl stat res -t -init
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.asm
    1 ONLINE ONLINE oracle01 Started
    ora.cluster_interconnect.haip
    1 ONLINE ONLINE oracle01
    ora.crf
    1 OFFLINE OFFLINE
    ora.crsd
    1 ONLINE OFFLINE
    ora.cssd
    1 ONLINE ONLINE oracle01
    ora.cssdmonitor
    1 ONLINE ONLINE oracle01
    ora.ctssd
    1 ONLINE INTERMEDIATE oracle01 Wrong check return.
    ora.diskmon
    1 ONLINE ONLINE oracle01
    ora.drivers.acfs
    1 ONLINE ONLINE oracle01
    ora.evmd
    1 OFFLINE OFFLINE
    ora.gipcd
    1 ONLINE ONLINE oracle01
    ora.gpnpd
    1 ONLINE ONLINE oracle01
    ora.mdnsd
    1 ONLINE ONLINE oracle01
    [[email protected] bin]#
    How to proceed next step? what to fix in order for my installation to be successful.
    Thanks in advance.

    OK, please post the css last lines in the log.
    Also, if you have alert log (for crs, it should be under $GI_HOME/log/<hostname>) post it as well.
    It's a bit complicated to trace it here, I'll do my best, but you might want to open an SR on this.
    Liron

  • CRS-0223: Resource has placement error, when starting DB instance

    Hello All,
    Env: 2 node 10.2.0.4 RAC on Solaris 10 SPARC
    All of a sudden the DB instance on Node 2 crashed. The alert.log says "Instance terminated by MMAN".
    There were no changes recently.
    I tried to start it up using srvctl and it failed with
    [SHCL1N02]$ srvctl start instance -d SHCL1_PRMY -i SHCL1N02
    PRKP-1001 : Error starting instance SHCL1N02 on node myjpsuolicdbd02
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.SHCL1_prmy.SHCL1N02.inst' has placement error.
    [SHCL1N02]$The nodeapps and crs processes are all running happily, the instance alone has a problem.
    I tried
    (1)Stop nodeapps, Stop CRS, Start CRS => Still instance on node2 didn't come up.
    (2)sqlplus / as sysdba, startup => Instance came up, but the ora.SHCL1_prmy.SHCL1N02.inst is still offline.
    Below is the error in the crsd.log file.
    2009-11-04 10:18:30.627: [  CRSRES][2970821] CRS-1028: Dependency analysis failed because of:
    'Resource in UNKNOWN state: ora.SHCL1_prmy.SHCL1N02.inst'
    2009-11-04 10:21:23.269: [  CRSRES][2970843] StopResource: setting CLI values
    2009-11-04 10:21:23.340: [  CRSRES][2970843] Attempting to stop `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02`
    2009-11-04 10:21:30.478: [  CRSAPP][2970843] StopResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
    2009-11-04 10:21:30.502: [  CRSRES][2970843] Stop of `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02` succeeded.
    2009-11-04 10:21:49.867: [  CRSRES][2970861] startRunnable: setting CLI values
    2009-11-04 10:21:49.895: [  CRSRES][2970861] Attempting to start `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02`
    2009-11-04 10:21:55.019: [  CRSAPP][2970861] StartResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
    2009-11-04 10:22:00.583: [  CRSAPP][2970861] StopResource error for ora.SHCL1_prmy.SHCL1N02.inst error code = 1
    2009-11-04 10:22:00.592: [  CRSRES][2970861] X_OP_StopResourceFailed : Stop Resource failed
    (File: rti.cpp, line: 1803
    2009-11-04 10:22:00.593: [  CRSRES][2970861][ALERT] `ora.SHCL1_prmy.SHCL1N02.inst` on member `myjpsuolicdbd02` has experienced an unrecoverable failure.
    2009-11-04 10:22:00.593: [  CRSRES][2970861] Human intervention required to resume its availability.Any clue would be much helpful.
    TIA,
    JJ

    The srvctl failed 'coz of my problem(over security).
    /u01/app/oracle/product/10.2.0/db_1/log/<node_name>/racg/imon_SHCL1_prmy.log
    (thanks to support guy to taking me to this file.)
    In this file i saw the below error and it struck me.
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Nov 4 18:59:49 2009
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Enter user-name: ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: SP2-0306: Invalid option.
    2009-11-04 18:59:50.737: [    RACG][176] [28813][176][ora.SHCL1_prmy.SHCL1N02.inst]: Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon>  ::= <username>[/<password>][@<connect_identifier>] | /
    Enter user-name: Enter password:
    ERROR:
    ORA-01005: null password given; logon denied
    2009-11-04 18:59:50.738: [    RACG][176] [28813][176][ora.SHCL1_prmy.SHCL1N02.inst]: SP2-0157: unable to CONNECT to ORACLE after 3 attempt
    s, exiting SQL*PlusI had SQLNET.AUTHENTICATION_SERVICES=(NONE) in the sqlnet.ora, and this stopped the srvctl from logging into the db.
    1)Commented the entry in sqlnet.ora
    2)crs_stop -f ora.SHCL1_prmy.SHCL1N02.inst
    3)crs_stat -u => to confirm that the TARGET and STATE are OFFLINE for ora.SHCL1_prmy.SHCL1N02.inst
    4)srvctl start instance -d SHCL1_PRMY -i SHCL1N02
    and the instance came up.
    They would investigate on regarding the ORA-7445 error.
    Regards,
    J J

  • RoboCode crashes with SeedGenerator thread creation error?

    Hello everyone.
    I recently came across a game called RoboCode. It seems to be a tank battle simulator where you write the AI in Java.
    Unfortunately, it won't start on my Windows computers. I get this error:
    Exception in thread "SeedGenerator Thread" java.lang.InternalError: internal error: SeedGenerator thread creation error.
            at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)Anyone got any idea why? I haven't the foggiest clue how to fix it or get around it - or even what it means.
    Thanks,
    -Kramy

    I'm awaiting a reply right now.
    But if Google couldn't turn up much, then it probably isn't a very common error? ;)

  • I try to open Firefox. Get error message saying Firefox is already running and needs to close - another error message say Firefox can't open

    Turned on laptop (rebooted) after being away from it for a few hours. Went to open my home page. Error message popped up saying Firefox is already running and must be closed. I closed it and another error message popped up saying Firefox can't open - incomplete or missing files.
    I went into Processes to close Firefox. Selected 'end process' but nothing happened.
    Tried to use Internet Explorer but it just gets hung up. Cannot access anything.
    And, because I can't open Firefox, I can't go a refresh.
    Everything was working just fine a few hours ago.
    Any thoughts?

    What is the computer system and Firefox on the bad computer?
    Separate Issue;
    Your System Details on this computer shows;
    Multiple versions of your Adobe programs.
    Having more than one version of a program may cause issues.
    Go to '''adobe.com''' and download the full installers after removing
    all of the old programs.
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?
    This is not a cure but will make it easier if Firefox locks up in Windows.
    '''https://support.mozilla.org/questions/997866''' {web link}

  • Error: "firefox is already running". Won't start until I stop process on task mgr.

    I cannot start firefox. Error message tells me that it is already running.
    It is not running, but shows in task manager processes. If I end the process, I can start Firefox.

    -> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • CRS-0210: Could not find resource 'ora.qlxdgalc001.vip'.

    Hi All,
    I am in a situation where I was not able to add the vip. This is the scenario:
    I recently deleted one of the nodes from a 4 node cluster as some of the h/w maintenance is required for node1. after the maintenance window, I am adding the node back to the cluster. When I add the node back, I am not able to register the vip of the node with the cluster. The command and the error that I am getting are as follows:
    [root@qlx001 ~]# srvctl add nodeapps -n qlxdgalc001 -o $ORACLE_HOME -A qlxd001-vip.abc.com/255.255.255.128/bond0
    CRS-0210: Could not find resource 'ora.qlxd001.vip'.
    Your suggestions are highly appreciated.
    Thanks,
    Sai.

    Any replies are highly appreciated.

  • SOA-- Invoking OSB Service Getting Error :ORA-00084: global area must be PGA, SGA, or UGA

    Hello Friends,
    Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration related to SOA, as same working as expected in PROD.PLEASE ASSIST
    Need your inputs on the Error Message we are getting which Invoking OSB Service.
    "Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA "
    Can you please review and confirm if the same encountered before or assist on the same:
    XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -- Define the SOAP request according the the definition of the web service being called
    l_soap_request := 
                '<?xml version = "1.0" encoding = "UTF-8"?>'
            || '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prox="http://OmnicareFinance/ProxyInput/">'
             ||   '<soapenv:Header/>'
             ||     '<soapenv:Body>'
             ||       '<prox:InboundProcess>'
             ||     '<Source_system>'||g_source_instance||'</Source_system>'
             ||     '<Run_mode>'||g_run_mode||'</Run_mode>'
             ||     '<Batch_key>'||g_batch_key||'</Batch_key>'
             ||     '<Request_id>'||g_request_id||'</Request_id>'
             ||     '<Invoice_Header_File_name>'||g_file_name||'</Invoice_Header_File_name>'
             ||     '<Invoice_Line_File_name>'||NULL||'</Invoice_Line_File_name>'
             ||     '<File_location>'||g_file_location||'</File_location>'
             ||       '</prox:InboundProcess>'
             ||     '</soapenv:Body>'
             ||   '</soapenv:Envelope>';
    Oracle Apps Log File
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Response> status_code: "200"
    -->Response> reason_phrase: "OK"
    -->Response> http_version: "HTTP/1.1"
    -->Response From OSB: <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:prox="http://OmnicareFinance/ProxyInput/"/><soapenv:Body xmlns:prox="http://OmnicareFinance/ProxyInput/"><prox:InboundProcessResponse><status>E</status></prox:InboundProcessResponse></soapenv:Body></soapenv:Envelope>
    -->OSB Response: E
    -->Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.capture_error_info
    THANKS
    ANKUR

    Hi..
    >
    # symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
    # cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
    >
    For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
    which quotes
    >
    SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
    *Buffer cache (DB_CACHE_SIZE)
    * Shared pool (SHARED_POOL_SIZE)
    * Large pool (LARGE_POOL_SIZE)
    * Java pool (JAVA_POOL_SIZE)
    * Streams pool (STREAMS_POOL_SIZE)
    If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
    >
    So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
    HTH
    Anand

  • Service Contracts Billing Schedule Creation Error

    Hi,
    I have a requirement of creating service contracts from back-end for which I am using the oks_contracts_pub.create_contract_header, create_service_line, and create_bill_schedule. I am creating my contracts with active status and renewal type of EVN (Header level), FUL(Line Level). My contract is of type subscription. The contract header and line are creating fine but the Bill schedule API is throwing an UNEXPECTED ERROR. The billing schedules need to be created based on accounting rule which can be quarterly or monthly. I have included the bill schedule code (hard coded values) for review. Any help is greatly appreciated.
    Also the version I am working on is R12
    ________________________________________________CODE___________________________________________________________________
    CREATE OR REPLACE PROCEDURE BILLING_SCHEDULE AS
    l_strm_level_tbl OKS_BILL_SCH.STREAMLVL_TBL;
    v_bill_qtrs NUMBER := 0;
    v_bill_mths NUMBER := 0;
    v_bill_days NUMBER := 0;
    v_net_amount NUMBER := 468;
    v_acct_rule_name VARCHAR2(50) := 'QUARTERLY';
    v_amt_per_day NUMBER;
    x_error_locator VARCHAR2(2000);
    v_start_date DATE := '04-MAY-2010';
    v_end_date DATE := '25-MAY-2010';
    x_return_status VARCHAr2(3);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    v_billing_sequence NUMBER;
    x_chr_id NUMBER := 17000;
    x_line_id NUMBER := 223248604345353294444923586786456728480;
    g_day_uom VARCHAR2(10) := 'DAY';
    g_month_uom VARCHAR2(10) := 'MTH';
    g_quarter_uom VARCHAR2(10) := 'QTR';
    v_amt NUMBER;
    v_invoicing_rule_id NUMBER := -2;
    BEGIN
    --Create Billing Schedule based on accounting rule
    okc_context.set_okc_org_context;
    MO_GLOBAL.INIT('OKS');
    MO_GLOBAL.SET_POLICY_CONTEXT('S', 83);
    v_bill_qtrs := 0;
    v_bill_days := 0;
    v_bill_mths := 0;
    SELECT NVL(v_net_amount, 0)/(v_end_date - v_start_date)
    INTO v_amt_per_day
    FROM dual;
    dbms_output.put_line('Calculated amt per day ' || v_amt_per_day);
    IF v_acct_rule_name LIKE '%QUARTERLY%' THEN
    --Quarterly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)/3),
    v_end_date - ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3))
    INTO v_bill_qtrs,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the qtrs and days');
    IF v_bill_qtrs > 0 THEN
    SELECT (ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3)) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated qtr amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    -- l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_quarter_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Quarterly schedule creation error ' || x_msg_data);
    ---DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    -- RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    dbms_output.put_line('sequence '||v_billing_sequence);
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR days ' || v_bill_days || ' ' || x_return_status);
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for quarterly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    ELSE
    --Monthly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)),
    v_end_date - ADD_MONTHS(v_start_date, FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)))
    INTO v_bill_mths,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the mths and days');
    IF v_bill_mths > 0 THEN
    SELECT (ADD_MONTHS(v_start_date,FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date))) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated the mths amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_month_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTHS');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTHS');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Monthly schedule creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTH days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTH days');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for monthly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    END IF;
    COMMIT;
    EXCEPTION
    when others then
    dbms_output.put_line('Error ' || sqlerrm);
    END;
    Thanks,
    Yash.

    Hi There,
    I have a similar requirement to create rental service contracts and create billing schedules.
    Can you please pass on your functional docs so that i can refer to them.
    Thanks,
    Raidu

  • ORA-12519 TNS NO APPROPRIATE SERVICE HANDLER - ERROR

    Hi,
    We are using JDeveloper 11g for developing our web applications in our company and connecting oracle database through DB Connectivity option. We give the informations like username, password, hostname, sid, port number for getting the DB connectivity and developing web applications through ADF Faces in JDeveloper 11g, and around 25 people are getting connected to Database and developing their respective pages.
    For first 30 minutes there is no DB problem, working quitely. After 30 minutes we are getting the error ORA-12519 TNS No appropriate service handler error, we tried to solve this problem by raising process number to 200 in init.ora file and killed the inactive sessions by getting session id from V$session table and restarted the DB Server. But still we are having this problem ORA-12519, after 30 minutes of starting the DB Server.
    Can anyone suggest or help to overcome this problem ORA-12519.
    Thanks
    Saravanan N
    Edited by: user11100608 on May 21, 2009 11:25 PM

    See if metalink note 552765.1 helps you in this case.

Maybe you are looking for