Golden Gate Manager avbryts med felet OGG-01224 Adress som redan används :
(dm0332): ./ggsci Oracle GoldenGate Command Interpreter for Oracle Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO Linux, x64, 64bit (optimized), Oracle 12c on Dec 12 2015 02:56:48 Operating system character set identified as UTF-8. Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved. GGSCI (dm0332) 1> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER STOPPED EXTRACT ABENDED COMM1102 00:00:03 01:42:57 EXTRACT ABENDED COMM2102 00:00:04 01:42:52 EXTRACT ABENDED COMM2111 00:00:05 01:43:07 EXTRACT ABENDED COMM2C 00:00:04 01:43:05 EXTRACT ABENDED COMM2121 00:00:05 01:43:01 EXTRACT ABENDED COMM3102 00:00:00 01:42:52 EXTRACT ABENDED COMM4102 00:00:00 01:43:01 EXTRACT ABENDED COMM4C 00:00:03 01:43:06 EXTRACT ABENDED COMM4D 00:00:03 01:43:06 EXTRACT ABENDED COMM4121 00:00:00 01:42:59 REPLICAT ABENDED REP111 00:00:00 01:43:31 REPLICAT ABENDED REP85 00:00:00 01:43:35 REPLICAT ABENDED REP89 00:00:00 01:43:35 REPLICAT ABENDED REP892 00:00:00 01:43:35 REPLICAT ABENDED REP942 00:00:00 01:43:29
GoldenGate Manager startar och informationen är att den förblir inaktiv:
GGSCI (dm0332) 2> start mgr Manager started. GGSCI (dm0332) 3> info mgr Manager is DOWN!
Fel i “/u01/goldengate/12.2.0.1/ora12c/db_1/ggserr.log ” :
2021-02-21 05:36:02 ERROR OGG-01224 Oracle GoldenGate Manager for Oracle, mgr.prm: Address already in use. 2021-02-21 05:36:02 ERROR OGG-01668 Oracle GoldenGate Manager for Oracle, mgr.prm: PROCESS ABENDING.
Lösning:
Dödade chefen och startade om den avbrutna Extract and Replicat-processen.
Ta reda på processen:
GGSCI (dm0332) 1> view params mgr PurgeOldExtracts ./dirdat/* , UseCheckpoints, MinKeepDays 1 PORT 7810 DYNAMICPORTLIST 7821-7850 ACCESSRULE, PROG *, IPADDR *, ALLOW AutoRestart Extract COMM2102 , WaitMinutes 2, Retries 5 GGSCI (dm0332) 2> view report mgr *********************************************************************** Oracle GoldenGate Manager for Oracle Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401 Linux, x64, 64bit (optimized), Oracle 12c on Dec 11 2015 16:10:04 Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved. Starting at 2021-02-21 05:36:02 *********************************************************************** Operating System Version: Linux Version #1 SMP Mon Nov 16 09:55:57 UTC 2020 (3036990), Release 4.4.180-94.135-default Node: dm0332 Machine: x86_64 soft limit hard limit Address Space Size : unlimited unlimited Heap Size : unlimited unlimited File Size : unlimited unlimited CPU Time : unlimited unlimited Process id: 473114 Parameters... PORT 7810 DYNAMICPORTLIST 7840-9860
Stoppa den hanteringsprocessen:
(dm0332): netstat -nap | grep 7810 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:7810 0.0.0.0:* LISTEN 473114/mgr (dm0332): kill -9 473114 (dm0332): netstat -nap | grep 7810 Nothing displays
Starta hanteringsprocessen:
(dm0332): ./ggsci Oracle GoldenGate Command Interpreter for Oracle Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO Linux, x64, 64bit (optimized), Oracle 12c on Dec 12 2015 02:56:48 Operating system character set identified as UTF-8. Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved. GGSCI (dm0332) 1> start mgr Manager started. GGSCI (dm0332) 2> info mgr Manager is running (IP port dm0332.7810, Process ID 1067777).
Starta avbruten extrahering och replikering:
GGSCI (dm0332) 1> start * GGSCI (dm0332) 2> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING EXTRACT RUNNING COMM1102 00:00:04 00:00:06 EXTRACT RUNNING COMM2102 00:00:05 00:00:07 EXTRACT RUNNING COMM2111 00:00:04 00:00:02 EXTRACT RUNNING COMM2C 00:00:03 00:00:05 EXTRACT RUNNING COMM2121 00:00:04 00:00:05 EXTRACT RUNNING COMM3102 00:00:00 00:00:03 EXTRACT RUNNING COMM4102 00:00:00 00:00:06 EXTRACT RUNNING COMM4C 00:00:00 00:00:05 EXTRACT RUNNING COMM4D 00:00:00 00:00:05 EXTRACT RUNNING COMM4121 00:00:00 00:00:03 REPLICAT RUNNING REP111 00:00:00 00:00:00 REPLICAT RUNNING REP85 00:00:00 00:00:04 REPLICAT RUNNING REP89 00:00:00 00:00:03 REPLICAT RUNNING REP892 00:00:00 00:00:03 REPLICAT RUNNING REP942 00:00:00 07:23:40