该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

FYI

How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control [ID 259387.1]

31/05/2012 in 10g OEM Grid Control

Applies to:

Enterprise Manager for Oracle Database – Version: 10.1.0.4 to 11.2.0.1 – Release: 10.1 to 11.2

Enterprise Manager Base Platform – Version: 10.1.0.4 and later [Release: 10.1 and later]

Information in this document applies to any platform.

Purpose

How to change the password of the 10g or 11g Database user DBSNMP when the database is monitored through the DB Control.

Scope and Application

All database administrators using the DB Control to monitor their 10g or 11g Database.

How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control

To change the password of the user DBSNMP you must strictly follow the steps below, otherwise the 10g or 11g DB Control used to manage your database will not function properly.

Note: For DB Control Release 10.2.0.3 and higher installed on Windows 2008 / Vista, emctl commands may fail with the error “Permission Denied“. Please consult the note below to fix this error:

Document 1164293.1 – Executing Any EMCTL Command on Windows 2008 / Vista Returns “Permission denied” Error

Stop the standalone dbconsole

On Unix – DB Control Release up to 11.1.x

$ export ORACLE_SID=

$ emctl stop dbconsole

On Unix – DB Control Release 11.2.x and higher

$ export ORACLE_SID=

$ export ORACLE_UNQNAME=

$ emctl stop dbconsole

On Windows – DB Control Release up to 11.1.x

Stop the Windows Service OracleDBConsole

Or

Open a DOS Command Window and type

C> set ORACLE_SID=

C> set ORACLE_HOME=

C> cd %ORACLE_HOME%/bin

C> emctl stop dbconsole

On Windows – DB Control Release 11.2.x and higher

Stop the Windows Service OracleDBConsole

Or

Open a DOS Command Window and type

C> set ORACLE_SID=

C> set ORACLE_UNQNAME=

C> set ORACLE_HOME=

C> cd %ORACLE_HOME%/bin

C> emctl stop dbconsole

Check that the DB Control is stopped

On Unix

$ emctl status dbconsole

On Windows

Check the status of the Windows Service OracleDBConsole

Or

Open a DOS Command Window, cd to the database $ORACLE_HOME\bin and type

C> emctl status dbconsole

Connect to the database as a user with DBA privilege with SQL*Plus and execute

SQL> alter user dbsnmp identified by ;

Check the new password

SQL> connect dbsnmp/[@database_alias]

Go to $ORACLE_HOME/host_sid/sysman/emd

Save the file targets.xml to targets.xml.orig

Edit the file targets.xml with your favorite texteditor

Search for the line:

” encrypted=”TRUE“>

Replace the encrypted value by the new password value

Replace TRUE by FALSE

Restart the standalone dbconsole

On Unix – DB Control Release up to 11.1.x

$ export ORACLE_SID=

$ emctl start dbconsole

On Unix – DB Control Release 11.2.x and higher

$ export ORACLE_SID=

$ export ORACLE_UNQNAME=

$ emctl start dbconsole

On Windows – DB Control Release up to 11.1.x

Start the Windows Service OracleDBConsole

Or

Open a DOS Command Window and type

C> set ORACLE_SID=

C> set ORACLE_HOME=

C> cd %ORACLE_HOME%/bin

C> emctl start dbconsole

On Windows – DB Control Release 11.2.x and higher

Start the Windows Service OracleDBConsole

Or

Open a DOS Command Window and type

C> set ORACLE_SID=

C> set ORACLE_UNQNAME=

C> set ORACLE_HOME=

C> cd %ORACLE_HOME%/bin

C> emctl start dbconsole

Check that the password has been encrypted

Edit the file targets.xml

Search for the line: ” encrypted=”TRUE”>

Check that the password VALUE is encrypted

Check that the value of ENCRYPTED is TRUE

Note: In case of RAC DB, the dbsnmp password should be changed in targets.xml not only for instances(oracle_database), but also for rac_database target. The file targets.xml needs to be updated on all the RAC Cluster nodes.

oracle 11g 01017,oracle 11G OEM 出现问题 ORA-01017: inv相关推荐

  1. oracle 11g的Oracle Enterprise Manager(Oracle企业管理器,简称OEM)

    oracle 10g的OEM启动方式一般在开始菜单的Oracle Enterprise Manager就可以找到,打开进行管理: oracle进行更新到11g的版本时,将OEM功能通过web进行管理, ...

  2. oracle 11g 视频,Oracle 11G从入门到精通视频

    Oracle 11G从入门到精通视频的PPT http://down.51cto.com/data/376701 第1章-Oracle 11g数据库简介 认识Oracle 11g 回忆Oracle的产 ...

  3. Oracle Database 9i 10g 11g编程艺术 深入数据库体系结构 第2版pdf

    下载地址:网盘下载 <Oracle Database 9i/10g/11g编程艺术:深入数据库体系结构>是公认的Oracle数据库权威指南,凝聚了世界顶尖的Oracle专家Thomas K ...

  4. oracle 11g ocfs,Oracle 将不再提供ASMlib和OCFS2软件和支持给红帽 RedHat 6的新发行版

    Oracle 将不再提供ASMlib和OCFS2软件和支持给红帽的新发行版,这是两则与Linux和数据库相关的重要通知,部分重要内容给大家翻译如下: 1)ASMLib 1.1)ASMLib是Oracl ...

  5. 配置oracle 11g环境,oracle 11g 的安装环境的配置

    http://docs.oracle.com/cd/E11882_01/install.112/e24324/toc.htm 1.检查硬件的要求 内存要求: 内存要求:至少1G,但是安装11g必须在2 ...

  6. Oracle Study之--Oracle 11g RAC设置归档路径错误案例

    Oracle Study之--Oracle 11g RAC置归档路径错误案例 系统环境: 操作系统: RedHat EL55 集群:     Oracle 11g GI Oracle:   Oracl ...

  7. oracle u01清理,Oracleの/u01/11g/diag/rdbms/orcl/orcl/incident 的清理

    https://docs.oracle.com/cd/E11882_01/server.112/e25494/diag.htm#ADMIN11007 每当一个错误发生的时候,oracle会创建一个in ...

  8. t oracle删除吗,Oracle 11g 手工建库与删库

    Oracle 11g 手工建库与删库 在前一篇文章中提到阅读Oracle 11gR2 Administrator's Guide(文档编号E25494-01)时,简单描述了DDL_LOCK_TIMEO ...

  9. oracle 11gogg,【OGG】Oracle GoldenGate 11g (二) GoldenGate 11g 单向同步配置 上

    Oracle GoldenGate 11g (二) GoldenGate 11g 单向同步配置 上 Item Source System Target System Platform RHEL6.4 ...

  10. c oracle 多条语句,Oracle 实践:如何编写一条 sql 语句获取数据表的全部索引信息(兼容 Oracle 19c、Oracle 11g)...

    一.引言 部门使用 Oracle 已经有一些时日,最近在工作中遇到了这么一个需求: 我们希望拿到某些数据表的全部索引信息,对索引信息进行检查,检查是否有漏掉没有创建的索引 这个需求,核心的点在于,我需 ...

最新文章

  1. 带闰年判断的正则表达式
  2. iOS项目的本地化处理(多国语言)
  3. CNN模型 int8量化实现方式(二)
  4. 从Image Caption Generation理解深度学习
  5. 设置zookeeper开机自启动
  6. 学计算机的人都会CAD制图吗,CAD到底该如何学习?
  7. Python4班平均成绩统计_回首过去,展望未来 | 欢迎大家来到E班第一次主题班会!...
  8. python字符串偏移量_字符串掩码和带正则表达式的偏移量
  9. 微信小程序 手写签名_【微信小程序canvas】实现小程序手写板用户签名(附代码)...
  10. 用计算机绘制二项分布概率图,二项分布和泊松分布实验.doc
  11. JZOJ 3339. 【NOI2013模拟】wyl8899和法法塔的游戏
  12. C# 从零开始写 SharpDx 应用 初始化dx修改颜色
  13. [图像几何变换]——图像的仿射变换、透射变换及图像金字塔
  14. 视频回顾 | Pulsar Summit Asia 2020 · 场景案例(上):即时零售, 金融证券, 物联网, 电信计费等...
  15. 聊聊新加坡的工作和生活
  16. shell中将字符串转换成数字
  17. (闲杂笔记1) 控件尺寸与像素关系
  18. ei加声调怎么加_ei的四个声调怎么写
  19. 一座宝塔_书是一座知识宝塔作文600字
  20. java怎么引入矢量图标库,阿里图标库怎么使用?阿里图标库iconfont如何使用

热门文章

  1. [20150803]触发器对dml的影响.txt
  2. [代码]POJ 2409 Let it Bead
  3. 毕业5年决定你的一生_4
  4. 在大多数人转向.NET和JAVA阵营的时候,我正在悄悄地向古老的COBOL招手
  5. 9、两个栈实现队列(Python)
  6. 计算机系统结构概念,计算机系统结构的基本概念
  7. oracle 获取多个序列值,一次性获取多个oracle序列值问题
  8. 小程序webview 页面被放大_Android中WebView加载的网页被放大的解决办法
  9. 1小时学会jQuery,全程无废话,直接上代码
  10. 通过编写纯代码与JDBC实现对mysql的数据实现增删改查案例,jdbc连接数据库六步完整步骤详解,适合编程新手,通俗易懂