Boot automatic launch of Oracle configuration tutorial in Linux

Source: Internet
Author: User

1. How to start Oracle Listening and instance automatically when Linux starts

Modify the/etc/oratab file with the following command:

[oracle@oracle11g ~]$ Vi/etc/oratab

Found: Accp:/u01/oracle:n modified to: accp:/u01/oracle:y

Step Two: add lsnrctl start and Dbstart to the rc.local file with the following commands:

[oracle@oracle11g ~]$ vi/etc/rc.d/rc.local
Add to:

Su oracle-lc "/u01/oracle/bin/lsnrctl start"
Su Oracle-lc/u01/oracle/bin/dbstart

2. Executive Dbstart and Dbshut will prompt:

[oracle@oracle11g ~]$ Dbstart
Oracle_home_listner is isn't SET, unable to auto-start Oracle Net Listener
Usage:/u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart oracle_home
The reason for the error is: There is a problem with the Oracle_home_listner settings in the Dbstart and Dbshut script files, open two files respectively to find: oracle_home_listner=$1, modified to

Oracle_home_listner= $ORACLE _home, the order is as follows:

[oracle@oracle11g ~]$ VI $ORACLE _home/bin/dbstart
[oracle@oracle11g ~]$ VI $ORACLE _home/bin/dbshut

PS: The first command has spaces, so use quotation marks

Related Article

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.