安装 Oracle GoldenGate Monitor :
java -jar -Xmx1024m fmw_12.1.3.0.0_ogg.jar
如图:在 generating libraries 停止了,一个晚上也没有通过!
点击查看日志,或者打开日志文件,搜索关键字 “error” 看有无报错,出现一个错误如下:
[2017-01-18T14:13:24.976+08:00] [sysman] [ERROR] [] [oracle.sysman.oii.oiio.oiiol.OiiolTextLogger]
[host: kk-pc] [nwaddr: 192.168.1.194] [tid: 49] [userId: kk] [ecid: 0000LakDLTLFO9MLyMp2iW1OVkTV000006,0]
oracle.sysman.oii.oiil.OiilNativeException: Setting permissions failed for some or all of the files[[
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.ssntSetPermissionsw32(Native Method)
at oracle.sysman.oii.oiix.OiixWinSecurityOps.setPermissions(OiixWinSecurityOps.java:72)
at oracle.sysman.oii.oiif.oiifw.OiifwHomeSetupWCCE.doOperation(OiifwHomeSetupWCCE.java:104)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:1023)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:699)
at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:147)
at oracle.sysman.oii.oiic.OiicNextGenInstallAPISession$OiicNextGenAPISelCompsInstall.doOperation(OiicNextGenInstallAPISession.java:434)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicInstallAPISession.doInstallAction(OiicInstallAPISession.java:689)
at oracle.sysman.oii.oiic.OiicInstallAPISession.access$000(OiicInstallAPISession.java:91)
at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicActionsThread.run(OiicInstallAPISession.java:973)
]]
其中提示: Setting permissions failed for some or all of the files
难道是文件权限不够?把用户目录、临时目录、jdk 目录都允许读写了,还是不行。
google 搜索到该问题解决方法: Oracle Infrastructure installation 12.1.3 issue
java_home 变量已经设置了,看其中有提示 memory ,难道是内存不足? 试着把内存改为2g
java -jar -Xmx2g fmw_12.1.3.0.0_ogg.jar
执行很快通过了!