oracle em 无法启动问题解决

sysman,dbsnmp密码修改:

1、SYSMAN密码修改

1、 停止dbconsole

[oracle@xxx ~]$ emctl stop dbconsole

查看状态,确认dbconsole已经停止

[oracle@xxx ~]$ emctl status dbconsole

2、修改sysman用户的密码

[oracle@xxx ~]$ sqlplus / as sysdba

SQL> alter user sysman identified by yyyy;

解锁用户

SQL> alter user sysman account unlock;

确认密码已修改

SQL> conn sysman/ yyyy @qqq

Connected.

3、转到$ORACLE_HOME/(host)_(sid)/sysman/config目录下

a. 把emoms.properties另存为emoms.properties.old

b. 修改emoms.properties文件

找到oracle.sysman.eml.mntr.emdRepPwd=把等于后的加密字串替换成刚才更改的密码yyyy;

找到oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE 把TRUE换成FALSE。

4、重启dbconsole,访问EM恢复正常

[oracle@xxx ~]$emctl start dbconsole

2、修改DBSNMP密码

2、DBSNMP 密码修改

修改的流程类似修改SYSMAN,只不过第3步如下:

转到$ORACLE_HOME/(host)_(sid)/sysman/emd目录下

[oracle@xxx ~]$ cp targets.xml targets.xml.bak

[oracle@xxx ~]$vi targets.xml

修改些列代码中:

<Property NAME="UserName" VALUE="6f5848a4f53a2d0a" ENCRYPTED="TRUE"/>

<Property NAME="password" VALUE="829e1a25401de489" ENCRYPTED="TRUE"/>

用新的dbsnmp的密码代替上列password的Value值,ENCRYPTED的值修改成FALSE。

重建em
emca -config dbcontrol db -repos recreate


..........

已成功完成 Enterprise Manager 的配置
EMCA 结束于 2011-8-11 17:02:39



EM能正常访问ORACLE了




猜你喜欢

转载自brosnan2800.iteye.com/blog/1717681