Run Oracle database EM, isqlplus, and other commands in Linux.

Source: Internet
Author: User

Run Oracle database EM, isqlplus, and other commands in Linux.

$ ORACLE_HOME/bin/emctl start dbconsole

$ ORACLE_HOME/bin/isqlplusctl start

Common emctl command syntax:

Emctl start dbconsole to start the EM console service. You need to set the ORACLE_SID environment variable before use.

Emctl stop dbconsole to stop the EM console service. You must set the ORACLE_SID environment variable before use.

You can use the command line tool emca to create, modify, recreate, or delete dbcontrol configurations. The command line tool emctl can start/stop the EM console service and view the service status.

Common emca command syntax:

Emca-repos create creates an EM Database

Emca-repos recreate re-creates an EM Database

Emca-repos drop delete an EM Database

Emca-config dbcontrol db configure Database Control of the Database

Emca-deconfig dbcontrol db deletes the Database Control Configuration of a Database

Emca-reconfig ports reconfigure db control and agent ports

Note: You can check the $ ORACLE_HOME/install/portlist. ini file to find the port currently in use by dbcontrol. The default port is dbcontrol http port 1158 and agent port 3938. To reconfigure the port, run the following command:

Emca-reconfig ports-dbcontrol_http_port 1159

Emca-reconfig ports-agent_port 3939

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.