Script to Stop/Start Oracle Apps windows services

Hello,
I am trying to script 2 batch files, one to stop services and one to
start services.
So far I have the folloing for the stop script:
Stop services:
set ORACLE_HOME=e:\oracle\<sid>ora\8.0.6
set ORACLE_SID=<SID>
NET STOP "Oracle Reports Server [Rep60_HPP1]"
NET STOP OracleApacheServerHPP1_spud
NET STOP OracleFulfillmentServerHPP1_spud
NET STOP OracleMetricsClientHPP1_spud
NET STOP OracleMetricsServerHPP1_spud
NET STOP OracleConcMgrHPP1_spud
NET STOP OracleHPP1Ora806_1TNSListener80APPS_HPP1
However sometimes the concurrent manager fails to stop correctly and I
have to issue a 2nd command to forcefully shut it down. Does anyone
know how I can write this into my script? before it moves onto the
Apps Listener?
Any advise would be appreciated.
Thank you
Sarah

The error we sometimes get is that the concurrent manager was unable to stop we have to then use the following command to shut them down:
CONCSUB.EXE APPS/appspassword@PROD SYSADMIN "System Administrator" SYSADMIN WAIT=Y CONCURRENT FND ABORT
I was trying to use net stop in the script and if this didn't work, the script would issue the command above.
Thank you

Similar Messages

  • Shell script to stop/start oracle

    hi
    I want to build a shell script with argument the servername followed by either stop or start.
    How to do that in shell?
    thanks.

    #/bin/sh
    sqlplus -s "/as sysdba" <<!
    startup
    However, the output is:
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1281672 bytes
    Variable Size 251658616 bytes
    Database Buffers 356515840 bytes
    Redo Buffers 2912256 bytes
    Database mounted.
    Database opened.
    SP2-0103: Nothing in SQL buffer to run.
    How to get rid of this output??
    thx

  • How to Start Oracle Apps Services?

    Hi All,
    I am using RDBMS : 9.2.0.6.0; Oracle Applications : 11.5.10.2 on AIX.
    I am new to Apps and what to know how can I start and stop the Application and database services.
    Thanks

    Hi,
    I have one more issue regarding the database issue (I am new to apps hope people here don't mind to answer some silly question).
    We all are here to share the knowledge and gain from others isssue! So, please don't hesitate in asking any of your doubt whatsoever.
    For starting your database with spfile first create spfile from the pfile.
    SQL> create spfile from pfile;
    Than you will have to do a little changes in adstrtdb.sql.
    vi adstrtdb.sql
    look for
    startup pfile=/<mount_point>/oracle/<SID>db/9.2.0/dbs/init<SID>.ora
    and delete the pfile=...
    it must just be startup
    now you can start your database and it will start with spfile.
    Thanks,
    Anchorage

  • Error while starting Oracle Secure Backup Service on Windows

    Hi,
    I've installed an Oracle 10gR2 database, and an OSB on a Windows XP (SP2) machine, and when trying to start the service (Oracle Secure Backup Services) I got the following error :
    "Unknown():Unable to load dynamic library'./php_osb.dll'-The operating system cannot run %1"
    This error message pops up 2-3 times, and I cannot login to OSB web page.
    My database works ok, but I cannot "test" OSB
    Anyone else had the same problem? Any ideas ?
    Thanks,
    Panagiotis

    Hi-- could you please describe your administrative domain?
    I need to know the operating systems on each of the
    clients and the OSB admin server. Also, does 'obtool' CLI
    tool work? Do any of the machines act as an apache webserver
    for another application? Is there any other backup service
    running on any of the machines?
    thanks,
    Judy
    I noticed that when re-installing the OSB without the
    Administrative Server (only Media Server and Client)
    I got no errors at all (but still cannot connect from
    another Administratice Server to my machine)

  • Oracle 9i Windows service error

    Hi all,
    Oracle 9i,
    Windows 2K
    I am starting the Oracle database service in my windows 2k but it throws me errors:
    The OracleServicePROD1 service terminated with service-specific error 997 (0x3E5).
    he description for Event ID ( 0 ) in Source ( OracleServicePardv1 ) cannot be found. The local computer may not have the necessary
    registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag
    to retrieve this description; see Help and Support for details.
    The following information is part of the event: OracleServicePardv1 error: 997, LoadOpsOsd.How do I troubleshoot service startup errors?
    Please help me.....
    Edited by: KinsaKaUy? on Jul 4, 2011 9:01 PM

    Oracle 9i,
    Windows 2K
    I am starting the Oracle database service in my windows 2k but it throws me errors:
    The OracleServicePROD1 service terminated with service-specific error 997 (0x3E5).
    he description for Event ID ( 0 ) in Source ( OracleServicePardv1 ) cannot be found. The local computer may not have the necessary
    registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag
    to retrieve this description; see Help and Support for details.
    The following information is part of the event: OracleServicePardv1 error: 997, LoadOpsOsd.Check the oradim.log file in ORACLE_HOME/database.
    stop and again start if not
    drop and recreate the ORACLE service using ORADIM.
    http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/create.htm

  • Setting up OIM to start as a Windows Service running under Weblogic 10.3.2

    Hi,
    On recommendation from our Oracle Rep. we have begun migrating our existing OIM installation on Oracle AS to a Weblogic Application Server. As such we are looking for a way to get the OIM application to run as a service in windows - so we dont have to start it manually after a reboot and so that system monitoring can alert us if/when the application crashes for some reason.
    I have asked Oracle support - which basically said that no such howto/documentation exists and that "One needs to debug on their own when face any issue." (whatever the h*** that means).
    I was thinking that we werent the first customers trying to get the OIM webapplication to start automatically under weblogic and that someone must have figured out a way to accomplish this ?
    Any advice on how to do this will be greatly appreciated.
    Thank you in advance.
    /Jacob

    Hi Jacob,
    See this post that I answered few time ago. Re: Keeping Remote Manager running - Windows
    Our OIM is running as a Windows Service.
    REnato

  • Error while starting Oracle App server

    I installed Oracle App Server
    when i am trying to start App server I am getting following error.
    K:\OAS\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=coeserv0:6200
    0 of 1 processes started.
    ias-instance id=ORACOESERVER.coeserv0.wipro.com
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=10760)
    failed to start a managed process after the maximum retry limit
    Log:
    k:\OAS\opmn\logs\HTTP_Server~1
    I tried to start Apache it is also giving following error.
    K:\OAS\Apache\Apache>apache
    [Tue May 17 17:43:08 2005] [warn] pid file k:/oas/apache/apache/logs/httpd.pid o
    verwritten -- Unclean shutdown of previous Apache run?
    ap_spawn_child: Bad file descriptor
    Couldn't fork child for piped log process
    Note the errors or messages above, and press the <ESC> key to exit. 29...
    K:\OAS\Apache\Apache>
    Amit

    Hi Cema,
    Make sure that httpd.conf file (located at /ORACLE_HOME/Apache/Apache/conf ) has not changed.
    Is your AS running on Linux? ".so" is used in case of linux only and for windows extension should be ".dll"
    Please use the same if your http server is running on windows. HTTP Server documetation may have more details related to this.
    Regards,
    Anuj

  • Unable to start Oracle Process Manager Service

    I installed EPM 11.1.2.1 on Windows 2008 R2.
    Oracle database 11g.
    I installed and configured every thing was working fine. But suddenly the Oracle Process Manager service is not starting.
    I checked in event viewer the following error i found:
    The Oracle Process Manager (EPM_epmsystem1) service failed to start due to the following error:
    The service did not respond to the start or control request in a timely fashion.
    Please help me.

    Hi Jasmin,
    The error was:
    The service did not respond to the start or control request in a timely fashion.
    Thanks,
    Ravi.

  • Can't start Oracle BI Server service after uploadingo RPD

    Hi,
    I have just installed OBIEE 11g and I have some problems, or I don't know fine 11g version :-)
    ONLINE RPD
    1) It response with UNKNOWN ERROR in case I would like to add new DATABASE in Physical Layer;
    2) The consistency check fail with nQSerror: 37005 Transactional Update Failed
    OFFLINE RPD
    I deploy without problem, but after uploaded RPD on line and I do start and stop with opmnctl command, the Oracle BI server service still Down ad not Alive. Other services still Alive.
    The RPD chek consistency response without error!!!
    Please can you help me???
    Thx
    GIUSEPPE CONZO

    The entire file log message is:
    //# Copyright (c) 1997-2011 Oracle Corporation, All rights reserved
    //# VERSION 1
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-22 11:13:30.142
    //# SAVED : 2012-08-22 15:45:03.896
    //# END SESSION ChangeLogTimeStamp:2012-08-22 15:45:04.554
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-22 15:51:10.183
    //# SAVED : 2012-08-23 09:08:16.877
    //# END SESSION ChangeLogTimeStamp:2012-08-23 09:08:19.911
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 09:10:33.007
    //# SAVED : 2012-08-23 10:03:51.001
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:03:51.563
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:04:26.237
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:04:37.229
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:05:24.176
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:08:30.691
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:08:45.497
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:08:50.313
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:17:05.808
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:17:11.193
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:20:53.579
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:21:45.639
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:22:33.292
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:22:38.474
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:26:02.480
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:26:10.252
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:28:36.411
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:28:42.221
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:28:57.728
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:29:50.166
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:30:08.406
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:30:13.433
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:35:06.181
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:35:12.237
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:36:52.816
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:49:15.696
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:50:17.050
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:50:22.617
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:52:19.294
    //# END SESSION ChangeLogTimeStamp:2012-08-23 10:54:52.161
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 10:59:48.588
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:03:35.447
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:04:46.787
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:21:09.629
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:21:27.020
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:25:23.819
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:30:03.133
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:35:25.779
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:35:57.415
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:50:50.490
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:51:08.165
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:52:21.261
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:52:36.061
    //# END SESSION ChangeLogTimeStamp:2012-08-23 11:53:52.961
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 11:56:02.026
    //# END SESSION ChangeLogTimeStamp:2012-08-23 12:16:59.915
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 12:17:11.915
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 12:17:18.767
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 12:17:34.227
    //# BEGIN SESSION ChangeLogTimeStamp:2012-08-23 12:52:33.344

  • Error testing webservice using ESB with Oracle apps adapter services

    When creating a simple ESB project with Oracle Applications adapter service, i get the following error when testing the webservice via EM.
    SOA suite 10.1.3.3
    oracle EBS 11.5.10
    Any pointer on how to fix this is very much appreciated.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:ESBMessageProcessingFailed</faultcode><detail><EventName>DefaultSystem.GetOrderRS.executeprocedure</EventName><Cause>An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/LoadCustomer_orappdorders/orappd11i.wsdl [ orappd11i_ptt::orappd11i(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'orappd11i' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         ORABPEL-12532
    Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         ORABPEL-12532
    Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec

    Fix is as pointed in Error reported during AP Invoice concurrent program.

  • MS Services error 1064 when trying to start Oracle BI Scheduler service

    I am trying to configure Oracle BI Scheduler. After working through the config routines the Oracle BI Scheduler Service needs to be re-started. The Microsoft error message I get in the Services dialog is both consistent and persistent: "Could not start the Oracle BI Scheduler on local computer. Error 1064: An exception occurred in the service when handling the control request." This error seems to be well-known among users of this product, but the solution - if there is one - is not at all well-known... at least to me. Any help?

    Follow this article and make sure you defined all the steps. If any of these steps are wrong, the service throws the error.
    http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
    and also check is scheduler database is up and running.
    - Madan

  • Cannot start Oracle BI Scheduler service ---pls help.

    Hi all,
    I'm new in OBIEE.
    I already installed and created some reports and dashboards in OBIEE. I found the problems that they are not updated data when new data loaded into DB.
    I tried to start the Oracle BI Scheduler service but it has had the error like the message below;
    "The description for Event ID ( 21 ) in Source ( Oracle BI Scheduler ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details.
    The following information is part of the event: [68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuration is incorrect.
    [nQSError: 67004] Registry value for SchedulerScriptPath not set.."
    Could anyone suggest me how would I be able to solve this error ?
    Thank you in advance.
    NNN

    hi
    First I do thank you for your answer quickly.
    For now, I have tried to follow your suggestion but I found a new error when I start bi scheduler service.
    ==========================================================================================
    The description for Event ID ( 21 ) in Source ( Oracle BI Scheduler ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [68008] Scheduler Error:
    Current Table: S_NQ_JOB.
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed.
    Current Table: S_NQ_JOB_PARAM.
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed.
    Current Table: S_NQ_INSTANCE.
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed.
    Current Table: S_NQ_ERR_MSG.
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed..
    ===================================================================
    Any concern that I should know and how can I hanle this error ?
    Thank you

  • New install cant 'see' infoview etc when Tomcat starts as a windows service

    Post Author: sdimb
    CA Forum: Deployment
    Help, we are a new site trying to install BOXI R2 SP2 on a windows server.  We have installed as per all instructions including Tomcat but when we try to 'use' Infoview we get a blank page.  If we stop Tomcat and restart it via the command prompt we can use Infoview but we need to have this working as a windows service.  We have tried re-installing several times and always get the same result.  does anyone have any ideas as to what we have done wrong please.

    Post Author: mewdied
    CA Forum: Deployment
    Running tomcat as a service may be running under a different user context than when running it via the command prompt.  This may be causing your issue.

  • Welogic failed to start as a Windows services

    I have installed Weblogic 816 and I am able to start it from command line. I also install it as a Windows 2003 Service but failed to start. The error is "Could not start the beasvc myserver service on local computer Error 1067: The process terminated unexpectedly"
    What am I missing and how to debug it?
    Thanks

    See if you are following these steps given below URL while creating weblogic server instance as windows service.
    http://ananthkannan.blogspot.com/2009/10/how-to-create-weblogic-server-as.html

  • Error While starting Oracle APPS services in windows

    While starting the Oracle Applications services in windows, it gives some memory error, "unable to read memory XXXXXX".
    Is it possible to recreate the services alone?
    How i can solve the problem with out re-Installation?

    johnveslin,
    I would recommend to theck HW.
    Disk. Memory etc.
    Yury

Maybe you are looking for

  • Differentiate between shortcut keys Alpha (keyboard) Enter and Number Pad (10 key) Enter

    I need to be able to differentiate between the Keyboard enter and the 10 key enter (see image below) using a shortcut key in Captivate and/or Flash. These keys are used for two different reasons in the application that I am creating a simulation for.

  • Inserting SIM card into iPAD

    For the third time of asking, and thank you to those who have responded so far. HOW DO YOU INSERT THE SIM CARD? I know about the pinhole into which one sticks a paper clip or suchlike and the sim cradle is supposed to slide out. BUT NOTHING HAPPENS A

  • APPS Schema name hardcoded in Oracle Applications Adapter Wizard

    Hi, I am current evaluating the use of Oracle BPEL using the OA Adapter. Problem is that the APPS schema is called something other that APPS, say APPS1. When creating a partner link using the OA Adapter wizard, the Wizard is look for the object under

  • Longtime Sat. internet user's compromise and point of view....

    Finally gave up my Hughesnet now that I can get a good 3G signal in my remote location.   Yes it is and always will be my decision to live in the country.  So I know my options are limited.  But in the couple of weeks I've had Verizon, it has been wo

  • System form resizing problem

    Hi, I expanded the width of the Sales Quotation system form and move fields to the right to allow space for new fields in the centre. I used the oForm.Width to adjust this. If I load the form, expand to full screen, everyhting is in the right place a