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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1421|回复: 2
打印 上一主题 下一主题

EM12C,13C 不知道SYSMAN密码的情况下修改SYSMAN的密码

[复制链接]
跳转到指定楼层
楼主
发表于 2021-9-5 19:32:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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


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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2021-9-5 19:52:56 | 只看该作者
参考:
    How to Modify the Password for SYSMAN and related Users in the Enterprise Manager Cloud Control (文档 ID 1365930.1)
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2024-3-16 11:11:09 | 只看该作者
./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle_4U -new_pwd sztech_4U

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

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-25 23:24 , Processed in 0.081781 second(s), 18 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表