os: 7.6 hundreds
db: Oracle 11.0.2.4
Before installation oracle 12c with the library, and mainly through emca emctl operation.
View dbconsole
$ emca -displayConfig dbcontrol -cluster
Configuration dbconsole
$ emca -repos drop
$ emca -repos create
$ emca -repos recreate
Database Control configuration database
RAC parameters need to add -cluster
$ emca -config dbcontrol db -cluster
Or a one-stop
$ emca -config dbcontrol db -repos create -cluster
Delete the database Database Control
$ emca -deconfig dbcontrol db
Reconfigure db control of the port
$ emctl start dbconsole
$ emca -reconfig ports -dbcontrol_http_port 1160
$ emca -reconfig ports -agent_port 3940
$ emca -repos create
$ emca -config dbcontrol db
$ emctl start dbconsole
Other emctl command
$ emctl start dbconsole
$ emctl stop dbconsole
$ emctl status dbconsole
Visit url: HTTPS: // node1: 1160 / EM
reference:
If some of the problems encountered by EM
CREATE PUBLIC SYNONYM MGMT_AVAILABILITY FOR MGMT_AVAILABILITY *
Line 1 error:
ORA-00955: name is already using an existing object
SQL> drop role MGMT_USER;
drop user MGMT_VIEW cascade;
drop user sysman cascade;
drop public synonym MGMT_TARGET_BLACKOUTS;
drop public synonym SETEMVIEWUSERCONTEXT;
drop public synonym MGMT_AVAILABILITY;
drop public synonym MGMT_CURRENT_AVAILABILITY;
drop public synonym MGMT_SEVERITY_OBJ