1、启动dbconsole

[oracle@devrfel501 ~]$ emctl start dbconsole

如果提示:OC4J Configuration issue. /opt/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsol,则说明没有配置或没有创建

2、配置dbconsole

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

STARTED EMCA at Apr 21, 2009 2:21:41 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
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 ................ /opt/oracle/product/10.2.0

Database hostname ................ devrfel501
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
Apr 21, 2009 2:23:52 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/product/10.2.0/cfgtoollogs/emca/orcl/emca_2009-04-21_02-21-41-AM.log.
Apr 21, 2009 2:24:14 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Apr 21, 2009 2:24:35 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Apr 21, 2009 2:24:35 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Apr 21, 2009 2:26:15 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Apr 21, 2009 2:26:15 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://devrfel501:5502/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 21, 2009 2:26:15 AM

3、查看dbconsole的状态和访问地址

[oracle@devrfel501 ~]$ emctl status dbconsole

TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://devrfel501:5502/em/console/aboutApplication  #访问地址
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/10.2.0/devrfel501_orcl/sysman/log

4、删除数据库的 Database Control配置

oracle@devrfel501 ~]$ emca -deconfig dbcontrol db

5、常用的命令语法:

emca -repos create创建一个EM资料库

emca -repos recreate重建一个EM资料库

emca -repos drop删除一个EM资料库

emca -config dbcontrol db配置数据库的 Database Control

emca -deconfig dbcontrol db删除数据库的 Database Control配置

emca -reconfig ports 重新配置db control和agent的端口

emctl start console启动EM console服务,使用前需要先设置ORACLE_SID环境变量

emctl stop console停止EM console服务,使用前需要先设置ORACLE_SID环境变量

注:通过查看$ORACLE_HOME/install/portlist.ini 文件可以知道当前dbcontrol正在使用的端口,默认dbcontrol http端口1158,agent端口3938。如果要重新配置端口,可以使用如下命令:

emca -reconfig ports -dbcontrol_http_port 1159

emca -reconfig ports -agent_port 3939

使用命令行工具emctl可以启动/停止console服务,察看服务状态等。

linux下配置oracle 10G EM Database Console相关推荐

  1. linux下安装oracle 10g

    Oracle 10g 对软硬件的要求都非常的高,所以要玩转的话的花不少银子.首先来看看它对硬件的要求:内存512兆(建议1G),cpu 主频2.0G以上,硬盘转速7200转以上(建议使用scsi硬盘) ...

  2. linun开启oracle监听,Linux下配置Oracle监听器

    1. 修改监听器配置文件 Linux下Oracle监听器配置文件在:$ ORACLE_HOME/network/admin/listerer.ora, 如: /bank/oracle/oracle10 ...

  3. linux访问oracle配置,Linux下配置Oracle监听器

    1. 修改监听器配置文件 Linux下Oracle监听器配置文件在:$ ORACLE_HOME/network/admin/listerer.ora, 如: /bank/oracle/oracle10 ...

  4. linux系统oracle启动过程,Linux主机下配置Oracle 10G自动启动过程记

    四:创建服务 $su - root # cd /etc/rc.d/init.d/ # gedit oradbstart 复制如下脚本1或者脚本2内容到oradbstart文件: 注意点 (1).#开始 ...

  5. 在linux下配置oracle的远程访问

    服务端配置 export LANG="zh_US"  1.增加一个listener:终端运行:$ORACLE_HOME/bin/netca (必须在图形界面环境下),按照提示增加一 ...

  6. oracle 启动 linux监听,Linux下启动Oracle服务和监听程序

    $ su – oracle $ sqlplus / nolog sql> conn / as sysdba sql> startup                 #启动Oracle,需 ...

  7. Red Linux 6.0下安装Oracle 10g

    一. 环境说明 RedHat Enterprise Linux 6.0 + Virtual Box 4.1.8 + Oracle 10g   二. 安装前配置 1. 安装Oracle 10g R2所需 ...

  8. GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(一)

    环境 源端是一个RAC rac1 rac2: RHEL 4u7 + ORACLE 10.2.0.4 + ASM rac1 外网IP 192.168.47.241 虚拟IP 192.168.47.243 ...

  9. linux下安装oracle集群,【Oracle 集群】Linux下Oracle RAC集群搭建之Oracle DataBase安装(八)...

    目录 数据库安装 继oracle集群安装之后,接下来也是最重要的数据库安装,整个数据库安装难度不大,用户以oracle用户身份登录RAC1主节点,对解压后的文件安装.主节点下安装后,其他所有结点自动安 ...

最新文章

  1. 2021年大数据环境搭建(一):​​​​​​​​​​​​​​​​​​​​​Hadoop编译
  2. 无重复数字的随机数字数组
  3. shell for循环命令行_精心汇总的24道shell脚本面试题
  4. TortoiseSVN图标设置在注册表中的位置
  5. 207. Course Schedule
  6. 洛谷P2568 GCD(莫比乌斯反演)
  7. python打开jpg照片_python打开图像
  8. [leetcode]208. 实现 Trie (前缀树)
  9. 并操作、差操作、广义积操作
  10. 学生管理系统功能设计c语言,C语言--学生信息管理系统设计.doc
  11. UCF101和HMDB51数据集的处理 for Human Action Recognition
  12. 香港中文大学推荐大学期间书单 87本你读过哪些?
  13. 群晖用php装aria2,在群晖安装整套下载管理工具“Aria2 + AriaNg + File Manager”
  14. 电话测试压力软件,1-60T简单压力测试仪器/简单的测试压力工具
  15. 炫 音乐可视化 html5 在线,HTML5打造的炫酷本地音乐播放器-喵喵Player
  16. 58同城、前程无忧在前,快手做招聘能否弯道超车?
  17. 分享个自己开发的夸克网盘资源搜索引擎
  18. echarts 环状图中添加图片
  19. java导入excel时去除空行,使用VBA将空行复制到新工作表后删除Excel中的空行
  20. XunSearch(讯搜)的使用教程步骤(笔记2)

热门文章

  1. VS Code 调试Node.js express网站
  2. LINUX PAM验证机制
  3. IDC运营商如何轻松建立属于自己的数据备份服务中心
  4. Python操作mysql数据库查询操作时提示“unread-result-found”
  5. spring ioc原理(看完后大家可以自己写一个spring)
  6. Theano - 循环
  7. win7笔记本设置wifi热点
  8. 基于 Redis 的分布式锁到底安全吗?
  9. validate插件深入学习-01 小白从看透一个插件开始
  10. 基于Mysql主从同步的读写分离