重庆思庄Oracle、Redhat认证学习论坛

标题: EM12C,13C 不知道SYSMAN密码的情况下修改SYSMAN的密码 [打印本页]

作者: 郑全    时间: 2021-9-5 19:32
标题: EM12C,13C 不知道SYSMAN密码的情况下修改SYSMAN的密码
1. Stop all the OMS:

cd <OMS_HOME>/bin
emctl stop oms

emctl stop oms -bip_only
emctl extended oms jvmd stop –all

emctl extended oms adp stop -all


2.修改SYSMAN密码
cd <OMS_HOME>/bin
emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <sys user password> -new_pwd <new sysman password>

具体例子:
  比如要修改为sztech_4U

   ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle_4U -new_pwd sztech_4U



[oracle@omsserver bin]$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle_4U -new_pwd sztech_4U
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.

Changing passwords in backend ...
Passwords changed in backend successfully.
Updating repository password in Credential Store...
Successfully updated Repository password in Credential Store.
Restart all the OMSs using 'emctl stop oms -all' and 'emctl start oms'.
Successfully changed repository password.

3. 停止所有管理服务并重启OMS:
   emctl stop oms -all
   emctl start oms


[oracle@omsserver bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
WebTier Successfully Stopped
Oracle Management Server Already Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down


[oracle@omsserver bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Already Started
Oracle Management Server is Up
JVMD Engine is Up



[oracle@omsserver bin]$ ./emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 5  
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up


再次登陆,可以使用新的口令登陆。


作者: 郑全    时间: 2021-9-5 19:52
参考:
    How to Modify the Password for SYSMAN and related Users in the Enterprise Manager Cloud Control (文档 ID 1365930.1)
作者: 郑全    时间: 2024-3-16 11:11
./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle_4U -new_pwd sztech_4U

注意,-sys_pwd后面的这个密码oracle_4U ,是SYS的密码,用于登录EMREP这个数据库,进行SYSMAN用户密码修改。




欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2