How to set up the database restarts automatically when the server starts?

Hello

What is involved if I configure Oracle database starts automatically when the server is started/restarted?

I guess that change the following entry in/etc/oratab
DEVDB:/u01/app/oracle/product/10.2.0/db_1:N
TO
DEVDB:/u01/app/oracle/product/10.2.0/db_1:Y
is not sufficient - there is more than that. But what is it?

We can also configure the listener to automatically re / start?

I guess that everything what is the solution, it will also apply to Oracle 11 GR 2 databases/ASM - right?

The platform is Redhat Linux 64 bit (version 4.7 & v5.9).

Thanks in advance!

Best regards

Hello

Below is one example of autostart services database and the listener.

1 > make/etc/oratab file entry Y as:
ORCL:/U01/app/Oracle/product/10.2.0/Db_1:Y

2 > create a file called "/ etc/rc.d/init.d/oracle" as root, containing the following.
--------------------------------------
#! / bin/sh
# chkconfig: 345 99 10
Description #: Oracle automatic start-stop script.
#
# Define ORA_HOME as equivalent to the $ORACLE_HOME
# from which you want to run dbstart and dbshut;
#
# Define ORA_OWNER to the userid of the owner of the
# Oracle in ORA_HOME server.

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.
output
FI

case '$1' in
'Start')
# Run Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known - $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $".
known - $ORA_OWNER - c $ORA_HOME/bin/dbstart
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known - $ORA_OWNER - c $ORA_HOME/bin/dbshut
known - $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $.
;;
ESAC
-------------------------------------------------

3 > use the chmod command to set privileges to 755.
chmod 755 /etc/rc.d/init.d/oracle

4 > associate the appropriate oracle service run levels and set it to auto-start by using the following command.
chkconfig--level 345 oracle on

Note:-back, I've done this for a long time... Please check the dbstart use pfile or spfile to start the database instance.
Thank you

Tags: Database

Similar Questions

  • How to set on the Sony NEX-6 automatic exposure bracketing

    How to set on the Sony NEX-6 automatic exposure bracketing

    Hi FotoEdge,

    You can adjust the automatic exposure of the support under Menu section. Instructions and information on this option is referred to in the #58 manual page.

  • How to set programmatically the current node in a tree view of the ADF.

    Hello

    I'm trying to understand how to set programmatically the current node in a tree view of the ADF.

    My use case example is quite simple; If we take the sample application ADF Summit where under Management Summit, we have a tree view on the left with a list of high level of the country which in turn contain a subset of customers; then, in the right pane, we the customer detail information.

    What I'm trying to achieve is a solution by which I can add a new customer, commit and then to the tree show the client newly created as the currently selected entry.

    I use a pop-up dialog box to create my new entry of the customer and everything works well in this area, and my newly created folder is saved in the database.

    I know how to force the tree to cool off, but what I can't understand is how to do so, it highlights the newly created folder.

    Any help would be much appreciated.

    Refer

    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_programmatically_disclose_a

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/78-man-expanding-trees-treetables-354775.PDF

  • where can I get advice on how to set up the iPad for a partially sighted person

    Where can I get advice on how to set up the iPad for a partially sighted person. Are there apps that can help the user, perhaps activated by voice?

    Paul,

    Go to http://help.apple.com/ipad/9/#/iPad9a2465f9and see all the topics under accessibility.

  • How to set up the password disk HARD on Equimum L40-141?

    Hello

    Can someone tell me how to set up the hard drive on my laptop password above please?

    Thank you
    Jane

    Hello

    Have you checked the settings in the BIOS?
    My BIOS contains an option for the HARD drive password parameter.

    But just a question; Why do you want to set the HARD drive password?
    Is this really necessary?

    You need to know if the HARD drive has been fixed, and that something will go wrong, I mean that if you would forget the HARD drive password, the HARD drive would be locked and is no longer usable.
    So be careful with this password if you want to know my opinion; Don t pay.

    Welcome them

  • Qosmio F60 - L10 - how to set up the tv with integrated antenna tuner?

    Good evening
    I have a toshiba qosmio f60, I read your answer about tv tuner.
    My question is: how to set up the tv with integrated antenna tuner? Thank you

    The tuner is already configured!
    You must use Windows Media Center.
    Here, you have to choose the tuner and need to look for available DVB - T channels.

    Notes; Signals DVB - T depends on the country and region.
    In my area I needed an external antenna because the signal is too weak.

  • How to set up the multimedia keys (only the last 3 buttons)

    Hello

    How to set up the multimedia keys (only the last 3 buttons)? The first button works, you open the browser and the other open WMP.
    But the last 3 buttons (play/pause, Stop, forw/rewd) aren´t work with WMP. How can I fix?

    Thank you

    Hello

    Can you please tell us what model of laptop Satellite A do you have?

  • Qosmio F50 - 10Z - how to set up the bar multimedia?

    Greetings, have a question... because after a long time, trying to make it work, I can not find the problem...

    On my laptop, I reinstall Windows Vista, download all the drivers for the Toshiba for Qosmio F50 driver page, for Vista... and even how to set up the multimedia bar? With Dolby, sound on / off, light power... He s doesn't work do not. Are there special software required? Or can I put it somewhere?

    Thanks for help

    Use this-> http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?service=EU research of Value Added Package 1.1.19

  • How to set up the Windows network access program?

    original title: how to set up the N A P

    How to access my windows network access program

    Hi bryan stacy,.
     
    -Are you talking about in the center of network share or the network connection folder?
     
    If you are referring to the network connection folder, see the following link for more information:
  • How to set up the wireless keyboard

    How to set up the HP Pavilion new elegant laptop 15 and an external monitor with the lid closed. As the use of the laptop as a desktop with external display. Follow the work as long as the flap of the laptop is open.

    If you use Windows 7, and then click Start-> Control Panel-> hardware and sound-> Power Options. It should be a list on the left side of the window, choose the one that says "choose the closing the cover. Select do nothing to do. Should work even in Windows 8, as well.

  • printer HP from Mac 10.5.8 deskjet 970cse how to set up the printer for the printing of the project

    printer HP from Mac 10.5.8 deskjet 970cse how to set up the printer for the printing of the project

    Hello

    You can find out how to access and change the settings of quality below:

    http://support.HP.com/us-en/document/c01662356

    Kind regards

    Shlomi

  • How to set up the order of priority of a start-up program

    Hello

    I'm using Pavilion laptop dv7-2110, Windows Vista 64 bit PC.

    Can someone explain to me how to set up the order of priority of a startup programs.

    Problem: Kaspersky Internet Security appeaps on the taskbar after Skype Torrent etc.

    Thank you in advance.

    You can access the start utility by typing "msconfig" in the start menu-> "search programs and files". From there, go to the Startup tab and you can select the programs to start and which not.

    Regarding the priority, I don't think there is a way, anyway you shouldn't be worried that your anti-virus starts just after other programs that it does not put you in danger.

    If you wish for a quick start you should probably disable most of the non-critical programs in the list, don't worry you do not break your computer if you uncheck anything that you don't know what it is, but I recommend that you don't have before checking what it is.

    Hope this helps

  • Eclipse plugin Simulator - how to set up the network

    Hi I installed Blackberry JDE Eclipse plug-in successfully. My test app works fine on Simulator until he tried to open an HTTP connection to a URL (a real web address like www.google.comor localhost):

    Here's the code I used:

    S StreamConnection = null;
    Try

    {

    s = (StreamConnection) Connector.open (getUrl ());

    HttpConnection httpConn s = (HttpConnection);

    State int = httpConn.getResponseCode ();

    ...

    }

    So my question is how to set up the simulator so that it can open the connection to the network.

    Of BlackBerry MDS Simulator is packaged and installed with the plugin Eclipse and can also be downloaded separately if necessary. You can configure to start the MDS Simulator with your simulator of aircraft in debug/run dialog box. For more information about these steps, see the Eclipse plug-in for the next topic test a BlackBerry Application that uses an HTTP connection.

    To understand the parameter deviceside and information about network gateways, see the following resources:

    DB-00396: that is - different ways to establish an HTTP connection or socket
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

    Video of transport network:

    http://NA.BlackBerry.com/eng/developers/resources/VideoLibrary.jsp#tab_ddetail_subtab_jde

    On BlackBerry's wireless data Transport Management - Part 1

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe?func=LL&objid=832210&objAction=browse&s...

  • ACS 5.2 How to set up the local user lockout policy?

    Hi all!

    IM faced with Discover how to set up the local user to the point account lockout policy 5.2 ACS.

    4.2.1 there is the option "failed attempts to go beyond", see link for more details:

    http://www.ciscosystems.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2.1/User_Guide/UsrMgt.html#wp273167

    But to the point 5.2 I can't find the option:

    http://www.Cisco.com/en/us/customer/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/acsuserguide.html

    Can somebody spread some light where I configure this?

    BR /Crille

    Just found a bug number indicating it is not supported.

    CSCth12406 Details of bug
    ACS 5 has no option to disable a local account on the unsuccessful attempts
    Symptom:
    ACS 5 doesn't have an option to disable the local account in the internal identity on failed attempts store

    Conditions:
    When ACS 5 is used to only to authenticate users using internal identity store, there is no way to configure a strategy of locking of account for failed attempts.

    Workaround solution:
    Currently there is no work around

  • How to set up the workflow in 11i

    How to set up the workflow in 11i


    EBS 11i,
    Linux-Oracle
    DB - 10.2.0.4

    Please follow

    Control - Workflow: Setup-ID Doc: 113664.1
    Configuration of the envelope of Notification based on Java Oracle Workflow 2.6 with Oracle Applications 11i [ID 231286.1]

    11i/R12 - a guide for troubleshoting emails of Notification Workflow - inbound and outbound Doc ID:831982.1
    Troubleshooting incoming e-mail Notifications [ID 1184846.1]
    Troubleshooting Workflow Oracle Applications 11i [ID 262011.1]
    UAS: Diagnostics, Solutions and information [ID 332152.1]

    Workflow control
    Re: Setup R12 Workflow
    Workflow notifications are sent, but messages are not sent

Maybe you are looking for