暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
Oracle em 修改口令.docx
248
2页
0次
2021-02-22
40墨值下载
3
、转到
$ORACLE_HOME/(host)_(sid)/sysman/cong
目录下
a.
emoms.properties
另存为
emoms.properties.old
b.
修改
emoms.properties
文件
找到
oracle
.sysman.eml.mntr.emdRepPwd=
把等于后的加密字串替换成刚才更改的
密码
oracle123;
找到
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
TRUE
换成
FALSE
重启后可以用了,再打开
emoms.properties
发现刚才修改的内容已被加密。
DBSNMP
密码修改
1.Stop dbconsole
2.set new password for dbsnmp
3.test dbsnmp new password by connect
4.edit targets.xml
Search for the line:
<Property NAME="UserName" VALUE="6f5848a4f53a2d0a" ENCRYPTED=
"TRUE"/>
<Property NAME="password" VALUE="829e1a25401de489" ENCRYPTED=
"TRUE"/>
Replace the encrypted value by the new password value
Replace TRUE by FALSE
5.restart dbconsole
SYSMAN
密码修改
1
、 停止
dbconsole
[oracle@abcca2210028 ~]$ emctl stop dbconsole
查看状态,确认
dbconsole
已经停止
[oracle@abcca2210028 ~]$ emctl status dbconsole
2
、修改
sysman
用户的密码,我把密码改成
oracle123
[oracle@abcca2210028 ~]$ sqlplus / as sysdba
SQL> alter user sysman identi?ed by oracle123;
解锁用户
SQL> alter user sysman account unlock;
确认密码已修改
SQL> conn sysman/oracle123@csc
Connected.
3
、转到
$ORACLE_HOME/(host)_(sid)/sysman/con?g
目录下
a.
emoms.properties
另存为
emoms.properties.old
b.
修改
emoms.properties
文件
oracle.sysman.eml.mntr.emdRepPwd=
密码
oracle123;
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
TRUE
FALSE
4
、重启
dbconsole
,访问
EM
恢复正常
[oracle@abcca2210028 ~]$ emctl start dbconsole
按如上所说操作完毕之后,
dbconsole
可以登录,但是无法做维护。报
io
的一个异常:
解决:
$ emctl stop dbconsole
$ emca -repos recreate
修复完毕,
dbconsole
可以正常使用了。
修改了
sysman
密码,发现数据库用户老被锁定,同时
EM
无法连接,解锁后,一会儿又
被锁定,经过查看日志分析,发现是
em
dbconsole
自动重试,造成
sysman
用户锁
定,而修改
sysman
的密码,并没有修改
em
dbconsole
的连接密码,不知道是我的
操作有问题(用
sqlplus
修改密码)还是
oracle
本身不够人性化,解决办法:
emctl setpasswd dbconsole
这样重新设置
em
dbconsole
密码,重启
em
即可。
of 2
40墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜