1. 停止em
Emctl stop dbconsole
2. 检查是否已经停掉em
Emctl status dbconsole
3. 用sys用户登录sqlplus,用命令修改密码
Sqlplus / as sysdba
alter user sysman identified by ;
4. 验证密码是否已经修改
SQL> connect sysman/[@database_alias]
5. 修改emoms.properties文件
进入到$ORACLE_HOME/host_sid/sysman/config目录5.1 cp emoms.properties emoms.properties.orig 5.2 Edit the file emoms.properties a. Search for the line beginning with: oracle.sysman.eml.mntr.emdRepPwd= Replace the encrypted value by the new password value b. Search for the line: oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE Replace TRUE by FALSE oracle.sysman.eml.mntr.emdRepPwd里面输入新密码
oracle.sysman.eml.mntr.emdRepPwdEncrypted=true的值改为false
6. 启动em
Emctl start dbconsole
7. 检查emoms.properties文件 密码文件是否已经加密等
Edit the file emoms.properties 7.1 Search for the line beginning with: oracle.sysman.eml.mntr.emdRepPwd= Check that the password is encrypted 7.2 Search for the line beginning with: oracle.sysman.eml.mntr.emdRepPwdEncrypted= Check that the value is TRUE
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-663834/ ,如需转载,请注明出处,否则将追究法律责任。