Restart Oracle Method 123

Source: Internet
Author: User
Tags sqlplus

Startup Nomount

ALTER DATABASE Mount

ALTER DATABASE Open

Linux: Method 1

Log in to Linux with root SSH and open the terminal to enter the following command:

CD $ORACLE _home #进入到oracle的安装目录

Dbstart #重启服务器

Lsnrctl Start #重启监听器

CD $ORACLE _home #进入到oracle的安装目录

Dbstart #重启服务器

Lsnrctl Start #重启监听器

Linux: Method 2

(1) Log in to the database as Oracle, command: su-oracle (note space)

(2) Enter Sqlplus console, command: Sqlplus/nolog

(3) Login with system Administrator, command: Connect/as sysdba

(4) Start the database, command: Startup

(5) If the database is closed, command: Shutdown immediate

(6) Exit Sqlplus Console, command: Exit

(7) Enter the Listener console, command: lsnrctl (abbreviation for Listener control)

(8) Start Listener, command: Start

(9) Exit the Listener console, command: Exit

Windows: Method 1

(1) Start two Oracle services, one is a listener, the other is Servcie

(2) Cmd-->sqlplus/nolog

(3) Cmd-->set ORALCE_SID=HRKF

(4) Sql-->connect/as SYSDBA

(5) Sql-->startup

Restart Oracle Method 123

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.