Will database Auto-Start?

I have two databases running in a windows server, due to some other issue server got rebooted. When i try to start the DB's I found one of my database is already up and running! and the other DB was down i had started it manually.
Is it possible to have a DB auto-start on Windows? If so how to do it?

user011232 wrote:
Hi,
Install Oracle Grid Infrastructure for a Standalone Server and use RESTART future, this is best
Define "Best".
I'd consider installing GI for the sole purpose of getting Oracle Restart to be a case of severe over-engineering.
Besides, a server shutdown should be considered "A Big Deal" (tm)*.  Personally, I don't think having a database auto-start after a server shutdown to be desirable.  I want to check out the server itself, confirm things are working correctly after the reason for the shutdown.  Only after the server itself is checked out do I want to try to bring up a database.
* Yes, I know that with Windows, a weekly reboot is often considered "normal operations".  One more reason I consider Windows to be a poor excuse of an OS.

Similar Messages

  • Build to .img file will not auto start

    I did a built in DVDsp4 to hard drive .img file. When I expand and copy and burn to DVD it will not auto start. What Iam I doing wrong?

    Tony
    I feel you are burning a data disc. In this tutorial about * Creating Disc Image in DVDSP * you'll find the right directions to burn a disc image with Disk Utility and/or Toast. If burning that way your first play doesn't work, problem is in your authoring.
    Hope that helps !
      Alberto

  • Database auto start with machine on and shutdown with machine shutdown

    i have installed oracle 10g release 2 on linux 5.1. now i want to start my database with machine on and shut down when the machine is shutdown.
    for this i have do the following steps but i does not works.
    Log in as the root user
    vi /etc/oratab
    $ORACLE_SID are not allowed.
    orcl:/u01/app/oracle/product/10.2.0/db_1:Y
    change the directory to /etc/init.d
    Create a file called dbora, and copy the following lines into this file:
    vi dbora
    #! /bin/sh -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    HOST=`hostname`
    PLATFORM=`uname`
    export ORACLE_HOME PATH
    if [ ! "$2" = "ORA_DB" ] ; then
    if [ "$PLATFORM" = "HP-UX" ] ; then
    remsh $HOST -l $ORACLE -n "$0 $1 ORA_DB"
    exit
    else
    rsh $HOST -l $ORACLE $0 $1 ORA_DB
    exit
    fi
    fi
    case $1 in
    'start')
    if [ "$PLATFORM" = "Linux" ] ; then
    touch /var/lock/subsys/dbora
    fi
    $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
    $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
    echo "usage: $0 {start|stop}"
    exit
    esac
    Change the group of the dbora file to the OSDBA group (typically dba), and set the permissions to 750:
    # chgrp dba dbora
    # chmod 750 dbora
    Create symbolic links to the dbora script in the appropriate run-level script directories as follows.
    # ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    after done these changes i restarted my system but the database is not started automatically.....
    please help where i am doing wrong...and correct me..

    Re: Oracle 10g on linux 5.1 issue
    DUPLICATE!

  • Will iPhone auto start up?

    Im going to have an exam soon. I have to make sure the phone won't make any noise or vie rate. In my old phone I'll just remove the battery. But in iPhone it cannot, so I want to know if there are any chances that the phone auto wake up and make noise after I power off it.

    No, not if it's powered off.
    Or switch to mute, no vibrate and leave it a home

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

  • How to stop the auto-start of log reader agent (replication) right after my database is restored?

    I have the scenario where the SQL server is restored (after migration).
    This database has transactional replication set-up on one of the databases. When I do a manual delete and restore of the database, I see that the replication starts right after the publisher and subscriber are restored.
    Replication agents should not start and run before the integrity checks are completed. How to stop the replication from auto starting right after the migration?
    Thanks in advance - Jebah

    Thanks Pradyothana, I have disabled the logreader, distribution agents through sp_update_job in Tsql script. I have also verified that there are no pending transactions to be replicated to the subscriber, I see that the job is still being executed. Is there
    any other way to disable the jobs?
    Steps I followed
    Started with a Working publication and subscription
    Disabled the jobs (log reader and distribution agents)
    Backed up publisher, subscriber, distribution and msdb
    Deleted the publication, subscription, publisher and subscriber
    Restored the publisher, subscriber, distribution and msdb
    Enabled the jobs and executed sp_replrestart
    Observations/Issues
    Replication does not work
    Replication monitor does not show any error
    Jobs are shows as enabled but not started in job monitor
    Not able to start/stop the log reader and synchronization manually.
    I am not sure if I have missed something while restoring the db.
    Thanks in advance

  • I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have-I guess I can auto start the DVD but would prefer a button-how and where would I put this "play all" marker??

    I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have…I guess I can auto start the DVD but would prefer a button…how and where would I put this "play all" marker?? Thanks..

    The start chapter button is a play the whole movie button regardless of how many other markers you have.
    Once a DVD starts playing it continues to the end.
    Chapters marker simply gives the viewer a place to start playback whether it be the start, middle or near the end.
    Al

  • TS1717 iTunes will not auto-launch like it used to on Win7. Also cannot start in SAFE mode

    I've had this computer & this installation of iTunes for a very long time. It has always worked perfectly, and will auto-start every time I connect the iPhone. (my iPhone would light up and display the "Sync in Progress" message on its screen)
    The last few times I've connected it (same phone, same cord, same USB port, same comp., same install of Win7, no Library changes, no new components, no AntiVirus changes - nothing different) iTunes will NOT launch, and the Sync wil not take place.
    But...
    If -- after connecting the iPhone -- I manually launch iTunes, it proceeds normally thru the various steps except that the iPhone does NOT display any messages on its screen.  I've tried several times, and re-booted the comp several times.  I've also followed the Apple T/S steps and deleted the two config files & re-booted.  No difference.
    Yes - the preferences are set to allow the Sync when I plug in the iPhone.
    Yes - I am the only user.
    Yes - I am using a working cable...into a working USB port.
    No - I have no third party add-ons or extensions.
    One odd thing:
    On the many, many previous occasions that I've opened the list of Running Applications...iTunesHelper.exe has been opne of the various apps running on the computer.  Lately that app has vanished from the list, and...
    No - I have not un-checked it in the STARTUP list.

    Well...I was partially-blind.
    I had a second look at my MSCONFIG list...and 'waay down at the bottom was iTunesHelper...with its checkbox clear.  oops.
    I ticked it of course, and then manually launched iTunesHelper.exe and re-connected the iPhone.  iTunes auto-launched, and (as usual) it stepped thru the various stages like it's supposed to, but still no pop-up message on the iPhone screen.
    Now I'm wondering if that came to an end when I made the jump to the iPhone5 from iPhone4(?) because it certainly seems to be syncing alright...just no pop-up on the iPhone's screen.

  • I,ve got a retail box CS6 design, it will not auto run or start set-upexe, help.

    I,ve got a retail box CS6 design, it will not auto run or start set-upexe, help.

    are you using a window's system?  if yes, which version?
    and, attach a screenshot of your disc's contents.

  • Turning off autoplay does not stop videos from auto-starting, will this be fixed, or should I switch to another browser ? (which do you suggest?)

    Hi,
    Firefox these days has an annoying habit of starting videos on every news page that I open and when I scroll through my facebook newsfeed. There is only a very select amount of these videos that I would actually want to watch, and it's annoying to be bombarder with this media constantly.
    I have tried disabling auto-play in the config page to no avail, and am not interested in installing add-ons to accomplish a task that should be handled by the browser itself.
    So, does anyone know of a method to accomplish this with FireFox's own settings, or alternatively recommend a browser that does not have this offensive behavior ?
    Thanks in advance...

    I think the built-in setting (media.autoplay.enabled) relates to the HTML5 player and doesn't apply to plugins such as the Flash player. You usually can tell whether it's a plugin-based player by right-clicking it and checking whether it has a proprietary context menu instead of the normal Firefox menu.
    To control when plugins start, you can use the "Ask to Activate" permission setting. You can adjust this setting on the Add-ons page. Either:
    * Command+Shift+a (Windows: Ctrl+Shift+a)
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Plugins. Then on the right side, change the permission for Shockwave Flash (for example) from Always Activate to Ask to Activate. ''(If you have plugins that run in the background or globally, such as security plugins, you may encounter problems using Ask to Activate for those.)''
    Of course, once you give permission to a site, each new page you load from that site will be able to auto-start its videos. Taking detailed control of that ''does'' require an add-on. I think this one might be the best integrated with the standard permission feature:
    https://addons.mozilla.org/firefox/addon/click-to-play-per-element/

  • Problem with auto start-stop script

    Hi to All,
    Logged as root. I have create in /etc/rc.d/init.d this file and saved as dbora (Oracle Linux 5.4):
    +#!/bin/sh+
    +# chkconfig: 345 99 10+
    +# description: Oracle auto start-stop script.+
    +#+
    +# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
    +# from which you wish to execute dbstart and dbshut;+
    +#+
    +# Set ORA_OWNER to the user id of the owner of the+
    +# Oracle database in ORA_HOME.+
    ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORA_OWNER=oracle
    +if [ ! -f $ORA_HOME/bin/dbstart ]+
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    +'start')+
    +# Start the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
    touch /var/lock/subsys/dbora
    +;;+
    +'stop')+
    +# Stop the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    rm -f /var/lock/subsys/dbora
    +;;+
    esac
    After creation I have execute:
    *#chmod 750 /etc/rc.d/init.d/dbora*
    *#chkconfig --add /etc/rc.d/init.d/dbora*
    The last command return this message:
    +"service dbora does not support chkconfig"+.
    Can You help me? Have You an idea ?
    Thank You and best regards
    Gaetano

    sb92075 wrote:
    Oracle RDBMS needs to be started by process running at OS level as owner of Oracle software; typically OS user "oracle" & not as ROOT!Ok,
    But I have founded this script at [http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php].
    The article report:
    Article
    When using RAC or ASM under Oracle 10g Release 2 or above, the Oracle Clusterware automatically starts and stops the Oracle database instances, so the following procedures are not necessary. For all other cases, you can use the methods described below.I must suppose, that the author has written an incorrect article?
    Best Regards
    Gaetano

  • Auto start-stop script

    Hi to All,
    I have create as root in /etc/init.d the file dbora:
    +#!/bin/sh+
    +# chkconfig: 345 99 10+
    +# description: Oracle auto start-stop script.+
    +#+
    +# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
    +# from which you wish to execute dbstart and dbshut;+
    +#+
    +# Set ORA_OWNER to the user id of the owner of the+
    +# Oracle database in ORA_HOME.+
    ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORA_OWNER=oracle
    +if [ ! -f $ORA_HOME/bin/dbstart ]+
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    +'start')+
    +# Start the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
    touch /var/lock/subsys/dbora
    +;;+
    +'stop')+
    +# Stop the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    rm -f /var/lock/subsys/dbora
    +;;+
    esac
    After I have execute:
    *#chmod 750 /etc/init.d/dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc4.d/S99dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora*
    At last
    *#chkconfig --add /etc/init.d/dbora*
    This message is returned
    dbora service don't support chkconfig.+
    Have You an idea ?
    Thank You and best regards
    Gaetano

    Solved !
    I have inserted a space before chkconfig and description in the script:
    Incorrect Code:
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    This is the correct code
    #!/bin/sh
    #chkconfig: 345 99 10
    #description: Oracle auto start-stop script.Bye
    Gaetano

  • Auto Start/Shutdown db on Linux (RHEL-4)

    Hello,
    I have posted a thread in Database General forum :
    Auto Start/Shutdown db on RHEL 4
    and there one suggestation i got that i have to raise my problem here itself only.
    Kindly look into the issue and help me.
    Thanks & Regards
    Girish Sharma

    I see you start this service at sequence "99". This is good, but there are other 99-level startup scripts as well. These are processed in alphabetical order. Do this:
    $ ls /etc/rd5d.d/S99*
    So, "dbora" will run even before rc.local and that may not be a good thing.
    Also, checking:
    $ ls /etc/rc5.d/K* | head -n15
    will show you the order in which services are shut down, again in alphabetical order.
    These steps may help:
    # /sbin/chkconfig dbora off
    # /sbin/service dbora stop
    # cd /etc/init.d/
    # /sbin/chkconfig --del dbora
    # mv dbora xxx-dbora
    # vi xxx-dbora
    # /sbin/chkconfig --add xxx-dbora
    # /sbin/chkconfig xxx-dbora on
    # /sbin/service xxx-dbora start
    What we are doing is:
    1) Remove existing dbora service
    2) Rename the service to something that shows last in an ls(1) command
    3) Edit the xxx-dbora script to change the chkconfig info from "99 10" to "99 01"
    4) Installed the service.
    Now, the start-up is done as the very last action and shutdown as the very first.
    Does this make any difference?

  • Auto start listener & DB in Linux

    Hello, I have installed oracle 10g on Red Hat 2.1 Ent. Ed. I have also modified the /etc/oratab file for auto starting the service. The service start auto but i have two problems, 1) The listener does not start automatically 2) When trying to connect from SQL*PLUS, it says Shared Memory Realm does not exists. The Database has to be started manually connecting sys as sysdba. How can i configure the two things to start automatically? Any idea? Thanks.

    Follow steps at the end of this article:
    http://www.oraclebase.com/articles/9i/Oracle9iInstallationOnRedHat21.php
    Script will start DB automaticaly during boot and also stops database during OS shutdown.

  • Auto start oracle in linux - error

    1. edited the "/etc/oratab" file setting flag to 'Y'.
    soni:/home/oracle/oracle/product/10.2.0/db_1:Y
    2 connect wih root user
    - created empty file (/etc/init.d/dbora)
    copied from (http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php)
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    4.
    chmod 750 /etc/init.d/dbora
    5.
    chkconfig --add dbora
    When I try this root user i get error
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directory
    I restarted the database, but DB didnt start automatically...
    Edited by: The_Rock on Jun 10, 2010 9:47 PM

    The_Rock wrote:
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directoryThe /etc/profile line 51 seems to be incorrect. No space between the "+if+" and the bracket condition.
    E.g.
    /home/billy> if[ \$USER = "oracle" ]; then echo true;else echo false;fi
    bash: syntax error near unexpected token `then'
    /home/billy> if [ \$USER = "oracle" ]; then echo true;else echo false;fi
    falseWhy do you use a leading slash for the +$USER+ variable? It changes it from a variable to a literal.
    /home/billy> echo $USER
    billy
    /home/billy> echo \$USER
    $USERLiteral "+$USER+" will never equal literal "+oracle+".

Maybe you are looking for