[oracle@oracle01 ~]$ emca -config dbcontrol db
STARTED EMCA at Mar26, 2019 1:50:01AM
EM Configuration Assistant, Version11.2.0.3.0Production
Copyright (c)2003, 2011, Oracle. Allrights reserved.
Enter the following information:DatabaseSID: oracle01
Listener portnumber: 1521Listener ORACLE_HOME[/u01/app/oracle/product/11.2.0/db_1]:
Passwordfor SYS user:
Passwordfor DBSNMP user:
Passwordfor SYSMAN user:
Email addressfornotifications (optional):
Outgoing Mail (SMTP) serverfornotifications (optional):-----------------------------------------------------------------
You have specified the following settingsDatabase ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
Local hostname ................ oracle01
Listener ORACLE_HOME ................/u01/app/oracle/product/11.2.0/db_1
Listener portnumber ................ 1521
DatabaseSID ................ oracle01
Email addressfornotifications ...............
Outgoing Mail (SMTP) serverfornotifications ...............-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Mar26, 2019 1:50:46AM oracle.sysman.emcp.EMConfig perform
INFO: This operationis being logged at /u01/app/oracle/cfgtoollogs/emca/oracle01/emca_2019_03_26_01_50_01.log.
Mar26, 2019 1:50:50AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration datato EM repository (this may take a while) ...
Mar26, 2019 1:51:29AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Mar26, 2019 1:51:30AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listenerfororacle01
Mar26, 2019 1:51:31AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: SecuringDatabase Control (this may take a while) ...
Mar26, 2019 1:51:37AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO:DatabaseControl secured successfully.
Mar26, 2019 1:51:37AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: StartingDatabase Control (this may take a while) ...
Mar26, 2019 1:55:35AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing/u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole
Mar26, 2019 1:55:35AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO:>>>>>>>>>>> The Database Control URL is https://oracle01:1158/em <<<<<<<<<<
WARNING:************************ WARNING ************************Management Repository has been placedin secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u01/app/oracle/product/11.2.0/db_1/oracle01_oracle01/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file islost.***********************************************************Mar26, 2019 1:55:37AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING: Error startingDatabase Control.Executethe following command(s).1) Set the environment variable ORACLE_UNQNAME to Database uniquename2) /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole
Error startingDatabase Control.Executethe following command(s).1) Set the environment variable ORACLE_UNQNAME to Database uniquename2) /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole[oracle@oracle01 ~]$