重新配置EM的连接账号DBSNMP密码后保存设置时出错
2010-07-26 15:54
429 查看
由于密码更新,导致EM使用出现问题
所以需要在EM上重新配置DBSNMP的密码
但是配置完毕后,保存报错如下:
正在将实例 ×××11保存到资料档案库和代理 https://×××:3872/emd/main...-- 将 rac db 保存到代理时出现异常错误https://×××:3872/emd/main: oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file ... 已完成。
正在将实例 ×××12保存到资料档案库和代理 https://×××:3872/emd/main...-- 将 rac db 保存到代理时出现异常错误https://×××:3872/emd/main: oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file ... 已完成。
实例 ×××的属性已更新。
由于保存出错,还是无法正确使用EM,必须追究根源,
先尝试重新启动EM的agent服务
oracle $ cd /u01/app/oracle/OracleHomes/agent10g/bin
oracle $ ls emctl
emctl
oracle $ ./emctl
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 10g Agent Commands:
emctl start | stop agent
emctl status agent
emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-port>/em/*>]
emctl getversion
emctl reload | upload | clearstate | getversion agent
emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....
emctl config agent <options>
emctl config agent updateTZ
emctl config agent getTZ
emctl resetTZ agent
emctl config agent credentials [<Target_name>[:<Target_Type>]]
Blackout Usage :
emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
emctl stop blackout <Blackoutname>
emctl status blackout [<Target_name>[:<Target_Type>]]....
The following are valid options for blackouts
<Target_name:Target_type> defaults to local node target if not specified.
If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm
emctl getemhome
emctl ilint
emctl start | stop | status subagent
Secure Agent Usage :
emctl secure agent <registration password>
emctl unsecure agent
oracle $ ./emctl stop agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
oracle $ ./emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Starting agent ............................ started.
在此去EM页面保存设置
保存成功
所以需要在EM上重新配置DBSNMP的密码
但是配置完毕后,保存报错如下:
正在将实例 ×××11保存到资料档案库和代理 https://×××:3872/emd/main...-- 将 rac db 保存到代理时出现异常错误https://×××:3872/emd/main: oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file ... 已完成。
正在将实例 ×××12保存到资料档案库和代理 https://×××:3872/emd/main...-- 将 rac db 保存到代理时出现异常错误https://×××:3872/emd/main: oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file ... 已完成。
实例 ×××的属性已更新。
由于保存出错,还是无法正确使用EM,必须追究根源,
先尝试重新启动EM的agent服务
oracle $ cd /u01/app/oracle/OracleHomes/agent10g/bin
oracle $ ls emctl
emctl
oracle $ ./emctl
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 10g Agent Commands:
emctl start | stop agent
emctl status agent
emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-port>/em/*>]
emctl getversion
emctl reload | upload | clearstate | getversion agent
emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....
emctl config agent <options>
emctl config agent updateTZ
emctl config agent getTZ
emctl resetTZ agent
emctl config agent credentials [<Target_name>[:<Target_Type>]]
Blackout Usage :
emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
emctl stop blackout <Blackoutname>
emctl status blackout [<Target_name>[:<Target_Type>]]....
The following are valid options for blackouts
<Target_name:Target_type> defaults to local node target if not specified.
If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm
emctl getemhome
emctl ilint
emctl start | stop | status subagent
Secure Agent Usage :
emctl secure agent <registration password>
emctl unsecure agent
oracle $ ./emctl stop agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
oracle $ ./emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Starting agent ............................ started.
在此去EM页面保存设置
保存成功
相关文章推荐
- linux mysql 初始化密码&丢失密码重新设置&添加远程连接支持
- ArcCatalog禁用ArcSDE连接配置界面的保存密码勾选项
- tortoiseGit 连接gitlab 设置保存用户名和密码
- 总结redis第一部分(简介、虚拟机配置、安装、配置、连接方式、密码设置)
- 重新设置oracle登录账号和密码
- 配置远程桌面服务会话的超时设置和重新连接设置
- 第一天-1】【忘记密码】【配置数据库em】【em语言设置】【管理em服务】【浏览器执行sql】
- step by step设置postgresql用户密码并配置远程连接
- java——设置sa账号密码,jdbc连接sqlserver2005数据库
- 误删除mysql中的所用用户,如何重新设置root账号和密码
- 通过SSID,密码,和连接类型来连接WiFi,并保存配置
- TortoiseSVN客户端重新设置保存后失效的用户名和密码
- TortoiseSVN客户端重新设置保存后失效的用户名和密码
- 为什么MySQL的root用户的密码为空可以成功连接,设置密码以后即出错
- 配置终端服务连接是否需要账号密码
- hibernate连接mysql时,配置正确,账号密码正确,启动时报 access denied ...
- 配置远程桌面服务会话的超时设置和重新连接设置