Oracle Tutorial: Starting services and listening commands under Linux

Source: Internet
Author: User
Tags reserved sqlplus

Under the Linux operating system, how do I start a service and listen command? You must first log on as an Oracle User:

1, start the database:

The following are the referenced contents:
Oracle@suse92:~> Sqlplus/nolog

Sql*plus:release 9.2.0.4.0-production on Fri 20 02:29:37 2006

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Sql> Connect/as SYSDBA
Connected to a idle instance.
Sql> Startup
ORACLE instance started.

Total System Global area 135352820 bytes
Fixed Size 455156 bytes
Variable Size 109051904 bytes
Database buffers 25165824 bytes
Redo buffers 679936 bytes
Database mounted.

2. Close the database:

The following are the referenced contents:
Oracle@suse92:~> Sqlplus/nolog

Sql*plus:release 9.2.0.4.0-production on Fri 20 02:29:37 2006

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Sql> Connect/as SYSDBA
Connected to a idle instance.
Sql> Shutdwon abort;

3, start the Listener

The following are the referenced contents:
Oracle@suse92:~> Lsnrctl Start

4, Stop the Listener

The following are the referenced contents:
Oracle@suse92:~> Lsnrctl Stop

5. View Listener Status

The

oracle@suse92:~ > Lsnrctl
lsnrctl> status
lsnrctl> exit

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.