Oracle 10gR2 EMCA Commands

Create a database of EM
emca-repos create
EM reconstruction of a database
emca-repos recreate
Delete a database EM
emca-repos drop
Database Control configuration database
emca-config dbcontrol db
Remove the Database Control configuration database
emca-deconfig dbcontrol db
Reconfigure the db control of the port, the default port 1158
emca-reconfig ports
emca-reconfig ports-dbcontrol_http_port 1160
emca-reconfig ports-agent_port 3940
First set the ORACLE_SID environment variable, start EM console services
emctl start dbconsole
After the first set the ORACLE_SID environment variable, stop EM console services
emctl stop dbconsole
After the first set the ORACLE_SID environment variable, see EM console status of the service
emctl status dbconsole

Steps to configure dbconsole
emca-repos create
emca-config dbcontrol db
emctl start dbconsole
The steps to reconfigure dbconsole
emca-repos drop
emca-repos create
emca-config dbcontrol db
emctl start dbconsole