Linux-start automatic db at the start of the server. Help, please.

Hi all

The database server is Ubuntu linux 9.04 and database is 11.1.0.6. I'm new to Linux. I'm working on automatically start the PB server to start and stop db when plugging the server down.

I did the following steps by following the instructions in the following doc:

http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b15658/strt_stp.htm#BABGDGHF

(1) logon as root
(2) to change to/etc/oratab
3) change directory to /etc/init.d
(4) create a file called released
The file looks like (not identical

#! / bin/sh
#
ORA_OWNER = oracle
ORACLE_HOME = / u01/app/oracle/ora_11g

case $1 in
'Start')
Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME.
;;
'stop')
Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME.
;;
*)
echo "use: $0 {start |}". stop}.
output
;;
ESAC
#
Output

(5) change the file released to OSDBA group
chgrp released dba
chmod released 570

(6) create symbolic links to the released script

# ln s /etc/init.d/dbora /etc/rc.d/rc3.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/K01dbora
# ln s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora

I tested by logging in as root and go to the /etc/init.d directory and run the following commands and both work very well.

. / released early
. / stop released

But when I reboot the server that the database is not started automatically. Can someone please help?

Thank you very much

Shirley

Try using the steps in this article and see if it works for you,
http://Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php

HTH
Aman...

Tags: Database

Similar Questions

  • Despite my constant removal of Yahoo in all search preferences, it keeps returning automatically to my defaul for Firefox search. Help, please! I hate Yahoo!

    Despite my constant removal of Yahoo in all search preferences, it keeps returning automatically to my defaul for Firefox search. Help, please! I hate Yahoo!

    On Mac, this most commonly seems to be caused by Spigot or pipe modules, or something else that snuck in without being detected with other software that you downloaded.

    Please try to disable all non-essential or unrecognized extensions on page modules. Either:

    • CMD + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, in case of doubt, disable (or delete). Especially if you find something called SearchMe.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Is that what helps you regain control?

  • Unable to connect to the servers of SnapChat. IOS 4.2.1. iPhone 3G. Error message: unable to connect to the server. Please try again later.

    Hello

    I can not connect to servers SnapChat

    IOS 4.2.1

    iPhone 3G

    Error message:

    Unable to connect to the server. Please try again later

    Thank you for your time and understanding.

    Hello!

    It seems that you can not use your SnapChat the way app which you should be. I would use the troubleshooting steps in the following article for third-party applications. You may well reach out to the developer if the problem is not solved by the article though:

    If an application you have installed unexpectedly closes, unresponsive, or does not open

    Thank you for using communities of Apple Support.

  • I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    Please try to use different CD or simply remove the CD then insert again the installation request for the files.

  • Error offline - we are sorry, but there was a communication error with the server. Please try again and if the problem persists, contact Adobe Techincal Suport...  (INVALID_QUERY: XMLList object)?

    After a number of years of service, my Adobe Premiere CS4 gives me the following error message:

    Error offline - we are sorry, but there was a communication error with the server. Please try again and if the problem persists, contact Adobe Technical Support...  (INVALID_QUERY: XMLList object).

    I use this software on an old Dell desktop computer to two year with many members and drive.  It is a stand-alone application, not connected to a server.

    Anyone have any ideas on how to solve this problem?

    I think it has to do with the central resource is no longer supported.  Everything works OK if you ignore the message?

  • communication error with the server. Please refresh this window

    Sometimes, actually most of the time, when I try to log on to kuler I get this error message "error communicating with the server. (Please refresh this window", and it doesn't matter if I refresh or not I just can't use it.
    I tried to open it in firefox and IE and I get the same error in both browsers. I would really like to be able to use this great feature so please tell me if there is anything I can do to prevent this unfortunate error.

    Hello, I'm sorry know you this. This bug has been fixed for the next version, which will be available soon. Details here

    In most cases, if you click on the message or the kuler UI behind the error message, the message should disappear. Then click on the left navigation (themes, create, etc.) and the themes will load. If the connection, try a new browser window, or a new browser, I can usually get in eventually. Thank you for your patience.

    Saami

  • Services Exchange do not start automatically when rebooting the server (SBS 2011/07)

    Both services must be started manually after the server is restarted namely:
    Authentication based on the form of MS Exchange
    The MS Exchange RPC Client Access

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Windows will not start since the update :( Help, please

    Windows could not start. a recent hardware or software change might be the problem

    file\windows\system32\config\system
    status: 0xc00000e9

    When I try to start the system restart that nothing happens

    When I try to restore the computer to factory settings it says that the necessary files are not there.

    My computer was working fine until I installed an automatic update from microsoft. Help, please

    For any problem with the recovery of software/process to factory settings, you will need to contact the manufacturer of your computer.
    This isn't their recovery process, Microsoft.

    Windows Update Forum:

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Trial of Photoshop crashes when the connection is started... HELP please.

    I downloaded a demo of Photoshop and at the launch, he asked me to sign, I click to continue, and it crashes... HELP please.

    If you have a mac, you're probably being asked to enter your mac password allow installation of the ps.

    If you are not sure of this, attach a screenshot of the command prompt.

  • I'm upgrading Firefox 20.0 but not automatically connect to the server, just hangs. Why? 19.0.2 States that it is "free" update channels: what is it?

    Regularly alert is displayed to update me to 20.0 but it does not connect to the server - even if I have no problem with the modem at another time. It just hangs there. I thought that Firefox will update automatically. I have topped up, as advised but still 19.0.2. On the message States, I am currently on the channel "update of output". What does that mean? Do I need an update? Why?

    "update of output" means that you are using the stable version of Mozilla Firefox.

    Have you tried to reset firefox and then runs the update to verify that it contains that you are to the latest version?
    https://support.Mozilla.org/en-us/KB/reset-Firefox-easily-fix-most-problems

  • How to automatically synchronize with the server?

    Sometimes, know that the computer time is delayed by 1 minute.

    Not the window with the server automatically synchronize? or I have to do it manually?

    Can be set automatically updated time by server?

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    It does it automatically. See http://i.imgur.com/KH7s4q9.png

  • Could not connect to the server. Please check connectivity and server address

    Hi all

    Today, when I connect my 9.5 (2) of the new ASA 5512 customer of office. My anyconnect popup warning 'Could not connect to server. "Please check address connectivity and the Internet server.

    I can ping and accessible by the asdm or ssh and my anyconnect can connect other 5512 ASA.

    Other desktop PC can also connect. Only my PC can't.

    I removed the other band of VPN client program. But always popup message even.

    I think that my PC has a problem. But I don't know how to fix it.

    Hello

    There may be several reasons behind it.

    Can I know you're only experiencing this issue?

    If yes could check you if you can remove the XML profile and test it:

    %ProgramData%\Cisco\Cisco AnyConnect secure mobility Client\Profile

    Kind regards

    Aditya

    Please evaluate the useful messages and mark the correct answers.

  • Windows Home Server help please with the reader.

    I have a Windows Home server in my office that has a single hard drive in it.  I continue to be told to use the repair utility when I turn on my computer.  I bought a new drive for the server.  Now that I need help, it's how to duplicate the new disc of the former, is there a way to do it, or do I have to copy all the content on another machine on the network, and then install the operating system from the beginning.  I want to avoid the loss of data.  Any help is greatly appreciated.

    There are essentially two options available

    Place the new drive as the primary drive and keep the original as a secondary disk. Install WHS as a repair install and it should pick up original and index folders and re-create the tombstones for them. Then use the move to folder option in the console to make the folders shared the second partition of the disk. However, the indexing process is quite intensive and is perhaps not ideal with a line of demarcation for lack of drive.

    Alternative, remove the old drive and install the new, install WHS as a new facility that will create partitions C and D, including the new shared folders empty. Once the installation is finished, put the old one in as second drive or if this is not possible an external drive dock and then copy the contents of the old drive in the new. That would be my preferred option because it is perhaps easier and safer.

    There is no option to save and copy and settings users, even with a repair installation, you must manually recreate the users.

  • The application could not start error 0xc000007b URGENT HELP PLEASE

    Hi a few weeks a go I started getting an error (The was unable to start correctly 0xc000007b Application error click OK to close the Application)

    and I was looking for a solution since but nothing works and I don't want to reinstall my windows yet I only met the error when you try to start some games I've tried
    The difficulty of Cmd/sfc and I tried to reinstall Microsoft Visual C++ Redistributable Packages 2010 and sp1 and I can't make them work
    Windows 7 Ultimate X 64
    Could you please help me

    Thank you for your help, I tried to completely uninstall Microsoft redistributable and then I just reinstalled directly from microsoft, I think it was a corrupted update which screwed things anyway thanks for your help

  • How can I fix this error so first message will start. "The application could not start properly (0xc000001d)."                    Help, please

    Please help, I need this test to work for a school project. I have the program on the school's computers in class, but need to work outside the classroom.

    Hi AllisonO,

    For a fix, update for first Pro CC 2015 (9.2).

    Thank you

    Kevin

  • I have an active subscription, but get the message "subscription expired".  I can't start my apps.  Help, please!

    My membership shows as active, but I cannot go beyond this error - I have tried to uninstall everything and reinstall - nothing seems to work.

    Hi Adam,.

    Please check the help below document:

    'Renew your membership' window appears when you launch a creative cloud application

    You can also see the thread below where this issue has been addressed:

    software creation says cloud my free trial has expired, but I have a paid subscription

    Kind regards

    Sheena

Maybe you are looking for

  • posted incorect operators

    I just started using numbers (3.6.2 (2577)), having grown from MS Office, and I am a little puzzled.  My first obstacle is that numbers seems to have a small bug that makes it display the operator / (division) that + (addition), whist it calculates c

  • Dialog when refreshing of pages

    In fact, whenever I tried to refresh some pages, a popup dialog box would be as you can see on the screenshot (http://i.imgur.com/yyVNkRE.png). It only happens for some sites (e.g. http://ch.nicovideo.jp/portal/anime) and it happened immediately afte

  • Dynadock does not show second monitor

    Just got my dynadock and cannot get my 2nd monitor for clone my laptop. It only shows my screensaver. Any suggestions?

  • mv_xor_status + 88 crash

    Hi all I recently bought a Readynas 104. Initially, he had two drives of 4 TB in it. I added an extra 4TB last week. Yesterday, I added a final 4 TB. While he was resynchronization this final disc, we had a power cut. After the power has been restore

  • Write a report on termination

    Dear all, I put the option 'end run' on my postaction 'on the failure of step", but even if the execution is completed successfully, TestStand does not generate the report. I'd like to see what tests were run before executing the step has ended, I al