首页 > 数据库 >Oracle 11g OEM安装

Oracle 11g OEM安装

时间:2023-02-17 11:01:05浏览次数:62  
标签:10 11g Feb 17 AM oracle OEM 2023 Oracle

配置OEM之前修改密码
alter user SYSMAN identified by "password";
alter user DBSNMP identified by "password";

emca -repos create创建

[oracle@test ~]$ emca -repos create
STARTED EMCA at Feb 17, 2023 10:27:38 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: test
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [yes(Y)/no(N)]: y
Feb 17, 2023 10:27:58 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /data/u01/app/oracle/cfgtoollogs/emca/test/emca_2023_02_17_10_27_38.log.
Feb 17, 2023 10:27:58 AM oracle.sysman.emcp.DatabaseChecks performReposChecks
SEVERE: Dbcontrol Repository already exists.  Fix the error(s) and run EM Configuration Assistant again in standalone mode.

显示已经创建,接下来进行配置

[oracle@test ~]$ emca -config dbcontrol db

STARTED EMCA at Feb 17, 2023 10:28:13 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: test
Listener port number: 1521
Listener ORACLE_HOME [ /data/u01/app/oracle/product/11.2.0/dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /data/u01/app/oracle/product/11.2.0/dbhome_1

Local hostname ................ test
Listener ORACLE_HOME ................ /data/u01/app/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ test
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Feb 17, 2023 10:31:43 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /data/u01/app/oracle/cfgtoollogs/emca/test/emca_2023_02_17_10_28_13.log.
Feb 17, 2023 10:31:44 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Feb 17, 2023 10:32:08 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Feb 17, 2023 10:32:08 AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for test
Feb 17, 2023 10:32:09 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Feb 17, 2023 10:32:12 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Feb 17, 2023 10:32:12 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 17, 2023 10:32:22 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Feb 17, 2023 10:32:22 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://test:1158/em <<<<<<<<<<<
Feb 17, 2023 10:32:23 AM 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: /data/u01/app/oracle/product/11.2.0/dbhome_1/test_test/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 Feb 17, 2023 10:32:23 AM

然后使用https://test:1158/em 进行登录即可

参考:https://blog.csdn.net/jolly10/article/details/81028765

标签:10,11g,Feb,17,AM,oracle,OEM,2023,Oracle
From: https://www.cnblogs.com/nanblog/p/17129381.html

相关文章