oracle@now_hostname:/home/oracle $emca -config dbcontrol db -repos recreate STARTED EMCA at Sep 1, 2024 10:09:00 PM EM Configuration Assistant, Version 11.2.0.3.0 Production Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information: Database SID: ORACLE_SID Listener port number: 1521 Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0.4/dbhome_1 ]: Password for SYS user: xxxxxxx Password for DBSNMP user: xxxxxx Password for SYSMAN user: xxxxxx Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): -----------------------------------------------------------------
Local hostname ................ new_hostname Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0.4/dbhome_1 Listener port number ................ 1521 Database SID ................ ORACLE_SID Email address for notifications ............... Outgoing Mail (SMTP) server for notifications ...............
----------------------------------------------------------------- ---------------------------------------------------------------------- WARNING : While repository is dropped the database will be put in quiesce mode. ---------------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: y Sep 1, 2024 10:09:36 PM oracle.sysman.emcp.EMConfig perform INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/db_name/emca_2024_09_01_22_09_00.log. Sep 1, 2024 10:09:36 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Dropping the EM repository (this may take a while) ... Sep 1, 2024 10:10:09 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully dropped Sep 1, 2024 10:10:09 PM oracle.sysman.emcp.EMReposConfig createRepository INFO: Creating the EM repository (this may take a while) ... Sep 1, 2024 10:12:10 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Sep 1, 2024 10:12:11 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository INFO: Uploading configuration data to EM repository (this may take a while) ... Sep 1, 2024 10:12:38 PM oracle.sysman.emcp.EMReposConfig invoke INFO: Uploaded configuration data successfully Sep 1, 2024 10:12:39 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Securing Database Control (this may take a while) ... Sep 1, 2024 10:13:31 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole INFO: Database Control secured successfully. Sep 1, 2024 10:13:31 PM oracle.sysman.emcp.util.DBControlUtil startOMS INFO: Starting Database Control (this may take a while) ... Sep 1, 2024 10:13:51 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Sep 1, 2024 10:13:51 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://new_hostname:1158/em <<<<<<<<<<< Sep 1, 2024 10:14:07 PM oracle.sysman.emcp.EMDBPostConfig invoke WARNING: ************************ WARNING ************************ Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u01/app/oracle/productzhi_dbname/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost. *********************************************************** Enterprise Manager configuration completed successfully FINISHED EMCA at Sep 1, 2024 10:14:07 PM oracle@now_hostname:/home/oracle $emctl status dbconsole Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://new_hostname:1158/em/console/aboutApplication Oracle Enterprise Manager 11g is running. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/11.2.0.4/dbhome_1/now_hostname_dbname/sysman/log