版本:

Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 
Linux, x64, 64bit (optimized), Oracle 10g on Oct  4 2011 23:50:20

 

  在启动agent的时候,报密码不对,报错如下:

2014-06-18 14:50:33  WARNING OGG-01689  Oracle GoldenGate Manager for Oracle, mgr.prm:  Thread: agentRegistration, Message: MBeansContainerImpl.java::::::1266 javax.security.sasl.SaslException: DIGEST-MD5: cannot acquire password for jmxUser in realm : monitorservice.
2014-06-18 14:51:33  WARNING OGG-01689  Oracle GoldenGate Manager for Oracle, mgr.prm:  Thread: agentRegistration, Message: MBeansContainerImpl.java::::::1266 javax.security.sasl.SaslException: DIGEST-MD5: cannot acquire password for jmxUser in realm : monitorservice.
2014-06-18 14:52:33  WARNING OGG-01689  Oracle GoldenGate Manager for Oracle, mgr.prm:  Thread: agentRegistration, Message: MBeansContainerImpl.java::::::1266 javax.security.sasl.SaslException: DIGEST-MD5: cannot acquire password for jmxUser in realm : monitorservice.

 

解决方法为:

1.通过pw_agent_util.sh来更新密码

pw_agent_util.sh -updateServerJMX

 

2.修改 <OGG_HOME>/cfg/Config.properties 这个文件

在配置文件里用户名是jmxUser   其实service端的用户名为jmxuser 

jmxUser 修改为jmxuser  再重启下mgr就可以了。