文章详情

短信预约信息系统项目管理师 报名、考试、查分时间动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

[Oracle] oralce 11.2.0.4手动创建EM

2017-09-29 04:54

关注
这里使用的版本是RedHat7.0,Oracle 11.2.0.4


1.dbconsole启动失败
[oracle@redhat75 ~]$ emctl start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

2.删除旧的EM资料档案库
[oracle@redhat75 ~]$ emca -repos drop
STARTED EMCA at Nov 11, 2019 4:31:52 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: orcl--输入sid
Listener port number: 1521--端口号
Password for SYS user: --密码
Password for SYSMAN user: --密码
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.--避开业务高峰期
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y--yes
Nov 11, 2019 4:32:21 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2019_11_11_16_31_51.log.
Nov 11, 2019 4:32:22 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked
Nov 11, 2019 4:32:22 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: Error initializing SQL connection. SQL operations cannot be performed
Nov 11, 2019 4:32:22 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Nov 11, 2019 4:32:51 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully--配置成功
FINISHED EMCA at Nov 11, 2019 4:32:51 PM

3.创建em资料库档案
[oracle@redhat75 ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Nov 11, 2019 4:33:11 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: orcl--输入sid
Listener port number: 1521--端口号
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0.1/dbhome_1 ]:
Password for SYS user:  --密码
Password for DBSNMP user: --密码
Nov 11, 2019 4:33:33 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked
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 ................ /u01/app/oracle/product/11.2.0.1/dbhome_1
Local hostname ................ redhat75
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0.1/dbhome_1
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y--yes
Nov 11, 2019 4:33:52 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2019_11_11_16_33_11.log.
Nov 11, 2019 4:33:53 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Nov 11, 2019 4:35:27 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Nov 11, 2019 4:35:30 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Nov 11, 2019 4:36:02 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Nov 11, 2019 4:36:04 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Nov 11, 2019 4:36:09 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Nov 11, 2019 4:36:09 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Nov 11, 2019 4:36:45 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Nov 11, 2019 4:36:45 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://redhat75:1158/em <<<<<<<<<<<--可以测试访问
Nov 11, 2019 4:36:47 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/product/11.2.0.1/dbhome_1/redhat75_orcl/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 Nov 11, 2019 4:36:47 PM

阅读原文内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-数据库
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯