Start and shutdown Oracle10g (WinXP) via Batch?

Hi,
I installed Oracle10g at my Notebook (WinXP) and I don't need it every day. So I'd like to shutdown all oracle Services and start all services like a Batch-Script or Icon at my Desktop.
Is there any way to start an shutdown all Oracle jobs?
Thanks
Winni

To add,
And of course you will NEVER use "net stop blabla" on a prod DB.
Never.
You can also use:
emctl stop (to stop the enterprise manager)
agentctl stop (to stop the dbsnmp - think the cmd did not change in 10g, but can't check atm)
oradim -shutdown -sid DBNAME -shuttype srvc,inst -shutmode i (to stop the instance and service. execute "oradim" to have all options)
lsnrctl stop (stops the listener)Other services still running? you can now net stop them.
Regards,
Yoann.

Similar Messages

  • Auto start and shutdown 9iR2 on Mac OS X?

    Does anybody know how to set up Mac OS X to auto start and auto shutdown 9iR2 on Mac OS X?

    You may want to create an item in /Library/StartupItems.
    See the following links for information:
    http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/Customization_Techniques.html
    http://developer.apple.com/techpubs/macosx/Darwin/howto/system_starter_howto/system_starter_howto.html
    http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/The_Boot_Sequence.html
    I have not tried this as yet.

  • How to start and stop sapmmc server when windows is started and shutdown

    Hi,
    May i know how i can make sure the sapmmc server for ECC 6.0 to start when the windows 2003 server is started. I know i need to add this as a service in the windows service manager but i dont know how to do that.
    Please advise me on how to add a service to start the sapmmc server when windows is started and how to stop the sapmmc server automatically when windows is shutdown.

    Hi Raja
    checkout this document m sure it will help you in configuration
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0512c790-0201-0010-72b7-886677ad7955
    also check
    /message/6511605#6511605 [original link is broken]
    All the best ,,
    Cheers
    dEE

  • How to automate the Oracle database start and shutdown process

    How we can automate and oracle database start and stop procees with Linux start/shutdown process.
    I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.

    Hi,
    I can share my scripts:
    1) /home/oracle/start_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    lsnrctl start
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    startup
    exit
    ENDSQL
    emctl start dbconsole
    isqlplusctl start
    NOTE: emctl and isqlplus are optional
    2) /home/oracle/stop_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    isqlplusctl stop
    emctl stop dbconsole
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    shutdown immediate
    exit
    ENDSQL
    lsnrctl stop
    NOTE: emctl and isqlplus are optional
    Then what you need:
    1) K91oracle_stop (put it in the desired run level)
    #!/bin/bash
    # description: Stop Oracle before reboots
    su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
    2) S91oracle_start (put it in the desired run level)
    #!/bin/bash
    # description: Start Oracle after reboots
    su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
    Bye.

  • What is the password for start and Shutdown Oracle8i?

    Dear all,
    I Can not know the password for shutdown and start(lost the password)
    My Sid & Global database is : ORCL
    After install complete
    Just do below step:
    Step 1 Start up/Mount my installed database with Oracle 8 SQL Plus.
    Connect as system/manager.
    Alter user sys identified by sys;
    Step 2 Connect as scott/tiger.
    Select * from emp;
    After I do this when I want Shutdown Oracle8i
    system ask my enter password!!
    can anyone help me?
    Nick wong

    try the following
    svrmgrl
    connect internal
    startupor
    svrmgrl
    connect internal/oracle
    startupIf you have a standard installation here are the passwords:
    Userid Password
    Internal Oracle
    Sys change_on_install
    System Manager
    BTW the documentation states how to change all of the passwords. There is a big security hole if you do not.
    Also there is a DBA discussion group where you can post database questions.

  • Start and shutdown SAP done thru scripting

    Hi gurus,
    For example, I want to shutdown my whole system including SAP system during Fridays and I want to up the whole system including SAP system on Mondays.
    Is it possible to shutdown and start SAP "automatically" including the system as a whole (meaning including the OS) thru some scripting without anyone doing the shutdown and start up manually? My OS is Red Hat Enterprise Linux 4.0 and DB is MaxDB 7.6.
    I  guess it is possible on the OS thru scripting it by adding it to the init file but I'm not sure on the SAP system.
    Please enlighten me. Is there a way? Is it possible?
    Thanks,
    Paul

    HI Paul
                 Write a QTP (Quick Test Partner) script. Actually i had played with it some time back. The QTP, Red hat compatible can resolve your issue. Try it.
    <b> Help full: Reward points </b>
    Thanks and Kind Regards
    Mohan

  • Solution that worked for me - Slow to start and shutdown

    System: Macbook Pro Late 2011 8GB RAM Seagate Hybrid Drive
    Problem: After Upgrade, slow to boot, slow to shut down and, on occasion, would hang at shutdown requiring Hard Shutdown.
    Solution:  Cleared PRAM and reset SMC
    To "Reload" OS portion back into the 8GB NAND memory of the HDD, restart the system 10 times.

    Base Station Firmware: 7.2
    Airport Utility: 5.2.1
    Wireless Radio: 802.11n only (5.0 GHz)
    Channel: Automatic
    Wireless Security: WPA2 Personal
    Under 'Disks' File Sharing is enabled with a disk password (as opposed to accounts or base station passwords). Guest Access is not allowed. The rest are the defaults.
    Now I've been having interesting problems with USB external drives mounting on my iMac. One never did (but was always successful with FireWire) and a second one was inconsistent. The drive that I have attached to the AEBS at the moment is one that I finally made fully functional with my desktop so I don't know if that is related. I'm going to have to run a number of additional tests.
    Note: my wireless is pure .n - not a mixed environment. I also had a speed issues with the iMac (wired ethernet) until I changed it from manual (100BaseT, full duplex for use with my old Belkin) to Automatic and re-enabled IPv6 which is enabled on the AEBS.

  • MacBook Pro is slow to start and shutdown

    hi
    i have macbook pro 15 inch retina
    from laat months its become slow in start up and shoutdown?
    why?
    how can  solve it
    tnks

    hm... that's weird.
    Someone at MacRumors suggested to clean the system cache and it seemed to have fixed this issue for him:
    sudo chown root:admin / (enter password when asked)
    sudo kextcache -system-prelinked-kernel
    sudo kextcache -system-caches

  • Automating Database up & down when server start and shutdown in Linux

    Hi to all,
    Question:How to set in linux, whenever server is on the database up and server off the database down?
    Problem: whenever i am issue the command "chkconfig --add dbora"
    or "chkconfig --level 345 dbora on"
    The message is as follows
    service dbora does not support chkconfig.
    I use oracle 9i on Redhat linux as 3.
    please send reply as soon as possible

    http://tldp.org/HOWTO/Oracle-9i-RH8-and-RH9-HOWTO-5.html ??
    Maybe you can use this. Its probably also hidden somewhere inside manuals for unbreakable/redhat oracle linux on metalink. Dunno why they insist on NOT including this auto start/stop in installation - how hard can it be, if you know linux inside-out.... If they did, It should make them more comfortable competing with other rdbms vendors that dont object to making many such things working "out of the box" :) ..... (no pun intended)

  • Schedule start and shutdown

    In IOS 6 is there any way to schedule the iphone to start up and shut down every day at a given time?
    Thanks.
    mac

    You can schedule it to go into and come out of do not disturb mode though which may or may not give you the same result depending on exactly what you want to achieve.
    You can set the schedule in Settings > Notifications > Do Not Disturb.
    ... but for reasons Apple seem not to want to tell anyone, it's not working at the moment.

  • How to start and shutdown Oracle Applications 11i?

    Currently, I've installed an Oracle Applications version 11i under Sun Solaris environment. However, I encountered problems when I tried to backup the whole system for fallback purpose. I'm not really sure about the procedures in shutting down the Oracle Applications components. So, is there anyone could tell me such procedures, hopefully including the command used for shutting down the whole application system? Thanks.
    Besides, I would like to know how can I start Oracle Applications 11i as a daemon? If cannot, how can I start the server within the UNIX shell? Thank you very much.

    You will have specified a common directory in your installation, which is usually referred to as COMMON_TOP.
    Under <COMMON_TOP>/admin/scripts there are a host of shell scripts for stopping, starting apps components. Also, under the database Oracle Home (816 or 817) you will find an appsutil directory with similar scripts.
    Typically these two directories will be in your PATH.
    You can create a stop script, typically as:
    adfrmctl.sh stop
    adrepctl.sh stop
    adfmsctl.sh stop
    adfmcctl.sh stop
    adapcctl.sh stop
    adcmctl.sh apps/apps_password stop (wait till FND processes cease, a sleep 300 might suffice)
    adalnctl.sh APPS_<SID> stop
    addlnctl.sh <SID> stop
    addbctl.sh stop
    A start script would call the same scripts in the reverse order, substituting stop for start.

  • Start up and shutdown scripts for Oracle R12 in Windows XP

    I succesfully installed R12.1.1 in Windows XP and logged onto the Vision without any issues. But after restarting my PC, I am unable to restart (I dont know how to restart) the services.
    I see the other threads that talk about the same scripts in Linux environment.
    If anyone knows - how to start and shutdown R12 services in Windows environment, Plz share.
    Thanks.
    Edited by: SanDan on Jul 13, 2012 10:08 AM

    SanDan wrote:
    I succesfully installed R12.1.1 in Windows XP and logged onto the Vision without any issues. But after restarting my PC, I am unable to restart (I dont know how to restart) the services.
    I see the other threads that talk about the same scripts in Linux environment.
    If anyone knows - how to start and shutdown R12 services in Windows environment, Plz share.Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

  • Allow a user access to start and stop a particular service in Solaris 11 using RBAC controls

    So, using svcbundle I created a service called "oracle" that starts and shutdown a db. I'm aware of how to grant RBAC access to be a "service operator" to be able to control start/stop ALL services. But I'd like to grant a user access to start and stop JUST this service.
    in this document on page 15, it states that it's possible to do this kind of granularity but doesn't explain how to do it step by step.
    how does one achieve this?
    thanks.

    You need to add a property group such as
    <property_group name='general' type='framework'>
      <!-- to start stop oracle -->
      <propval name='action_authorization' type='astring'
      value='solaris.smf.manage.oracle' />
    </property_group>
    Then add the solaris.smf.manage.oracle authorization to the user profile.
    As an example, see Less known Solaris features: RBAC and Privileges - Part 2: Role based access control - c0t0d0s0.org

  • In FX 8 (WinXP and Linux) I'm not able to change a route of the Google Maps routeplanner via drag&drop, the markers of start and destination don't appear and therefore cannot be moved, either.

    Usually (IE, Firefox 7 and below) if you go along the blue line of a route planned by Google Maps, a small circle appears which can be dragged and dropped to other roads so that the routeplanner changes the route. This is impossible with Fx 8, the circle doesn't appear and when trying to drag&drop I only move the map. The same applies to the markers which mark the start and destination of the route, they are not visible and cannot be moved. Disabling Adblock and Firegestures didn't solve the problem.
    When the page is loading for a moment you can see the symbol for an image which is not yet loaded both where the markers should be and if you go along the line with the mouse. As soon as the page is completely loaded you don't see this anymore.

    There is opened a bug in Bugzilla:
    https://bugzilla.mozilla.org/show_bug.cgi?id=715124

  • Editing Loop Start and End times via automation / MIDI controllers?

    I'm trying to play a sample in EXS24 and have the Sample Start, Loop Start and End times manipulated over the course of the song. I've tried to open up the EXS sample editor, click on the numerical value of the Loop Start, and then attempt to Learn Automation. All it does is assign the knob for the instrument Volume Level. Is there any way to do this? It's basically how an Akai S612 works: http://www.vintagesynth.com/akai/s612.shtml
    I switched gears and tried it also with Battery, and there's a way to map the Start and End times in there, but it's not seeming to work as I've intended. I can't seem to make the loops move as they should and there's ways to use up to 4 loops, but not a way to target each loop's start and end points via separate controllers.
    I could use my S-612 [and probably will], but in moments where I don't have one available, I'd love to find a solution to this.
    Thanks,
    +odd

    Anyone with any thoughts? would be great to solve this.

Maybe you are looking for

  • Visio TechNet Guru Announced for June 2014

    The Results are in! And the winners of the TechNet Guru Competition June 2014 have been posted on the Wiki Ninjas Blog. Below is a summary, heavily trimmed to fit the size restrictions of forum posting.  BizTalk Technical Guru - June 2014   Steef-Jan

  • Sharepoint 2010: prevent users from editing a list in the datasheet view

    Hi, I have a sharepoint 2010 list that I need to prevent users to edit from the datasheet view. This is because I have edited the add item form on sharepoint designer and included some custom code. Moreover, I need to allow the users to view the list

  • Windows 8.1 pro error.......................

    Hello Sir/Madam,   I installed Windows 8.1 and later found out that the screen will darken with pointer indication with a indication that goes round around the mouse pointer. The action centre on the taskbar also goes off and later sometimes later co

  • TableSorter

    I have a problem with TableSorter. I am pretty much using the version supplied on the Sun site. When I click the headers, the table reorganises itself fine on the screen. However when I double click on them using a method within the JTable the row wh

  • Can we take statutory reserve in cash flow statement

    i am preparing cash flow statement in that can i take statutory reserve in where