MOS文档:
Unable to start JAGENT: OGG-01928 Oracle GoldenGate Command Tool for Oracle, jagent.prm: Child process terminated with exit code 1. (Doc ID 1912241.1)
vi {ogg安装路径}/dirprm/jagent.prm
修改加粗部分:
COMMAND export JAVA_HOME=/soft/jdk1.8
COMMAND /soft/jdk1.8/bin/java -Dconfig.dir=/export/home/weblogic/gm_agent/cfg -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/export/home/weblogic/gm_agent/cfg/logging-config.xml -Doracle.core.ojdl.logging.componentId=JAGENT -jar -Xms512m -Xmx1024m /export/home/weblogic/Oracle/Middleware/Oracle_Home/oggmon/ogg_agent/dirjar/jagent.jar