|
楼主 |
发表于 2014-3-17 23:02:52
|
显示全部楼层
按着如下步骤已经解决:
GGSCI (goldengate1) 2> dblogin userid C##OGG,PASSWORD Ogg
Successfully logged into database CDB$ROOT.
GGSCI (goldengate1) 3> unregister extract lin database
Successfully unregistered EXTRACT LIN from database.
GGSCI (goldengate1) 4> register extract lin database
ERROR: One or more containers must be specified when registering Extract for a container database.
GGSCI (goldengate1) 5> register extract lin database
ERROR: One or more containers must be specified when registering Extract for a container database.
GGSCI (goldengate1) 6> register extract lin database container(goldengatetest11)
Extract LIN successfully registered with database at SCN 2955330.
GGSCI (goldengate1) 7> add extract lin,integrated tranlog,begin now
ERROR: EXTRACT LIN already exists.
GGSCI (goldengate1) 8> delete extract lin
Deleted EXTRACT LIN.
GGSCI (goldengate1) 9> add extract lin,integrated tranlog,begin now
EXTRACT added.
GGSCI (goldengate1) 10> start extract lin
Sending START request to MANAGER ...
EXTRACT LIN starting
GGSCI (goldengate1) 11> add extrail ./dirdat/zi,extract lin
ERROR: Invalid command.
GGSCI (goldengate1) 12> add exttrail ./dirdat/zi,extract lin
EXTTRAIL added.
GGSCI (goldengate1) 13> start extract lin
Sending START request to MANAGER ...
EXTRACT LIN starting
GGSCI (goldengate1) 14> ADD EXTTRAIL/RMTTRAIL ./dirdat/zq, EXTRACT LIN
ERROR: Invalid command.
GGSCI (goldengate1) 15> add rmttrail ./dirdat/zq,extract lin
RMTTRAIL added.
GGSCI (goldengate1) 16> start extract lin
Sending START request to MANAGER ...
EXTRACT LIN starting
成功源端日志:
2014-03-17 22:44:01 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, lin.prm: EXTRACT LIN starting.
2014-03-17 22:44:01 INFO OGG-03059 Oracle GoldenGate Capture for Oracle, lin.prm: Operating system character set identified as UTF-8.
2014-03-17 22:44:01 INFO OGG-02695 Oracle GoldenGate Capture for Oracle, lin.prm: ANSI SQL parameter syntax is used for parameter parsing.
2014-03-17 22:44:01 INFO OGG-02095 Oracle GoldenGate Capture for Oracle, lin.prm: Successfully set environment variable NLS_LANG=AMERICAN_AMERICA.ZHS16GBK.
2014-03-17 22:44:06 INFO OGG-03522 Oracle GoldenGate Capture for Oracle, lin.prm: Setting session time zone to source database time zone 'GMT'.
2014-03-17 22:44:06 INFO OGG-02623 Oracle GoldenGate Capture for Oracle, lin.prm: Default source catalog name goldengatetest11 will be used for source table name scott.emp mapping.
2014-03-17 22:44:06 INFO OGG-02623 Oracle GoldenGate Capture for Oracle, lin.prm: Default source catalog name goldengatetest11 will be used for source table name scott.dept mapping.
2014-03-17 22:44:06 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, lin.prm: Virtual Memory Facilities for: BR
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/goldengate/software/BR/LIN.
2014-03-17 22:44:06 INFO OGG-01851 Oracle GoldenGate Capture for Oracle, lin.prm: filecaching started: thread ID: 140584356452096.
2014-03-17 22:44:06 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, lin.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/goldengate/software/dirtmp.
2014-03-17 22:44:06 INFO OGG-06495 Oracle GoldenGate Capture for Oracle, lin.prm: OGG created a session pool with SESSIONPOOLMAX 10, SESSIONPOOLMIN 2 and SESSIONPOOLINCR 2.
2014-03-17 22:44:06 WARNING OGG-01423 Oracle GoldenGate Capture for Oracle, lin.prm: No valid default archive log destination directory found for thread 1.
2014-03-17 22:44:06 INFO OGG-02089 Oracle GoldenGate Capture for Oracle, lin.prm: Source redo compatibility version is: 12.1.0.0.
2014-03-17 22:44:23 WARNING OGG-02045 Oracle GoldenGate Capture for Oracle, lin.prm: Database does not have streams_pool_size initialization parameter configured.
2014-03-17 22:44:36 INFO OGG-02068 Oracle GoldenGate Capture for Oracle, lin.prm: Integrated capture successfully attached to logmining server OGG$CAP_LIN using OGGCapture API.
2014-03-17 22:44:37 INFO OGG-02086 Oracle GoldenGate Capture for Oracle, lin.prm: Integrated Dictionary will be used.
2014-03-17 22:44:37 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, lin.prm: EXTRACT LIN started.
2014-03-17 22:44:39 INFO OGG-01055 Oracle GoldenGate Capture for Oracle, lin.prm: Recovery initialization completed for target file ./dirdat/zi000003, at RBA 1463.
2014-03-17 22:45:27 WARNING OGG-01223 Oracle GoldenGate Capture for Oracle, lin.prm: TCP/IP error 111 (Connection refused), endpoint: goldengate2:7809.
2014-03-17 22:46:14 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, lin.prm: Socket buffer size set to 27985 (flush size 27985).
2014-03-17 22:46:15 INFO OGG-01230 Oracle GoldenGate Capture for Oracle, lin.prm: Recovered from TCP error, host goldengate2, port 7820.
2014-03-17 22:46:16 INFO OGG-01055 Oracle GoldenGate Capture for Oracle, lin.prm: Recovery initialization completed for target file ./dirdat/zq000003, at RBA 1463.
2014-03-17 22:46:17 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, lin.prm: Output file ./dirdat/zi is using format RELEASE 12.1.
2014-03-17 22:46:17 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, lin.prm: Output file ./dirdat/zq is using format RELEASE 12.1.
2014-03-17 22:46:18 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, lin.prm: Rolling over remote file ./dirdat/zi000003.
2014-03-17 22:46:28 INFO OGG-01053 Oracle GoldenGate Capture for Oracle, lin.prm: Recovery completed for target file ./dirdat/zi000004, at RBA 1463.
2014-03-17 22:46:28 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, lin.prm: Rolling over remote file ./dirdat/zq000004.
2014-03-17 22:46:28 INFO OGG-01053 Oracle GoldenGate Capture for Oracle, lin.prm: Recovery completed for target file ./dirdat/zq000004, at RBA 1405.
2014-03-17 22:46:28 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, lin.prm: Recovery completed for all targets.
2014-03-17 22:46:37 INFO OGG-03522 Oracle GoldenGate Capture for Oracle, lin.prm: Setting session time zone to source database time zone 'GMT' |
|