Configure the Oracle 10g Automatic startup process on a Linux host

Source: Internet
Author: User

1. Use the root user to modify the/etc/oratab file:

$ Gedit/etc/oratab

Orcl:/Oracle/app/product/10.2.0/db_1: N

Changed:

Orcl:/Oracle/app/product/10.2.0/db_1: Y

That is, change the last N to Y.

2. Use the Oracle user to modify the $ Oracle_HOME/bin/dbstart file:

# Su-Oracle

$ Cd $ Oracle_HOME/bin

$ Gedit dbstart

Locate Oracle_HOME_LISTNER =... and change it

Oracle_HOME_LISTNER =/u01/app/Oracle/product/10.2.0/db_1

Or directly modify it:

Oracle_HOME_LISTNER = $ Oracle_HOME

Note: It is a modification, not an addition. However, you can use the gedit search function to search for it:

Oracle_HOME_LISTNER, modify and save the modification.

Iii. Test and run dbshut. Check whether dbstart can start the Oracle service and listener service:

1. modify the permissions of dbstart and dbshut log files:

$ Su-root

# Cd $ Oracle_HOME

# Chown Oracle: oinstall startup. log

# Chown Oracle: oinstall shutdown. log

2. Execute the corresponding script for testing

# Su-Oracle

$ Cd $ Oracle_HOME/bin

$./Dbstart (./dbshut)

$ Ps-efw | grep ora _

$ Lsnrctl status

$ Ps-efw | grep LISTEN | grep-v grep

  • 1
  • 2
  • Next Page

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.