13883183259 023-68037655 咨詢熱線:
當前位置: 主頁 > 關于思莊 > 技術分享 >

EM12C,13C 不知道SYSMAN密碼的情況下修改SYSMAN的密碼

發布時間:2021-09-12
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


再次登陸,可以使用新的口令登錄。
?
聯系我們 重慶思莊科技有限公司
023-68037655
重慶思莊科技有限公司 版權所有? 備案號:渝ICP備12004239號-4

渝公網安備 50010702502184號

<<