zoukankan      html  css  js  c++  java
  • 转发:Oracle10g R2 EMCA常用命令及实例步骤

    本文转自:http://edu.cnzz.cn/NewsInfo/16777.aspx

    在Oracle 10g 中,我们可能会经常遇到OEM不能正常使用的问题,但导致问题的原因不尽相同,最后绝大多数问题可以通过emca 这个命令来解决,详细的说明可以查看联机帮助,下面给出一些常用的命令及实例步骤.

    创建一个EM资料库

    emca -repos create

    重建一个EM资料库

    emca -repos recreate

    删除一个EM资料库

    emca -repos drop

    配置数据库的 Database Control

    emca -config dbcontrol db

    删除数据库的 Database Control配置

    emca -deconfig dbcontrol db

    重新配置db control的端口,默认端口在1158

    emca -reconfig ports

    emca -reconfig ports -dbcontrol_http_port 1160

    emca -reconfig ports -agent_port 3940

    先设置ORACLE_SID环境变量后,启动EM console服务

    emctl start dbconsole

    先设置ORACLE_SID环境变量后,停止EM console服务

    emctl stop dbconsole

    先设置ORACLE_SID环境变量后,查看EM console服务的状态

    emctl status dbconsole

    配置dbconsole的步骤

    emca -repos create

    emca -config dbcontrol db

    emctl start dbconsole

    重新配置dbconsole的步骤

    emca -repos drop

    emca -repos create

    emca -config dbcontrol db

    emctl start dbconsole

  • 相关阅读:
    nodejs 获取客户端 ip 地址
    如何使用 nvm-windows 管理 nodejs 版本
    redis 环境搭建
    利用 ssh 传输文件
    如何在 Centos7 中安装 gcc
    如何在 Centos7 中安装 nginx
    django迁移model到别的app中
    ssl生成证书
    pip安装mysql报错 ld: library not found for -lssl
    mac重置蓝牙模块
  • 原文地址:https://www.cnblogs.com/SharkXu/p/OracleEMCA.html
Copyright © 2011-2022 走看看