oracle 基础知识记录:EM的重建
一、过程
1、解锁用户DBSNMP、SYSMAN(最好解锁后将用户密码重置一下)
alter user DBSNMP account unlock;
alter user SYSMAN account unlock;
2、[oracle@vcenteroracle ~]$ emca -config dbcontrol db -repos recreate
先后输入SID、Listener port number、SYS\ DBSNMP\ SYSMAN的密码,继续
WARNING:
************************ WARNING ************************
Management Repository has been placed insecure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in thefile: /home/oracle/app/oracle/product/11.2.0/db_1/vcenteroracle_shop/sysman/config/emkey.ora.Ensure this file is backed up as the encrypted data will become unusable ifthis file is lost.
***********************************************************
Enterprise Manager configuration completedsuccessfully
FINISHED EMCA at Jun 21, 2013 2:46:59 PM
3、直接浏览器https://172.16.40.252:5500/em
OK
感觉:11g比10g的em重建要轻松多了
二、遗留问题
备份加密密钥
[oracle@vcenteroracle ~]$ emctl configemkey -emkey /home/oracle/app/oracle/product/11.2.0/db_1/vcenteroracle_shop/sysman/config/emkey.ora-force -sysman_pwd admin
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 OracleCorporation. All rights reserved.
Undefined subroutine&EmKeyCmds::promptUserPasswd called at /home/oracle/app/oracle/product/11.2.0/db_1/bin/EmKeyCmds.pmline 160, line 6.
有点小问题,不知咋搞,先记下再说
本文来源 我爱IT技术网 http://www.52ij.com/jishu/5050.html 转载请保留链接。
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
