你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 10g 配置OEM/DB CONSOLE

[日期:2012-12-22] 来源:Linux社区  作者:luoping [字体:大 中 小]

3,删除相关的用户

  1. $ sqlplus / as sysdba
  2. SQL*Plus: Release 10.2.0.1.0 - Production on Sat Dec 22 12:35:14 2012
  3. Copyright (c) 1982, 2005, Oracle. All rights reserved.
  4. Connected to:
  5. Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
  6. With the Partitioning, OLAP and Data Mining options
  7. SQL> dropuser sysman cascade;
  8. User dropped.
  9. SQL> drop role MGMT_USER;
  10. Role dropped.
  11. SQL> dropuser MGMT_VIEW cascade;
  12. User dropped.
  13. SQL> droppublic synonym MGMT_TARGET_BLACKOUTS;
  14. Synonym dropped.
  15. SQL> droppublic synonym SETEMVIEWUSERCONTEXT;
  16. Synonym dropped.

4,再次测试DB CONSOLE

  1. $ emca -config dbcontrol db -repos create
  2. STARTED EMCA atDec 22, 2012 12:38:06 PM
  3. EM Configuration Assistant, Version 10.2.0.1.0 Production
  4. Copyright (c) 2003, 2005, Oracle. All rights reserved.
  5. Enter the following information:
  6. Database SID: htz
  7. Listener port number: 1521
  8. Passwordfor SYS user:
  9. Passwordfor DBSNMP user:
  10. Passwordfor SYSMAN user:
  11. Email address for notifications (optional):
  12. Outgoing Mail (SMTP) server for notifications (optional):
  13. -----------------------------------------------------------------
  14. You have specified the following settings
  15. Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
  16. Database hostname ................ 10rac1
  17. Listener port number ................ 1521
  18. Database SID ................ htz
  19. Email address for notifications ...............
  20. Outgoing Mail (SMTP) server for notifications ...............
  21. -----------------------------------------------------------------
  22. Do you wish tocontinue? [yes(Y)/no(N)]: Y
  23. Dec 22, 2012 12:38:18 PM oracle.sysman.emcp.EMConfig perform
  24. INFO: This operation is being logged at /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/emca/htz/emca_2012-12-22_12-38-06-PM.log.
  25. Dec 22, 2012 12:38:18 PM oracle.sysman.emcp.EMReposConfig createRepository
  26. INFO: Creating the EM repository (this may take a while) ...
  27. Dec 22, 2012 12:39:55 PM oracle.sysman.emcp.EMReposConfig invoke
  28. INFO: Repository successfully created
  29. Dec 22, 2012 12:39:57 PM oracle.sysman.emcp.util.DBControlUtil startOMS
  30. INFO: Starting Database Control (this may take a while) ...
  31. Dec 22, 2012 12:41:31 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
  32. INFO: Database Control started successfully
  33. Dec 22, 2012 12:41:31 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
  34. INFO: >>>>>>>>>>> The Database Control URL is http://10rac1:1158/em <<<<<<<<<<<
  35. Enterprise Manager configuration completed successfully
  36. FINISHED EMCA atDec 22, 2012 12:41:31 PM
  37. $

5,测试是否成功

  1. $ emctl status dbconsole
  2. Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
  3. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
  4. http://10rac1:1158/em/console/aboutApplication
  5. Oracle Enterprise Manager 10g is running.
  6. ------------------------------------------------------------------
  7. Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/10rac1_htz/sysman/log

6,通过http访问,一切正常

Oracle 10g 配置OEM/DB CONSOLE

linux
相关资讯       Oracle 10g oem  Oracle console  Oracle em console 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款