/etc/rc.d/rc.local enables Oracle 10g self-booting

Source: Internet
Author: User

Environment: Redhat 5.9 64-bit, Oracle 10g

1.

To modify the Dbstart script:
$ VI $ORACLE _home/bin/dbstart
#ORACLE_HOME_LISTNER =/ade/vikrkuma_new/oracle
oracle_home_listner= $ORACLE _home

2.

Modify the/etc/oratab to the following format:
$ vi/etc/oratab
SID: $ORACLE _home:y

Note: The above SID and $oracle_home are replaced with real content, for example:

Orcl:/data/oracle/product/10.2:y

3.
modifying/etc/rc.d/rc.local to implement self-booting
# vi/etc/rc.d/rc.local

Su-oracle-c ' $ORACLE _home/bin/lsnrctl start '

Su-oracle-c $ORACLE _home/bin/dbstart

Note: The above $oracle_home also need to be replaced with real content, for example:

Su-oracle-c '/data/oracle/product/10.2/bin/lsnrctl start '

Su-oracle-c/data/oracle/product/10.2/bin/dbstart


/etc/rc.d/rc.local enables Oracle 10g self-booting

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.