Automatic shutdown/startup EBS DB script on R12.1??

Our EBS R12.1 system going to production soon. I wonder anyone have automatic shutdown/start database scripts (only DB, application on seperate server) which we can reference.
Thanks.

Hi ef;
We are using cold backup sh and sometimes we faced same thing as you mention. But i can tell you its not soo fruquently. How we notice this error? After cold backup we send email about cold backup logs. If we see error on log files (after apps side down(and wait 240 sec),then closind db)
we have this error in log:
Shutting down database ZZZ
SQL*Plus: Release xxx -Production on
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
ORA-01013: user requested cancel of current operation Disconnected from Oraclex Enterprise Edition Release xxx- 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release xxx Production
so we find related process id from log file and kill it as Hussein Sawwan mention
Hope it helps
Regard
Helios

Similar Messages

  • How to automate database startup/shutdown in RHEL4

    Dear All
    I have Oracle 10gR2 database on RHEL4.
    If i want to automate database startup/shutdown with OS startup/shutdown,
    Then where i need to update about dbstart.sh & dbshut.sh
    I have already made entry in /etc/oratab as Y for database SID.
    I am using Bourn Shell.
    Thanks

    You can refer to my post in my Blog
    [Automatically StartUp and Shutdown an Oracle Database in Linux OS|http://kamranagayev.wordpress.com/2008/12/22/automatically-startup-and-shutdown-database-in-linux-os/]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Laptop automatic shutdown when Arch startup

    My laptop automatic shutdown while in arch linux startup but i already enable phc_cpufreq undervolt and its voltage and also i added cpufreq_ondemand modules
    but when the time the system boot black background with text  the startup suddenly said temperature max reach 70C and it post shutdown after a 5 second the laptop shutdown...eventhough my pentium -m can reach 100C
    when after waiting about 10 minutes and i turn on the laptop back it go smoothly startup and i can log in to DE.It never shutdown after that even i was using the laptop 100% load but if i restart the pc it will go to startup and post the msg reach temperature max and auto shutdown
    anyone here can help me to disable archlinux kernel or whatever startup process that automatically shutdown the laptop
    phc vids show my correct vids so i got a feeling it only activate if  the system manage go to DE kde and loggin but not when on boot Startup archlinux

    I had this problem on my ThinkPad r51p which would suddenly say critical temperature reached and shut down. It was the same with different linux distros and FreeBSD as well.
    I found no other solution to the problem but writing a small script that I always had running in the background:
    #!/usr/local/bin/php
    <?php
    $slow = FALSE;
    while(1) {
    $temperatur = `cat /proc/acpi/thermal_zone/THM0/temperature | grep temperature | awk ' { print $2 } ' `;
    if((int)$temperatur > 85 && !$slow) {
    // print "Slowing down".$temperatur." C";
    system("echo -n 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"); $slow = TRUE;
    } elseif((int)$temperatur < 80 && $slow) {
    // print "Speeding up".$temperatur." C";
    system("echo -n 1700000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"); $slow = FALSE;
    sleep(3);
    ?>
    But most likely there is a more elegant solution to it than this.
    And, btw, Do NOT try this script unless you know exactly what your doing and the settings are right for your CPU
    Last edited by dr_relling (2009-02-24 23:48:09)

  • Create a windows script to automate shutdown databases during maintainance

    Can any one please me the script to automate shutdown databses during maintainance.
    The script would be scheduled from the Windows server and will be shutting down databases hosted in AIX server .
    Windows server will interact with Aix servers using SQLPLUS COMMANDS (TNSNAMES).
    Please let me know because I am working on this issue and it needs to be resolved.

    There are thousands of scripts available, just google it. In creation/execution of your script, if you face any problem or see any errors than you can come here and post it.

  • System startup Problem grey screen is going regularly and automatically shutdown

    Hi
       kindly resolve us this problem urgently
              error msg. :- System startup Problem grey screen is going regularly and automatically shutdown
    thanks
    Dhaval Oza

    Use RECOVERY MODE.
    Boot from another drive with a copy of OS X too is always good.
    A Safe Boot at a minimum.

  • Automate BIP Startup/Shutdown with OMS

    Is there any way to automate the startup/shutdown of BI Publisher when the OMS is started/stopped? This would really come in handy instead of manually having to start/stop these components.
    Thanks,
    Leighton

    Current release does not have auto stop/start of BIP when OMS is bounced.

  • Automate shutdown

    I have successfully installed Oracle 8.1.6 on Red Hat 6.1 and everything is
    working fine apart from the automatic database startup and shutdown. I can
    successfully automate start database using
    standart dbora script with link /etc/rc.d/init.d/rc2.d/S99dbora.
    But /etc/rc.d/init.d/rc0.d/K10dbora not run
    when shutdown system.
    Script /etc/rc.d/rc admit K10dbora link...:(
    Has anyone else experienced this problem?
    null

    WLST Online scripting - <a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free at Togotutor)
    def connection_to_Admin():
    try:
    connect(username, password, URL)
    except wlst.WLSTException, ex:
    print "Caught exception while connecting: %s" % ex
    else:
    print "------- Connected successfully! ---------"
    connection_to_Admin()
    state(cluster_1,'Cluster') --> state of cluster
    shutdown(cluster_1,'Cluster') --> shutdown the cluster
    state(cluster_1,'Cluster') --> Gives the state, that server is down
    disconnect() --> disconnect from admin console
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b>
    Edited by: togotutor on Aug 12, 2010 3:17 PM

  • WebLogic Datasources : Automatically Shutdown and Start up

    Hi there,
    I have a problem with my datasources, I have WLST script which shutdown and start automatically some datasources in my environment, all of them in my crontab !
    Follow exactly my script !
    [weblogic@wls_server restartDS]$ cat shutdownDS1.py | more
    connect('weblogic','password','t3://server:10000')
    domainConfig()
    servers = cmo.getServers()
    domainRuntime()
    for server in servers:
    try:
    print 'check ' + server.getName()
    print '/ServerRuntimes/' + server.getName() + '/JDBCServiceRuntime/' + server.getName() + '/JDBCDataSourceRuntimeMBeans/MYDATASOURCE-XA1'
    cd('ServerRuntimes/' + server.getName() + '/JDBCServiceRuntime/' + server.getName() + '/JDBCDataSourceRuntimeMBeans/MYDATASOURCE-XA1')
    objectArray = jarray.array([], java.lang.Object)
    stringArray = jarray.array([], java.lang.String)
    invoke('shutdown', objectArray, stringArray)
    except WLSTException,e:
    print server.getName() + 'is not running.'
    for server in servers:
    try:
    print 'check ' + server.getName()
    print '/ServerRuntimes/' + server.getName() + '/JDBCServiceRuntime/' + server.getName() + '/JDBCDataSourceRuntimeMBeans/MYDATASOURCE-XA2'
    cd('ServerRuntimes/' + server.getName() + '/JDBCServiceRuntime/' + server.getName() + '/JDBCDataSourceRuntimeMBeans/MYDATASOURCE-XA2')
    objectArray = jarray.array([], java.lang.Object)
    stringArray = jarray.array([], java.lang.String)
    invoke('shutdown', objectArray, stringArray)
    except WLSTException,e:
    print server.getName() + 'is not running.'
    exit()
    Don´t worry, I have another script which kill XA3 and XA4 datasources as well, so, this way, I have load balancing here !
    It works with CRONTAB !
    The problem here is : Doesn´t matter if datasources are running or not, simply , datasources automatically shutdown and after that, start it! But I would like to improve this, I would like to implement datasource status condition, I mean, when datasource it become overloaded, it kill automatically , this way, I would not use crontab, but another kind of trigger |!
    Did you see this before ?
    I would like to improve this workaround !
    Just keep in mind, me and my team, didn´t discover the root cause yet, so, this automatically datasource restart is a kind of workaround!
    Thanks in advance !
    Edson

    Hmm. what was the problem app?
    Force a shut down by holding the power button for an extended amount.
    Reboot into SafeBoot mode to clear cache files, then reboot as normal.
    SafeBoot  http://support.apple.com/kb/HT1564

  • Set a delay for automatic shutdown of virtual machines

    Hallo,
    is there a way to set a delay for the automatic shutdown of the guests when the host is shutting down? Just like the automatic startup delay but for the shutdown. The simplest possibility would be to shutdown the guest in the opposite of the startup delay.
    I want to shutdown the Exchange Server first and then the rest - the virtual Domain Controller should be shutdown as the last server.

    Hi,
    Additional, please notice the guest 5 minutes delay shutdown issue, more detail please refer the following article:
    Shutting down a virtual machine
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/01/11/shutting-down-a-virtual-machine.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Oracle database automatically shutdown when i restart computer

    Hi all!
    i have some problems, so i want your help
    i have the database which name is ORCL but i don't understand why when i restart my computer, my database automatically shutdown, so i alway have to execute this command after restarting my computer
    connect / as sysdba
    startup
    could you show me how to fix that error
    help me!

    Hi,
    Refer this thread for a full explaination...
    Oracle service failed to start in a timely manner
    Regards.

  • How do i make the database open automatically at startup in solaris?

    How do i make the database open automatically at startup in solaris?

    need to write a shell script that is invoked from /etc/init.d/ and soft link the following:
    ln -s /etc/init.d/MYoracle /etc/rc3.d/S99oracle
            ln -s /etc/init.d/MYoracle /etc/rc2.d/K99oracle
            ln -s /etc/init.d/MYoracle /etc/rc1.d/K99oracle
            ln -s /etc/init.d/MYoracle /etc/rc0.d/K99oracle
            ln -s /etc/init.d/MYoracle /etc/rcS.d/K99oracleThe shell script should be pretty straight forward.
    Cheers,
    Mich

  • Why some scripts in R12 exit with status other than 0

    Some scripts in R12 like adformsctl.sh exit with status 3 , adstrtal.sh exit with status 1 etc
    when we read log file for these scripts startup the error is timed out .
    Ho we can find the root cause for these errors and their solution ?
    can some body explain plz ?

    error messages are like this :
    Timeout specified in context file: 100 second(s)
    script returned:
    ERROR : Timed out( 100000 ): Interrupted Exception
    Executing service control script:
    /opt/oracle/inst/apps/PROD_prodapps/admin/scripts/adoafmctl.sh start
    Timeout specified in context file: 100 second(s)
    script returned:
    ERROR : Timed out( 100000 ): Interrupted Exception

  • Automatic Shutdown THINKCENTER A70

    Hi sir's,
    Good day!
    I have problem with our 2 machines, we use thinkcenter a70 the machine automatically shutdown, i dont know why?
    I run diagnostic tests
    Quick Hardware Test : All passed
    Full System Test : All passed
    System Stress Test : 1 st process done but in second process it fails and shutdown.
    I already put thermal paste in heat sink. I already reformated the hard disk and installs the new OS.
    In BIOS and in safe mode it runs smoothly and not shuting down.
    I already try to change powersupply, ram and hardisk.
    Please help me. THanks a lot

    Hi,
    You can schedule a powershell script to read a list of machine names from a text file and then shut them down.
    Checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/cb361ea0-fd9b-4aec-8199-8bc273ce465a/scheduling-automatic-shutdown-for-pcs-found-on-the-domain?forum=winserverManagement
    Regards,
    Gopi
    JiJi
    Technologies

  • Hi, sorry this is so basic, but how do I stop certain applications starting automatically on startup?

    sorry this is so basic but how do I stop certain applications starting automatically on startup?

    Is this for a computer model or an iDevice model? If the former you've posted in the wrong forum. But here's the answer.
    Open General preferences in System Preferences. There are two options you can check that affect this behavior:
    Check the boxes you thing you prefer. When you next shutdown the computer you should be asked in a dialog about reopening applications on restart. Select the option to not reopen.

  • How do I get an app to launch automatically on startup?

    I downloaded an app (*.wcz) file that links to a clock on the desktop background.
    Clicking the app displays the background from http://www.vladstudio.com/wallpaperclocks/ and the clock and date work.
    When I shut down and start up again, the screen reverts to the previously selected background.
    Is there any way to launch this wallpaper + clock automatically on startup?

    Hi, if the App is in the Dock, right click, choose Options>Open at login.
    Or System Preferences>Accounts>Login Items window, drag the App there or click on the tiny plus icon to add it.

Maybe you are looking for