How to Start/stop DB instance of Oracle under Linux

Source: Internet
Author: User
Tags sqlplus

All below actions should is executed with "Oracle" user Account

1. Check The status of listener
$ LSNRCTL Status


2. If the listener isn ' t be started, start it
$ lsnrctl Start


3. Set the "ORACLE_SID" environment to the DB instance's SID which you want to start, for example
$ Export oracle_sid=pc855


4. Start Sqlplus and start the DB instance
$ sqlplus "/as sysdba"
Sql> Startup


5. If you want to stop the DB instance
$ sqlplus "/as sysdba"
sql> shutdown Immediate


6. Check the DB instance status again
$ LSNRCTL Status


Notes:1. Make sure the listener is started before starting the DB instance
2. Make sure the ORACLE_SID environment have been set correctly
3. To configure the Listener
$ netca
Or
$ netmgr
4. To configure the DB instance
$ dbca

How to Start/stop DB instance of Oracle under Linux

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.