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