Start/stop the OMS Services on Same Host

Hi,
I have OMS, Repository database and Agent on the same host.....
I want to stop and start the services...
==========================
FOR Shutdown
=====================================
Stop the Agent
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
stop the OMS Services
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopall
Stop the Repository Databas Listner
$cd $ORACLE_HOME/bin/lsnrctl stop LISTENER
STOP THE database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> shutdown immediate
====================================
FOR Startup
=====================================
start the Repository Listener
$cd $ORACLE_HOME/bin/lsnrctl start LISTENER
start the Database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> startup
start the OMS Service
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl startall
start the Management Agent
$cd $ORACLE_HOME/agent10g/bin/emctl start agent
======================================
is this the correct procedure...
can anybody help in this regard....

As an outline, it looks ok I think.
You may need some env variables set up in the script, add some error handling, etc...
I want to stop and start the services...
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopallRemove the "cd" from your command lines.

Similar Messages

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • How do I stop the Runtime Service (UNIX) for a period of time (24 hours)

    Greetings
    Environment:
    OWB Client 10g on Windows XP Professional
    Repository - 9.2.0.4 on UNIX (AIX 5.2)
    Target schema - 9.2.0.4 on UNIX (AIX 5.2)
    I need to stop the Runtime service for 24-48 hours while the database is being upgraded from 9i to 10g. It seems the running service is causing some problems as the database is being started and stopped by the upgrade process (dbma).
    What starts the Runtime service at database startup?
    How can I prevent it from starting for 24-48 hours?
    Anyone else have issues upgrading from 9i to 10g using the migration assistant (dbma)?
    I realize I can stop it with the stop_service.sh script but that won't prevent it from satrting by itself when the database is bounced.
    I looked at the JOB queues but it doesn't seem to be there as a job that can be controlled with the DBMS_JOB package.
    Any help is greatly appreciated.
    -gary

    Hi and thanks for the responses.
    In my case there have been no additions to the server startup script to start the Runtime service, it just starts when the database starts.
    As I stated, I am aware of the start_service.sh and stop_service.sh but these don't prevent the service from starting after a reboot of the server or a bounce of the database.
    Can anyone tell me how the Runtime service starts?
    After a database shutdown and startup I see the Runtime service running as an 'ACTIVE' UNIX process and also one or more Runtime User processes that are 'INACTIVE' but become active when a map is run.
    Any help is appreciated.
    -gary

  • How do starting/stopping of application services differ in R12 ??

    How do starting/stopping of application services differ in R12 when compared to 11i ??
    Can I start/stop services using opmnctl ??

    Can you plese refer me a document where role of OPMN and OC4J in R12 is mentioned ??? In short:-
    OPMN - Oracle Process Manager & Notification Server is component in Oracle Application Server (10g) to manage (start/stop/status) Application Server components (HTTP, OC4J)
    For more:-
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13996/intro.htm
    OC4J -- oracle container for java.
    In R12 we have 3 groups of OC4J's.
    oacore OC4J - framework based applications
    forms OC4J - forms based applications
    oafm OC4J - Fusion Middleware - for mapviewer, webservices, ascontrol.
    For more, pls read
    http://download.oracle.com/docs/cd/B10464_05/web.904/b10326/intro.htm
    thanks,
    JD

  • How do I stop the Inventory service?

    I'm running Zfd4 on a nw6 box. I want to stop the inventory service but
    keep ws import/remove services running. How do I do this?
    Thanks

    Dan-FJ wrote:
    > I'm running Zfd4 on a nw6 box. I want to stop the inventory service but
    > keep ws import/remove services running. How do I do this?
    >
    > Thanks
    >
    >
    invstop

  • Stop the oms

    Hi,
    how to stop the oms ?
    Regards.

    Hi Badri,
    that is what I receive :
    [oraoem@linux1 oraoem]$ oemctl stop
    -bash: oemctl: command not found
    [oraoem@linux1 oraoem]$ ./oemctl stop
    -bash: ./oemctl: Aucun fichier ou répertoire de ce type
    [oraoem@linux1 oraoem]$
    Regards.

  • Start/stop Grid Control services

    What are the service associated with Grid Control and what are the commands to start/stop them?

    Hi
    To start the grid control you need to start the agent
    and the web components in the oms home along with the agent.
    # Start ALL
    /oracle/product/10.1.0/oms/bin/emctl start agent
    /oracle/product/10.1.0/oms/opmn/bin/opmnctl startall
    /oracle/product/10.1.0/agent/bin/emctl start agent
    # Stop ALL
    /oracle/product/10.1.0/agent/bin/emctl stop agent
    /oracle/product/10.1.0/oms/opmn/bin/opmnctl stopall
    /oracle/product/10.1.0/oms/bin/emctl stop agent
    With best regards
    Shan

  • Logging of from NT stops the WebLogic Service

    Platform:
    WinNT 4.0SP6a
    WebLogic 6.0 (JDK 1.3)
    We have three instances running as a service on a server. Now, if someone
    logs off from the server all the WebLogic services just stop.
    Now, we found a tool JNT (http://www.eworksmart.com/jnt) which prevents
    killing the WebLogic instances.
    Are there others who experience this problem? (Pretty serious problem
    IMHO.) Now, the source of the problem is that the JVM stops when it gets
    the CTRL_LOGOFF_EVENT. Will it be fixed in 6.0SP1?
    Regards,
    Merg

    file for each replicated Service Object. I thought of using the PID (if
    possible) of the process, but then have to manage a clean-up process for the
    file system as the partition starts and stops over a period of time (the file
    gets created each time the partition starts). I would like to reuse the files
    if possible. Any suggestions?If you are starting the service object partitions manually, you can set an
    environment variable (eg. APP_LOG_FILE) to a different value prior to
    starting each service object partition. The code in the service object can
    use the environment variable contents to name its log file. This could all
    be scripted in the application startup.
    -Dave Muskatel
    David Muskatel
    Forté Software, Consulting
    Phone: 703/749-1445
    HQ Vmail: Extension 2325
    Email: [email protected]
    At 02:03 PM 5/29/96 -0400, you wrote:
    Hi,
    I have an interest in logging messages to a file from a Service Object that
    will be replicatied multiple times. All copies of the Service Object run on
    the same server in which I wish to log the messages. I want to have a unique
    file for each replicated Service Object. I thought of using the PID (if
    possible) of the process, but then have to manage a clean-up process for the
    file system as the partition starts and stops over a period of time (the file
    gets created each time the partition starts). I would like to reuse the files
    if possible. Any suggestions?
    Thanks,
    Bill Plumstead

  • Start/Stop remote oracle service

    Is there anyway I could start/stop a remote oracle service? Please provide source code. Thanks!

    HI,
    Suppose ur Database resides on X machine
    and u want to do remote login from y or z ,
    follow the conditions and steps below
    1) You need to install servermanager utility in ur remote machine
    2)then u need to run orapwd.exe utility on ur remote machine with following command
    "orapwd file=<full path name where u want to keep ur password file > password=<password> entries=<no of DBAs u want that password file to be accessed by>"
    after this u need to change Parameter in initialisation file , u will find one entry called "REMOTE_LOGIN_PASSWORDFILE=NONE" u have to change it to " REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE" u can also control multiple dabases from this same password file for that u will have to change above entry to REMOTE_LOGIN_PASSWORDFILE=SHARED,after this
    u need to pass following command "ALTER USER SYS IDENTIFIED BY <PASSWORD U LIKE > "
    this will change the password of both INTERNAL and SYS, now if u want to give multiple user access to this file then simply u grant two roles to them "ALTER SYSTEM GRANT SYSOPER,SYSDBA TO <USERNAME>" (INTERNAL AND SYS have these roles by default) this will add that user to that file now that user can also go to servermanager.Now u can Connect with any of the user which u have added in passwordfile in ur machine, and can remotely start or stop database with following Commands "STARTUP" "SHUTDOWN" respectively
    *Note -
    1)Location of password file is OS specific
    2)if ur using windows then u need to remove one entry in registry "DBA_AUTHORISATION =''
    Have Fun

  • Stopping the WL service from the Win2k Services screen is a simple "kill"?

    I have another question related to WLS as a WinNt service:
    If I use the WL console to stop a WL server, it initiates a normal shutdown.
    So for example:
    <The shutdown sequence has been initiated.> is put in the log.
    If I just stop the service in Win2k using the Services screen, nothing is
    logged.
    I'm just curious if it's normal (so "Stop" is equal to ^C if I start WL from
    the command prompt) or there is a problem in my configuraiton.
    It's a minor question, but it would be much easier to start/stop WL from the
    same place.
    BR,
    Adam

    I have another question related to WLS as a WinNt service:
    If I use the WL console to stop a WL server, it initiates a normal shutdown.
    So for example:
    <The shutdown sequence has been initiated.> is put in the log.
    If I just stop the service in Win2k using the Services screen, nothing is
    logged.
    I'm just curious if it's normal (so "Stop" is equal to ^C if I start WL from
    the command prompt) or there is a problem in my configuraiton.
    It's a minor question, but it would be much easier to start/stop WL from the
    same place.
    BR,
    Adam

  • What is the effect of stopping the EFS service on a 2012 Domain Controller?

    Hello,
    The Encrypting File System service was started and is running on a production 2012 Domain Controller, which is not a standard in our shop.  What is the potential impact if I stop the service? 
    Thanks for your help! SdeDot

    Hi,
    Have you already encrypted files or folders using EFS service in your domain?
    If not, and you are not planning to use it to encrypt files or folders in the future, then it is OK to disable it.
    If you have encrypted files with EFS service, make sure that they are all decrypted before disabling the service, otherwise no users will be able to access them.
    More information for you:
    How to Disable or Enabled EFS Encryption in Vista, Windows 7, and Windows 8
    http://www.vistax64.com/tutorials/102501-encryption-disable-enable.html
    How to: Disable Encrypted File System (EFS) on Windows 2008 R2
    http://markswinkels.nl/2012/06/how-to-disable-encrypted-file-system-efs-on-windows-2008-r2/
    Please Note: Since these web sites are not hosted by Microsoft, these links may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best Regards,
    Amy Wang

  • Resource not release when starting/stopping the deployed application

    I am testing to deploy an standard web application on Weblogic 11gR1 at Windows XP. It is running and everything is working fine. But I noticed below situation which concersns about the release of resouce during stop and start deployed application by using Admin Server Console:
    After the deployed application starting running in Weblogic, I go to Admin Server Console to select the deployed application at deployment section and click "stop\When work complete". It looks like that the deployed application was stopped and its state went to "Prepared". Then I start it again by click "Start\Servicing all requests". It started correctly. If I tried multiple times of "Start \ Stop" operations on this deployed application, then eventurally, I got "output memory" exception and Weblogic died. I wached the memory usage of Weblogic, when applying multiple times of 'start / stop' operation on an deployed application, the memory usage of weblogic continuese to grow and until "output memory" exception occurs.
    Is it normal? What might be wrong when configuring weblogc? or somethng wrong for deployed application?
    Anybody can provide any help would be great appreciated.
    Thanks in advance.
    Jim

    Hi Mithun,
    Thanks for your reply! If stopping the deployment need some time to finish, So, admin console of weblogic should disable ( grey out ) its starting button while the related deployed application is still shutting down. After the deployed application were stopped completely, then enable the starting button again to avoid the issue.
    I just feel a little bit strange for the admin console of Weblogic to behavior on start / stop deployed application.
    Thanks,
    Zhiping

  • Deploy wsp through Power Shell- start stop SP admin service and run execadmsvcjobs command using power shell

    Hi,
     Can anyone pls point me any link/ src code  for  deplyoing wsp using power shell. I know I can deploy it through Add-spsolution and install-spsolution, the issue is that, it will give   "status - stuck in deploying scheduled..."
    and i need to restart the sharepoint services - services.msc --> SP administration and timer services - and then i need to run the exceadmsvcjobs command to deploy / update the wsp  successfully in solution store.
    i mean, whats the power shell equivalent of these tasks. or anyone has already scripted these.
    if i elaborate little bit, would like to know how to automatically Retract, Remove, Add and Deploy SharePoint 2010 WSP Solution Files with PowerShell

    ok, i have found  the same :
     here its : hope this will help someone.
    function wait4timer($solutionName)
    $solutionName ="TestingWSP.wsp"
    $solution = Get-SPSolution | where-object {$_.Name -eq $solutionName}
    if ($solution -ne $null)
    Write-Host "Waiting to finish soultion timer job" -ForegroundColor Green
    while ($solution.JobExists -eq $true )
    Write-Host "Please wait...Either a Retraction/Deployment is happening" -ForegroundColor DarkYellow
    sleep 5
    Write-Host "Finished the solution timer job" -ForegroundColor Green
    try
    # Get the WebApplicationURL
    $MyWebApplicationUrl = "http://srvr:21778/";
    # Get the Solution Name
    $MywspName = "TestingWSP.wsp"
    # Get the Path of the Solution
    $MywspFullPath = "D:\myWorkspace\TestingWSP.wsp"
    # Try to get the Installed Solutions on the Farm.
    $MyInstalledSolution = Get-SPSolution | Where-Object Name -eq $MywspName
    # Verify whether the Solution is installed on the Target Web Application
    if($MyInstalledSolution -ne $null)
    if($MyInstalledSolution.DeployedWebApplications.Count -gt 0)
    wait4timer($MywspName)
    # Solution is installed in atleast one WebApplication. Hence, uninstall from all the web applications.
    # We need to unInstall from all the WebApplicaiton. If not, it will throw error while Removing the solution
    Uninstall-SPSolution $MywspName -AllWebApplications:$true -confirm:$false
    # Wait till the Timer jobs to Complete
    wait4timer($MywspName)
    Write-Host "Remove the Solution from the Farm" -ForegroundColor Green
    # Remove the Solution from the Farm
    Remove-SPSolution $MywspName -Confirm:$false
    sleep 5
    else
    wait4timer($MywspName)
    # Solution not deployed on any of the Web Application. Go ahead and Remove the Solution from the Farm
    Remove-SPSolution $MywspName -Confirm:$false
    sleep 3
    wait4timer($MywspName)
    # Add Solution to the Farm
    Add-SPSolution -LiteralPath "$MywspFullPath"
    # Install Solution to the WebApplication
    #Install-SPSolution -Identity <SolutionName> -WebApplication <URLName> [-GACDeployment] [-CASPolicies]
    install-spsolution -Identity $MywspName -WebApplication $MyWebApplicationUrl -GACDeployment #-FullTrustBinDeployment:$true -GACDeployment:$false -Force:$true
    # Let the Timer Jobs get finishes
    wait4timer($MywspName)
    Write-Host "Successfully Deployed to the WebApplication" -ForegroundColor Green
    catch
    Write-Host "Exception Occuerd on DeployWSP : " $Error[0].Exception.Message -ForegroundColor Red
    ref :
    http://www.sharepointpals.com/post/How-to-Deploy-a-SharePoint-2013-Solution-(WSP)-in-the-Farm-using-PowerShell

  • Script Start/Stop Oracle Applications Services

    Hi
    I am constructing some scripts to stop or start some Oracle Applications services (APP, Apache, DB, Construct Manager, discover, forms, etc)
    I now that are some script in the folder \viscomn\admin\scripts\, but my questions are, what services must I stop/start first?? The APP?? Then the BD vision?? Then apache?? Or first BD, discover, apache, app, etc?
    Please can anyone help on this? Tank you
    JailBreak

    Hi
    Tank you for your reply’s.
    Yes i will use the Oracle scripts to stop and start services.
    But when the Network Administrator shutdown the server, he must shut down some services, and I will include this scripts in the main script. But my dough was what services will stop first.
    The IAS services don’t need to be started?? My IAS service are all stopped and if I start Apache Server Service first, the IAS HTTP Server service don’t start. I must start IAS HTTP Server first, then start apache server. IF not give an error and the service don’t start. But then after the Apache Server will stop by itself.
    And some times the Oracle script doesn’t start the Concurrent Manager Service. I must start it manually.
    My services that are started are:
    Oracle Apache Server
    Oracle Fulfiment Server
    Oracle Metrics Server
    Oracle Metrics Client
    Oracle Reports Server
    Oracle Concrrent Manager
    Oracle Discover Server
    Oracle Forms Server
    Oracle OracleVIS_db920_RDBMSTNSListenerVIS(from the OracleVIS_db920_RDBMSTNS this is the only service that are started, the others are stopped. Is this correct?)
    Oracle OracleVISOra806_2TNSListener80APPS_VIS
    This is all the services that are started.
    But I have a problem in my discover. When I login to the applications as a user, and pick some options (that will open discover) it gives me one error.
    Locator unable to start session altranitsgp.altranit.pt_8000OracleDiscovererSession4. - Hint: An administrator can further diagnose connection problems by running the "checkdiscoverer" script under <ORACLE_HOME>/806/discwb4/util.
    But I have started the Discover Server and tested, and all went ok. The problem is in the applications. I don’t know why.
    Any one can give a hand on these issues?
    Tank in advance.

  • How to stop the remote service call

    Hi
    On loading a screen i place some service call, now i move to next screen , but still the service call is running, i have to stop or cancel the last placed service call.Is there any way to stop the service call with out disconnecting the channel.
    thanks in advance
    karthy

    Here are the solutions I can think of (if no one here responds with something better):
    1. Open Settings and then Phone within the Settings screen and see if you can find a setting there for the call summary. The Phone submenu under Settings would be the most likely place.
    2. Open Settings on your iPhone and go through each item including all of the items within each main item. Within about 10 minutes you should be able to get through all of the settings and find the setting if it exists on your phone. There is no such setting on my phone but it is possible that Airtel has a custom menu with that.
    3. If you still haven't found it, you could check a) Airtel's support site and/or b) an Airtel specific forum.
    4. If still no luck, I would call Airtel and ask again and if you get the same response ask for the location of the setting (or to speak to someone who can tell you).
    Good luck.

Maybe you are looking for

  • Firefox will not install on my laptop using windows 7. I keep getting a message saying that the installation was interrupted

    Every time I try to install firefox on my laptop i get a message saying that the installation was interrupted. I am using windows 7.

  • Question about behavior of txn_checkpoint()

    I'm just trying to determine if the behaviour I'm seeing is expected or whether I have coded something wrong. I am using version 4.7.25 in a replicated (1 master 1 slave) environment. I have a main thread that reads network requests and does db->get(

  • Free download of Oracle Kodo library

    Hi All, I'm newbie to JPA. I'm developing on Weblogic Workshop 10.3. I'm trying to add facets of JPA(1.0) and Oracle Kodo(4.1). I tried to add KODO library from Oracle site. (Selected Option, Use Oracle Kodo library from ORacle web site). I get the f

  • Slow to open print window in Reader 9.1

    Each time I try to print a pdf it takes at least minute for the print setup window.  It worked fine in 8, but when I switched to 9 this started to happen.  I tried uninstalling 9 & going back to 8 but now it happens in 8 also, so I just updated to 9.

  • Validate Time using API.

    Hi, I want to validate the time hh:mm:ss using a API. I tried using [common validator |http://commons.apache.org/validator/api-1.3.0/org/apache/commons/validator/routines/TimeValidator.html] apache API. This API returns null if the passed time is inv