oracle11g boot settings on Linux system

Source: Internet
Author: User

Oracle server generally preferably manually start, so that the problem can be solved on the spot, but also worry about sometimes machine failure, automatic restart, in order to quickly restore the application, need to start Oracle automatically boot, and found that under different OS, startup settings are not the same

1,centos operating system, you can set this

Add it directly inside the rc.local

[[email protected] ~]# vim /etc/rc.local touch /var/lockasas sysdbastartupquitEOF

Effective after reboot, PS: But fails under Redhat system

2,redhat operating system under, with Dbstart Way 2.1, test

have error message, prompt oracle_home do not recognize, the following solution, modify Dbstart and Dbstut, some version dbstut cannot find does not exist, can be ignored.
Vim/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbstart
Vim/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbstut

Will
Oracle_home_listner =$1

Change into
oracle_home_listner= $ORACLE _home

2.2,[[email protected] ~]# Vim/etc/oratab

Powerdes:/oracle/app/oracle/product/11.2.0/dbhome_1:y

2.3 Set the boot from rc.local inside
[[email protected] bin]# vim /etc/rc.local #!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don‘t# want to do the full Sys V style init stuff."/oracle/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl start""/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbstart"

The DB server restart takes effect.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

oracle11g boot settings on Linux system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.