ERROR OGG-00685 begin time : extract process abending
Hi Gurus,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process I am newer to OGG and its production setup.
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Error is as below:
2012-08-12 22:57:09 ERROR OGG-00685 begin time May 1, 2011 11:06:53 AM prior to oldest log in log
2012-08-12 22:57:09 ERROR OGG-01668 PROCESS ABENDING. Please suggest , I am stuck
Thanks
Edited by: user13403707 on 16 Aug, 2012 9:07 AM
ggsci> alter urban begin now
Or explicitly specify a date time:
ggsci> alter urban begin 2012-08-13 12:00:00
I also noticed that this line:
table urbanlive.*
Is missing the closing semi colon. It should be:
table urbanlive.*;
Make sure you read on open transactions. This is important when you BEGIN capturing change data and performing your initial synchronization. If you don't understand this you will not initialize properly and you'll always be out of sync.
Good luck,
-joe
Similar Messages
-
ERROR ORA-12514: TNS: unable to start extract process
Hi Experts,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Getting below error in logs while starting extract process:
RECOVERY: reset to initial or altered checkpoint.
2012-08-05 10:34:10 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, aaa.prm: Attaching to
ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor.
2012-08-05 10:34:10 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, aaa.prm: PROCESS
ABENDING.[oracle@ ggate]$
Getting below error while connecting with asm instance directly:
[oracle@ admin]$ sqlplus sys@asm as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
[oracle@ ~]$ tnsping asm TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-AUG-2012 11:55
:42
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-
scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (I
NSTANCE_NAME = +ASM1)))
OK (0 msec) Any help Please ?
Regards
LazyDBA
Edited by: LazyDBA11g on Aug 5, 2012 12:14 AM
Edited by: LazyDBA11g on Aug 5, 2012 11:25 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:36 AMHello JK,
Thanks a lot for specific response.
SQL> select INST_ID, NAME, VALUE from gv$parameter where name like '%_listener%';
INST_ID NAME VALUE
1 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data1-vip)(PORT=1521))))
1 remote_listener xxxdata-scan:1521
2 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data2-vip)(PORT=1521))))
2 remote_listener xxxdata-scan:1521
If I add REMOTE_LISTENER pointing to SCAN ip address, Does it require DB bounce ? (Its production DB)
Regards,
LazyDBA
Edited by: LazyDBA11g on Aug 10, 2012 12:01 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:48 AM -
SPRUNCALCACCOUNT CALC-030 No TIME Extract
Hi,
I was running a DM package to execute SPRUNCALCACCOUNT. I found an error after the DM package was finished.
excerpt from log file:
Executing SPRUNCALCACCOUNT
'WJEFD','ACTUAL','LC','SPSCOPE_240831','SPLOG_597360','BSSTEP1'
SPRunCalcAccount Version 7.105
*ERROR* CALC-030 No TIME Extract
What does this error mean? And how can this be fixed?
BTW, the code in the script logic file is as follows:
*RUN_STORED_PROCEDURE =
SPRUNCALCACCOUNT('%APP%','%CATEGORY_SET%','%RPTCURRENCY_SET%','%SCOPETABLE%','%LOGTABLE%','BSSTEP1')
*COMMIT
FYI. I'm using BPC 7 MS
Best Regards,
SunnyHi,
I'm having the same issue and i do have %time_dim% in my modifyscript. The log information is below, can someone provide any insight? Thanks.
Executing SPRUNCALCACCOUNT FINANCE,ACTUAL,USD,SPSCOPE_807623,SPLOG_47478,ROLLCPNI
SPRunCalcAccount Version 7.0.114
ERROR CALC-030 No TIME Extract
Time to run stored procedure:1.7 sec.
call 1 completed and data posted in 2.6 sec.
Run completed in 2.7 sec.
End time --->4:16:22 PM - Date:4/1/2010
SPRunCalcAccount Version 7.0.114
ERROR CALC-030 No TIME Extract
Modifyscript
'DEBUG(ON)
PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
PROMPT(SELECTINPUT,,,"Please select category, entity and time for income to CPNI",%CATEGORY_DIM%%ENTITY_DIM%%TIME_DIM%)
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,%APP%)
TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\Kia_InomceToCPNI.lgx)
TASK(Execute formulas,RUNMODE,1)
TASK(Execute formulas,LOGICMODE,1)
TASK(Execute formulas,CHECKLCK,%CHECKLCK%) -
Error OGG-01168 abending replicat process
Hello All,
Greetings !
I have tables that do not have any unique key in source and target database. Replicat process work fine in this case for some tables but for certain table it stops. and generates error:
"ERROR OGG-01168 Encountered an update for target table SAPSR3.BTCCTL, which has no unique key defined. KEYCOLS can be used to define a key. Use ALLOWNOOPUPDATES to process the update without applying it to the target database. Use APPLYNOOPUPDATES to force the update to be applied using all columns in both the SET and WHERE clause."
What it exactly means ? I am not understanding, since both the tables have same structures. Pleas help.
Best Regards,
R.KapilHi,
1. how you have added supplemental lod data on database ? database level or table level?
2.Did you execute ADD TRANDATA <schemaname.*> on source side?
3. have you used any COLMAP or Tokens in your parameter files?
4. if you paste the extract and replicat prm files that would be help to check the details. -
Golden Gate for mysql5.5 extract is Abended,and not error in the file
Dear All,
golden gate for mysql5.5 to oracle 11g,extract is Abended ,but there didn't have error in the log , And sometimes the successful extraction some records;
extract :
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
sqlexec "set names gbk;"
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama.merchants_member_card_customer;
datapump:
EXTRACT DPRD_M1
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
RMTHOST 192.168.2.57, MGRPORT 7089, compress --COMPRESSUPDATESETWHERE
RMTTRAIL /home/oracle/goldengate/dirdat/m1
NOPASSTHRU
TABLE mama.merchants_member_card_customer;
GGSCI>>info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPRD_M1 00:00:00 00:00:01
EXTRACT ABENDED EXT_M1 00:11:49 00:01:56
REPORT:
GGSCI>>view report ext_m1
Oracle GoldenGate Capture for MySQL
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
Linux, x64, 64bit (optimized), MySQL Enterprise on Apr 23 2012 05:23:34
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-09-29 18:38:08
Operating System Version:
Linux
Version #1 SMP Wed Jun 13 18:24:36 EDT 2012, Release 2.6.32-279.el6.x86_64
Node: M46
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: 6322
Description:
** Running with the following parameters **
2013-09-29 18:38:08 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama100,PASSWORD ****************
sqlexec "set names gbk;"
Executing SQL statement...
2013-09-29 18:38:08 INFO OGG-00893 SQL statement executed successfully.
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama100.merchants_member_card_customer;
2013-09-29 18:38:08 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/goldengate/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 64G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 128G
CACHESIZEMAX (strict force to disk): 96G
Database Version:
MySQL
Server Version: 5.5.24-patch-1.0-log
Client Version: 6.0.0
Host Connection: 192.168.2.46 via TCP/IP
Protocol Version: 10
2013-09-29 18:38:08 INFO OGG-01056 Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Positioning to begin time 2013-9-29 06:26:18.
** Run Time Messages **
2013-09-29 18:38:08 INFO OGG-01516 Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
TABLE resolved (entry mama100.merchants_member_card_customer):
TABLE mama100."merchants_member_card_customer";
Using the following key columns for source table mama100.merchants_member_card_customer: id.
2013-09-29 18:38:08 INFO OGG-01054 Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Recovery completed for all targets.
ggsevt:
2013-09-29 18:38:08 INFO OGG-00963 Oracle GoldenGate Manager for MySQL, mgr.prm: Command received from GGSCI on host localhost (START EXTRACT EXT_M1 ).
2013-09-29 18:38:08 INFO OGG-00975 Oracle GoldenGate Manager for MySQL, mgr.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-00992 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-03035 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
2013-09-29 18:38:08 INFO OGG-00893 Oracle GoldenGate Capture for MySQL, ext_m1.prm: SQL statement executed successfully.
2013-09-29 18:38:08 INFO OGG-01815 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/goldengate/dirtmp.
2013-09-29 18:38:08 INFO OGG-00993 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 started.
2013-09-29 18:38:08 INFO OGG-01056 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 Oracle GoldenGate Capture for MySQL, ext_m1.prm: VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioning to begin time 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01516 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for all targets.
2013-09-29 18:38:09 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for target file /home/oracle/goldengate/dirdat/m1000002, at RBA 1435, CSN 000086|000000055512672.
2013-09-29 18:38:09 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for all targets.GGSCI>>info ext_m1 showch
EXTRACT EXT_M1 Last Started 2013-09-29 18:38 Status ABENDED
Checkpoint Lag 00:11:49 (updated 00:12:05 ago)
VAM Read Checkpoint 2013-09-29 18:26:18.665841
Current Checkpoint Detail:
Read Checkpoint #1
VAM External Interface
Startup Checkpoint (starting position in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Recovery Checkpoint (position of oldest unprocessed transaction in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Current Checkpoint (position of last record read in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Write Checkpoint #1
GGS Log Trail
Current Checkpoint (current write position):
Sequence #: 0
RBA: 917
Timestamp: 2013-09-29 18:30:55.655570
Extract Trail: dirdat/m1
CSN state information:
CRC: 20-82-1D-34
CSN: Not available
Header:
Version = 2
Record Source = A
Type = 8
# Input Checkpoints = 1
# Output Checkpoints = 1
File Information:
Block Size = 2048
Max Blocks = 100
Record Length = 20480
Current Offset = 0
Configuration:
Data Source = 5
Transaction Integrity = 1
Task Type = 0
Status:
Start Time = 2013-09-29 18:38:08
Last Update Time = 2013-09-29 18:38:08
Stop Status = A
Last Result = 0 -
OGG-00868 SQL Server 2008 has problem with ODBC in the EXTRACT process
Hello Everyone
I want to replicate tables between MS SQLServer 2008 and Oracle 10g
I have Windows XP / MS SQLServer 2008 and Oracle Database 10g R 10.2.0.1.0 running on Red Hat Linux
I followed the steps from the white paper (http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html)
and Installed Oracle Golden Gate Version 11.2.1.0.1 (for Linux) and the Version 11.2.1.0.1 32bits (for Windows XP)
I followed all steps of the white paper without problem and I could do the initial load in
the Oracle Database from SQL Server sucessfully.
But when I tried to set and start the Extract process from SQL SERVER
a error was generated in the file c:\gg\dirrpt\MSEXT.rpt and the process is ABENDING
GGSCI > info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 03:22:29
2013-08-25 11:59:41 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messag).
2013-08-25 11:59:41 ERROR OGG-01668 PROCESS ABENDING.
If somebody has a clue or faced something similar please let me how could solve it.
Thanks
JuanHello mb_ogg,
Yes, I had created a Data Source HR Driver= SQL Server (second Tab System DSN) and I also had tried with
the driver SQL Server Native Client 10.0 but I faced the same error.
The database by default is EMP
Below is my configuration
Microsoft SQL Server ODBC Driver Version 03.85.1117
Data Source Name: HR
Data Source Description:
Server: JUAN-XP
Database: EMP
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Integrated Security: Yes
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
I also clicked on the button "Test Data Source" with the below messages:
Microsoft SQL Server ODBC Driver Version 03.85.1117
Running connectivity tests...
Attempting connection
Connection established
Verifying option settings
Disconnecting from server
TESTS COMPLETED SUCCESSFULLY!
Then I went to Database Properties (Right Click) /Oprtion and Recovery model field has Full value
I also made a Backup (Backup Type = Full)
The Backups was made to Disk: C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\EMP.bak
Today I repeated the same steps and I got the same error (I Copied at the end):
I also have the follow question:
Is necessary define the location of the backup of MS SQL Server to say to GG where it can get it?
GSCI (juan-xp) 1> DBLOGIN SOURCEDB HR
2013-08-27 21:16:32 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:16:32 INFO OGG-03037 Session character set identified as wind
ows-1252.
Successfully logged into database.
GGSCI (juan-xp) 3> ADD TRANDATA HRSCHEMA.EMP
Logging of supplemental log data is enabled for table hrschema.emp
GGSCI (juan-xp) 4> EDIT PARAMS DEFGEN
GGSCI (juan-xp) 5> exit
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:18:23
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3236
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
Source Context :
SourceModule : [defgen.main]
SourceID : [defgen/defgen.c]
SourceFunction : [create_defgen_file]
SourceLine : [808]
2013-08-27 21:18:23 ERROR OGG-00037 DEFSFILE file c:\gg\dirdef\emp.def alrea
dy exists.
2013-08-27 21:18:23 ERROR OGG-01668 PROCESS ABENDING.
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:19:03
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3312
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
sourcedb hr
2013-08-27 21:19:05 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:19:05 INFO OGG-03037 Session character set identified as wind
ows-1252.
table hrschema.emp;
Retrieving definition for hrschema.emp
Definitions generated for 1 table in c:\gg\dirdef\emp.def
C:\gg>ggsci
Oracle GoldenGate Command Interpreter for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 02:57:42
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (juan-xp) 1> start manager
MGR is already running.
GGSCI (juan-xp) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
GGSCI (juan-xp) 3> ADD EXTRACT MSEXT, TRANLOG, BEGIN NOW
EXTRACT added.
GGSCI (juan-xp) 4> ADD RMTTRAIL /u01/app/oracle/gg/dirdat/ms, EXTRACT MSEXT
RMTTRAIL added.
GGSCI (juan-xp) 5> EDIT MSEXT
ERROR: Invalid command.
GGSCI (juan-xp) 6> edit params msext
GGSCI (juan-xp) 7> START EXTRACT MSEXT
Sending START request to MANAGER ('GGSMGR') ...
EXTRACT MSEXT starting
GGSCI (juan-xp) 8> show all
Parameter settings:
SET SUBDIRS ON
SET DEBUG OFF
Current directory: C:\gg
Using subdirectories for all process files
Editor: notepad
Reports (.rpt) C:\gg\dirrpt
Parameters (.prm) C:\gg\dirprm
Replicat Checkpoints (.cpr) C:\gg\dirchk
Extract Checkpoints (.cpe) C:\gg\dirchk
Process Status (.pcs) C:\gg\dirpcs
SQL Scripts (.sql) C:\gg\dirsql
Database Definitions (.def) C:\gg\dirdef
GGSCI (juan-xp) 9> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 00:02:34
GGSCI (juan-xp) 10> EDIT MSEXT
Report MSEXT.rpt with same error
Oracle GoldenGate Capture for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:49:54
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:30:26
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 2452
Description:
** Running with the following parameters **
2013-08-27 21:30:26 INFO OGG-03035 Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
EXTRACT MSEXT
SOURCEDB HR
2013-08-27 21:30:28 INFO OGG-03036 Database character set identified as windows-1252. Locale: en_US.
2013-08-27 21:30:28 INFO OGG-03037 Session character set identified as windows-1252.
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
RMTHOST OCM, MGRPORT 7809
RMTTRAIL /u01/app/oracle/gg/dirdat/ms
TABLE HRSCHEMA.EMP;
2013-08-27 21:30:28 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\gg\dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 1G
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1.57G
CACHESIZEMAX (strict force to disk): 1.41G
Database Version:
Microsoft SQL Server
Version 10.00.1442
ODBC Version 03.52.0000
Driver Information:
SQLSRV32.DLL
Version 03.85.1117
ODBC Version 03.52
Source Context :
SourceModule : [ggvam.param]
SourceID : [../gglib/ggvam/cvamparams.cpp]
SourceFunction : [com_goldengate_vam::validateIfSqlServer]
SourceLine : [1955]
2013-08-27 21:30:28 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system admi).
2013-08-27 21:30:28 ERROR OGG-01668 PROCESS ABENDING.
Thanks
Juan -
ERROR OGG-01496 restarting extract
Each time i restart the extract process after a normal stop i got this type of error:
ERROR OGG-01496 Oracle GoldenGate Capture for Oracle, EXT1.prm: Failed to open target trail file P:\OracleGoldenGate\dirdat\lt000661, at RBA 5466894.
Why and what can i do? No i delete the ext1 group and then i create the same group again...
The extract group parameter file named ext1 is:
extract ext1
userid ggschema, password ggschema
rmthost 192.168.2.225, mgrport 7809
exttrail P:\OracleGoldenGate\dirdat\lt
rmttrail P:\OracleGoldenGate\dirdat\lt
ddl include mapped objname TESEO2.* ;
TABLEEXCLUDE TESEO2.AGGANCI_ALL_MV ;
TABLEEXCLUDE TESEO2.ESTREMI_RN_RISOLTI_MV ;
TABLEEXCLUDE TESEO2.ESTREMI_UDOC_MV ;
TABLEEXCLUDE TESEO2.MASS_CLASS_MV ;
TABLEEXCLUDE TESEO2.NOTEDOTT_CLASS_MV ;
TABLEEXCLUDE TESEO2.NOTE_MV ;
TABLEEXCLUDE TESEO2.CORRELAZIONI ;
TABLE TESEO2.* ;
The manager param is:
GGSCI (dbgen) 43> show param mgr
Parameter settings:
SET SUBDIRS ON
SET DEBUG OFF
Current directory: P:\OracleGoldenGate
Using subdirectories for all process files
Editor: notepad
Reports (.rpt) P:\OracleGoldenGate\dirrpt
Parameters (.prm) P:\OracleGoldenGate\dirprm
Replicat Checkpoints (.cpr) P:\OracleGoldenGate\dirchk
Extract Checkpoints (.cpe) P:\OracleGoldenGate\dirchk
Process Status (.pcs) P:\OracleGoldenGate\dirpcs
SQL Scripts (.sql) P:\OracleGoldenGate\dirsql
Database Definitions (.def) P:\OracleGoldenGate\dirdefwhat kind retention policies do you have for trail files. As per the error, GG is not able to open the file "P:\OracleGoldenGate\dirdat\lt000661".
Ideally you need to find the root cause but in the mean time you can issue "alter extract <name> etrollover" and start the extract. -
SQL Server - Extract Error - OGG-00868 Supplemental logging is disabled
Hello,
We are trying to replicate from a SQL Server 2008 database to Oracle database, but when trying to start the extract process we are getting the following error message:
OGG-00868 Supplemental logging is disabled for database 'GoldenGate'. To enable logging, perform the following: 1) Set 'trunc. log on chkpt.' to false. 2) Create a full backup of the database. Please refer to the "Oracle GoldenGate For Windows and UNIX Administration Guide" for details.
I have read that for enabling the supplemental logging is enough to "add trandata table_name", and this is done, and the extract process we are using is the following:
EXTRACT cap_or4
SOURCEDB GoldenGate
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
EXTTRAIL c:\GoldenGate\V28983-01-GG-111112-SQLServer-Windows-x64\dirdat\C4
TABLE GoldenGate.dbo.DES_T1;
And the 'trunc.log on chkpt' is set to false.
We don’t know what else to do, or to check... does anyone have any idea?!
Thank you very much, best regards,
Araitz.-Have you followed all the process for installing as per the guide? clearly you missed something
Please follow below steps.
Installation & Configuration of Oracle GoldenGate for MS SQL Server:
Pre-requisites:
1.Change Data Capture (CDC) must be enabled for Oracle GoldenGate and will be enabled by Oracle GoldenGate by means of the ADD TRANDATA command.
2.SQL Server source database must be set to use the full recovery model.
3.Oracle GoldenGate does not support system databases.
4.After the source database is set to full recovery, a full database backup must be taken.
5.SQL Server 2008 ODBC/OLE DB: SQL Server Native Client 10.0 driver
6.Oracle GoldenGate processes can use either Windows Authentication or SQL Server Authentication to connect to a database.
7.Before installing Oracle GoldenGate on a Windows system, install and configure the Microsoft Visual C ++ 2005 SP1 Redistributable Package. Make certain it
is the SP1 version of this package, and make certain to get the correct bit version for your server. This package installs runtime components of Visual C++
Libraries. For more information, and to download this package, go to http://www.microsoft.com.
Privileges:
1.Required SQL Server privileges for Manager when using Windows authentication
Extract(source system)
BUILTIN\Administrators account must be a member of the SQL Server fixed server role System Administrators.
Account must be a member of the SQL Server fixed server role System Administrators
Replicat (target system)
BUILTIN\Administrators account must be at least a member of the db_owner fixed database role of the target database.
Account must be at least a member of the db_owner fixed database role of the target database.
2.Required SQL Server privileges for Extract and Replicat when using SQL Server authentication
Extract - Member of the SQL Server fixed server role System Administrators.
Replicat - At least a member of the db_owner fixed database role of the target database.
Downloading Oracle GoldenGate
Download the appropriate Oracle GoldenGate build to each system that will be part of the Oracle GoldenGate configuration.
1. Navigate to http://edelivery.oracle.com.
2. On the Welcome page:
--Select your language.
--Click Continue.
3. On the Export Validation page:
--Enter your identification information.
--Accept the Trial License Agreement (even if you have a permanent license).
--Accept the Export Restrictions.
--Click Continue.
4. On the Media Pack Search page:
--Select the Oracle Fusion Middleware Product Pack.
--Select the platform on which you will be installing the software.
--Click Go.
5. In the Results List:
--Select the Oracle GoldenGate Media Pack that you want.
--Click Continue.
6. On the Download page:
--Click Download for each component that you want. Follow the automatic download
process to transfer the mediapack.zip file to your system.
Installing the Oracle GoldenGate files
1. Unzip the downloaded file(s) by using WinZip or an equivalent compression product.
2. Move the files in binary mode to a folder on the drive where you want to install Oracle GoldenGate. Do not install Oracle GoldenGate into a folder that contains spaces in its name, even if the path is in quotes. For example:
C:\“Oracle GoldenGate” is not valid.
C:\Oracle_GoldenGate is valid.
3. From the Oracle GoldenGate folder, run the GGSCI program.
4. In GGSCI, issue the following command to create the Oracle GoldenGate working
directories.
CREATE SUBDIRS
a.Create the necessary working directories for GG.
Source DB:
GGSCI>create subdirs
Target DB:
GGSCI>create subdirs
Install the GoldenGate Manager process
1.Create a GLOBALS parameter file
--Execute the following commands from the <install location>.
GGSCI> EDIT PARAMS ./GLOBALS
--In the text editor, type the following:
MGRSERVNAME <mgr service>
Using a GLOBALS file in each GoldenGate instance allows you to run multiple Managers as services on Windows. When the service is installed, the Manager name
is referenced in GLOBALS, and this name will appear in the Windows Services control panel.
Note! Check to ensure that the GLOBALS file has been added in the GoldenGate installation directory and that it does not have an extension.
--Execute the following command to exit GGSCI.
GGSCI> EXIT
2. Install the Manager service
Execute the following command to run GoldenGate’s INSTALL.EXE . This executable installs Manager as a Windows service and adds GoldenGate events to the
Windows Event Viewer.
Shell> INSTALL ADDSERVICE ADDEVENTS
Note: Adding the Manager as a service is an optional step used when there are multiple environments on the same system or when you want to control the name
of the manager for any reason.
Configuring an ODBC connection
A DSN stores information about how to connect to a SQL Server database through ODBC (Open Database Connectivity). Create a DSN on each SQL Server source
and target system.
NOTE: Replicat will always use ODBC to query the target database for metadata.
To create a SQL Server DSN
1. Run one of the following ODBC clients:
--If using a 32-bit version of Oracle GoldenGate on a 64-bit system, create the DSN by running the ODBCAD32.EXE client from the %SystemRoot%\SysWOW64
folder.
--If using a 64-bit version of Oracle GoldenGate on a 64-bit system, create a DSN by running the default ODBCAD32.EXE client in Control Panel>Administrative
Tools>Data Sources (ODBC).
--If using a version of Oracle GoldenGate other than the preceding, use the default ODBC client in Control Panel>Administrative Tools>Data Sources (ODBC).
2. In the ODBC Data Source Administrator dialog box of the ODBC client, select the System DSN tab, and then click Add.
3. Under Create New Data Source, select the correct SQL Server driver as follows:
--SQL Server 2000: SQL Server driver
--SQL Server 2005: SQL Native Client driver
--SQL Server 2008: SQL Server Native Client 10.0 driver
4. Click Finish. The Create a New Data Source to SQL Server wizard is displayed.
5. Supply the following:
--Name: Can be of your choosing. In a Windows cluster, use one name across all nodes in the cluster.
--Server: Select the SQL Server instance name.
6. Click Next.
7. For login authentication, select With Windows NT authentication using the network login ID for Oracle GoldenGate to use Windows authentication, or select
With SQL Server authentication using a login ID and password entered by the user for Oracle GoldenGate to use database credentials. Supply login information
if selecting SQL Server authentication.
8. Click Next.
9. If the default database is not set to the one that Oracle GoldenGate will connect to,
click Change the default database to, and then select the correct name. Set the other
settings to use ANSI.
10. Click Next.
11. Leave the next page set to the defaults.
12. Click Finish.
13. Click Test Data Source to test the connection.
14. Close the confirmation box and the Create a New Data Source box.
15. Repeat this procedure from step 1 on each SQL Server source and target system.
Setting the database to full recovery model
Oracle GoldenGate requires a SQL Server source database to be set to the full recovery model.
To verify or set the recovery model
1. Connect to the SQL Server instance with either Enterprise Manager for SQL Server 2000 or SQL Server Management Studio for SQL Server 2005 and 2008.
2. Expand the Databases folder.
3. Right-click the source database, and then select Properties.
4. Select the Options tab.
5. Under Recovery, set Model to Full if not already.
6. If the database was in Simple recovery or never had a Full database backup, take a Fulldatabase backup before starting Extract.
7. Click OK.
Enabling supplemental logging
These instructions apply to new installations of Oracle GoldenGate for all supported SQL Server versions. You will enable supplemental logging with the ADD
TRANDATA command so that Extract can capture the information that is required to reconstruct SQL operations on the target. This is more information than
what SQL Server logs by default.
--SQL Server 2005 updated to CU6 for SP2 or later: ADD TRANDATA calls the sys.sp_extended_logging stored procedure.
--SQL Server 2005 pre-CU6 for SP2: ADD TRANDATA creates the following:
A replication publication named [<source database name>]: GoldenGate<source database name> Publisher. To view this publication, look under Replication>Local
Publications in SQL Server Management Studio. This procedure adds the specified table to the publication as an article.
A SQL Server Log Reader Agent job for the publication. This job cannot run concurrently with an Extract process in this configuration.
--SQL Server 2008: ADD TRANDATA enables Change Data Capture (CDC) and creates a minimal Change Data Capture on the specified table.
a.Oracle GoldenGate does not use the CDC tables other than as necessary to enablesupplemental logging.
b.As part of enabling CDC, SQL Server creates two jobs per database: <dbname>_capture and <dbname>_cleanup. The <dbname>_capture job adjusts the secondary
truncation point and captures data from the log to store in the CDC
tables. The <dbname>_cleanup job ages and deletes data captured by CDC.
c.Using the TRANLOGOPTIONS parameter with the MANAGESECONDARYTRUNCATIONPOINT option for Extract removes the <dbname_capture> job, preventing the overhead of
the job loading the CDC tables.
d.The alternative (using TRANLOGOPTIONS with NOMANAGESECONDARYTRUNCATIONPOINT) requires the SQL Server Agent to be running and requires the <dbname>_capture and <dbname>_cleanup jobs to be retained. You will probably need to adjust the <dbname>_cleanup data retention period if the default of three days is not acceptable for storage concerns.
To enable supplemental logging
1. On the source system, run GGSCI.
2. Log into the database from GGSCI.
DBLOGIN SOURCEDB <DSN>[, USERID <user>, PASSWORD <password>]
Where:
-- SOURCEDB <DSN> is the name of the SQL Server data source.
-- USERID <user> is the Extract login and PASSWORD <password> is the password that is required if Extract uses SQL Server authentication.
3. In GGSCI, issue the following command for each table that is, or will be, in the Extract configuration. You can use a wildcard to specify multiple table
names, but not owner names.
ADD TRANDATA <owner>.<table>
NOTE:The Log Reader Agent job cannot run concurrently with the GoldenGate Extract process.
4.Configuration
a.Create and start manager on the source and the destination.
Source DB:
shell>ggsci
GGSCI> edit params mgr
PORT 7809
DYNAMICPORTLIST 7900-7950
DYNAMICPORTREASSIGNDELAY 5
AUTOSTART ER *
AUTORESTART ER *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 30
LAGCRITICALMINUTES 60
LAGREPORTMINUTES 30
PURGEOLDEXTRACTS c:\ogg\dirdat\T*, USECHECKPOINTS, MINKEEPFILES 10
GGSCI> start manager
GGSCI>info all
b. Create the extract group on the source side:
GGSCI> edit params EXT1
Add the following lines to the new parameter file
EXTRACT EXT1
SOURCEDB <DSN>, USERID ogg, PASSWORD ogg@321!
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
EXTTRAIL c:\ogg\dirdat\T1
DISCARDFILE c:\ogg\dirrpt\EXT1.DSC, PURGE, MEGABYTES 100
TABLE dbo.TCUSTMER;
TABLE dbo.TCUSTORD;
GGSCI>ADD EXTRACT EXT1, TRANLOG, BEGIN NOW
GGSCI>ADD EXTTRAIL c:\ogg\dirdat\T1, EXTRACT EXT1, MEGABYTES 100
GGSCI> edit params PMP1
Add the following lines to the new parameter file
EXTRACT PMP1
SOURCEDB <DSN>, USERID ogg, PASSWORD ogg@321!
PASSTHRU
RMTHOST dr, MGRPORT 7810
RMTTRAIL c:\ogg\dirdat\P1
TABLE dbo.TCUSTMER;
TABLE dbo.TCUSTORD;
GGSCI> ADD EXTRACT PMP1, EXTTRAILSOURCE c:\ogg\dirdat\T1
GGSCI> ADD EXTTRAIL c:\ogg\dirdat\P1, EXTRACT PMP1, MEGABYTES 100
Target DB:
===========
shell>ggsci
GGSCI> edit params mgr
PORT 7810
AUTOSTART ER *
AUTORESTART ER *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 30
LAGCRITICALMINUTES 60
LAGREPORTMINUTES 30
PURGEOLDEXTRACTS c:\ogg\dirdat\P*, USECHECKPOINTS, MINKEEPFILES 10
GGSCI> start manager
GGSCI>info all
Create parameter file for replicat:
GGSCI> edit params REP1
REPLICAT REP1
ASSUMETARGETDEFS
TARGETDB <dsn>, USERID ogg@DR, PASSWORD ogg@321!
DISCARDFILE c:\ogg\dirrpt\REP1.DSC, append, megabytes 100
HANDLECOLLISIONS
ASSUMETARGETDEFS
MAP dbo.TCUSTMER, TARGET dbo.TCUSTMER;
MAP dbo.TCUSTORD, TARGET dbo.TCUSTORD;
GGSCI>ADD REPLICAT REP1, RMTTRAIL c:\ogg\dirdat\P1, nodbcheckpoint
# Start extract and replicat:
Source:
GGSCI> start er *
Destination:
GGSCI> start er *Greetings,
N K -
When the OGG start to replicate data, occasionally, the EXTRACT process in the source system will be hanging and cannot start the replication process. But cannot find any error message in the ogg log.
Anyone encounter this issue?The triggering issue looks to be the following:
2013-08-20 22:00:20 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, ebiz1.prm: Object with object number 66136 is compressed. Table compression is not supported.
What version of GoldenGate are you running? There are a couple of possible causes for this error:
- You are running classic Extract and have compressed tables specified in the Extract. We only support compressed tables with Integrated Extract. Here is a note discussing this.
Oracle GoldenGate: Compressed tables are not supported until OGG v11.2.x Integrated Extract. (Doc ID 1266389.1)
- The table in question is being created and dropped dynamically. See this note:
Extract abending with Table Compression Is Not Supported, although the database doesn't have any compressed tables. (Doc ID 1510691.1)
Take a look at these notes, and if this does not resolve your issue, let us know if we can help further.
Best regards,
Marie -
Error OGG-01517 Position of first record processed
INFO OGG-01517 Position of first record processed LSN: 0x00000008:00000038:0004, Jul 10, 2012 1:45:47 PM.
TABLEWildcard resolved (entry DBO.*):
table DBO.NEW TABLE;
Source Context :
SourceModule : [er.main]
SourceID : [er/rep.c]
SourceFunction : [get_map_entry]
SourceLine : [8661]
2012-07-10 13:55:37 ERROR OGG-00212 Invalid option for MAP: TABLE.
2012-07-10 13:55:37 INFO OGG-00178 VAM Client Report <Last LSN Read: 00000008:0000003d:0002
Open Transactions
0000:0000025e (2012/07/10 13:55:35.943) @ 00000008:0000003d:0001: Upd(Comp) = 0(0), Row(comp) = 1(0)
.2012-07-10 13:55:37 INFO OGG-00178 VAM Client Report <Sanity checking is not enabled.
.I try edit error in file but failed.
table dbo."New Table"; but No records extracted.Bug 13458343 is fixed in version 11.2.1.
Please try it ... change the version 11.1 for 11.2 and post your results -
I've tried several times to use iTunes Match that I purchased but keep getting an error message half way through the process
sheltonrt wrote:
I've tried several times to use iTunes Match that I purchased but keep getting an error message half way through the process
That is strange, sheltonrt.
What kind of an error? -
Ora Golden gate: Extract Process error.
As soon as i start the extract process i have the following error message pop up..
The procedure entry point longjmp could not be located in the dynamic link library orauts.dll.
Can any1 help in dis??
Thanks in Advance.Hi,
I am facing the same issue. Can u please help me how did you solve it.
Thanks in advance. -
Error on extracting process: 'SDMKIT.JAR. The file is corrupt'
Hi,
I have both files (NW04SneakPrevJavaSP11.part1.rar and NW04SneakPrevJavaSP11.part2.rar) in the same directory but when I start the extracting process I got those messages:
D:\SAP_portal\NW04SneakPrevJavaSP11.part1.rar:
Unexpected end of archive
D:\SAP_portal\NW04SneakPrevJavaSP11.part1.rar:
CRC failed in NW04SneakPrevJavaSP11\NWSneakPreviewSP11\SneakPreviewContent\SDM\SDMKIT.JAR. The file is corrupt
D:\SAP_portal\NW04SneakPrevJavaSP11.part1.rar:
Cannot create NW04SneakPrevJavaSP11\DeveloperStudioSP11\J2EE-
RUNT-CD\IDE\eclipse\plugins\com.sap.tc.ap\comp\CAF\DCs\sap.com\caf\runtime\connectivity\impl\_comp\gen\default\public\com.sap.caf.mp.core.svc\90549cee3a85b8105ec24698da254123.HASH
Total path and file name length must not exceed 260 characters
I wonder to know what happend and how can I fix it.
Appreciate your help,
Luis.Hi Luis,
I dont't know about a mirror. I downloaded the files and extract without problems.
In the following thread is an instruction how to uncompress:
How can I extract files of kind .rar?
Do you use Winrar? Do you select both files if you extract? Try to rename the directory SAP_portal to NW4 (or an other very short name)
Hope that helps!
Best regards
Renald -
Extract process on MySQL server on Linux
Hello,
I'm trying to start an extract process to replicate my MySQL db to an Oracle instance.
The MySQL server is on a Linux x64 machine connected trhough a SSH tunnel (port 7809 and 7840 forwarded) with the Oracle machine (Linux x64).
First of all, the error I get (this is the report for my extract myext):
Oracle GoldenGate Capture for MySQL
Version 11.1.1.0.3 Build 001
Linux, x64, 64bit (optimized), MySQL Enterprise on Sep 29 2010 11:49:48
Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-01-13 17:11:51
Operating System Version:
Linux
Version #66-Ubuntu SMP Sat Oct 16 18:11:06 UTC 2010, Release 2.6.28-19-server
Node: vombato
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: 28619
Description:
** Running with the following parameters **
extract myext
dboptions host 127.0.0.1, connectionport 3306
sourcedb [email protected]:3306, userid replicator, password ********
tranlogoptions altlogdest /var/log/mysql
rmthost 127.0.0.1, mgrport 7809
rmttrail /home/replication/goldengate/dirdat/my
table repl_test.test;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 8G
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 16G
CACHESIZEMAX (strict force to disk): 13.99G
Database Version:
MySQL
Server Version: 5.1.31-1ubuntu2-log
Client Version: 6.0.0
Host Connection: 127.0.0.1 via TCP/IP
Protocol Version: 10
2011-01-13 17:11:56 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985).
2011-01-13 17:12:06 INFO OGG-01055 Recovery initialization completed for target file /home/replication/goldengate/dirdat/my000012, at RBA 862.
2011-01-13 17:12:06 INFO OGG-01478 Output file /home/replication/goldengate/dirdat/my is using format RELEASE 10.4/11.1.
2011-01-13 17:12:06 INFO OGG-01026 Rolling over remote file /home/replication/goldengate/dirdat/my000013.
2011-01-13 17:12:06 INFO OGG-01053 Recovery completed for target file /home/replication/goldengate/dirdat/my000013, at RBA 862.
2011-01-13 17:12:06 INFO OGG-01057 Recovery completed for all targets.
2011-01-13 17:12:06 INFO OGG-00182 VAM API running in single-threaded mode.
2011-01-13 17:12:06 INFO OGG-01515 Positioning to begin time Jan 13, 2011 2:08:45 PM.
Source Context :
SourceModule : [ggvam.gen]
SourceID : [mnt/ecloud/workspace/Build_OpenSys_r11.1.1.0.3_001_[36467]/perforce/src/gglib/ggvam/cvamgen.cpp]
SourceFunction : [vamInitialize]
SourceLine : [418]
ThreadBacktrace : [9] elements
: [./extract(CMessageContext::AddThreadContext()+0x26) [0x7c5666]]
: [./extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x7bc102]]
: [./extract(_MSG_ERR_VAM_API_ERROR_MSG(CSourceContext*, char const*, int, char const*, CMessageFactory::MessageDisposition)+0xa6) [0x78c806]]
: [./extract(com_goldengate_vam::CVamGen::vamInitialize()+0x13c3) [0x72c5c3]]
: [./extract(com_goldengate_vam::CVAMEXT_initialize()+0x3ad) [0x6e175d]]
: [./extract [0x57588b]]
: [./extract(main+0xf8a) [0x59ae3a]]
: [lib/libc.so.6(__libc_start_main+0xe6) [0x7ffd11d1d5a6]]
: [./extract(__gxx_personality_v0+0x19a) [0x51086a]]
*2011-01-13 17:12:06 ERROR OGG-00146 VAM function VAMInitialize returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to connect to mysql database*
WHEN FAILED : While initializing mysql context
WHERE FAILED : MySQLBinLog Reader Module
CONTEXT OF FAILURE : No Information Available!>.
2011-01-13 17:12:06 ERROR OGG-01668 PROCESS ABENDING.
I don't know what I'm missing here, since I've granted the right permission to the replicator user.
Some additional info:
*** myext.prm: ***
extract myext
dboptions host 127.0.0.1, connectionport 3306
sourcedb [email protected]:3306, userid replicator, password [...]
tranlogoptions altlogdest /var/log/mysql
rmthost 127.0.0.1, mgrport 7809 <== works through ssh tunnel
rmttrail /home/replication/goldengate/dirdat/my
table repl_test.test;
*** mgr.prm ***
port 7800
sourcedb [email protected]:3306, userid root, password [...]
*** mysql my.cnf (in /etc/mysql)***
server-id = 3
log_bin = /var/log/mysql/mysql-bin.log
log-bin-index = /var/log/mysql/master-log-bin.index
It's not a credential related problem and nothing changes if I move the bin log files somewhere else.
Any idea?
I'm really stuck on this.
Thanks,
K.It's the actual value, since 7809 on localhost is mapped for the ssh tunnel, so I had to choose another for the local manager.
As for the login, yes, I can successfully connect via DBLOGIN trhough ggsci (DBLOGIN sourcedb [email protected]:3306, userid replicator, password [...]).
K. -
Hi , I'm trying to Replicat data from source (OLTP) to target (OLAP) . I have succeeded in initial load. But there is an error when i configure Extract process , Data Pumb process, replicat process . Guide me how to fix
#Configure Extrace Process
GGSCI (dbserver1) 3> EDIT PARAMS EOLTP01
EXTRACT EOLTP01
USERID gg_admin, PASSWORD demo123
EXTTRAIL ./dirdat/sa
TRANLOGOPTIONS ASMUSER SYS@ASM, ASMPASSWORD demo123
TABLE SRC.DEPT;
TABLE SRC.EMP;
GGSCI (dbserver1) 1> add extract EOLTP01, tranlog, begin now, threads 2
GGSCI (dbserver1) 2> add exttrail ./dirdat/sa, extract EOLTP01,megabytes 50
#Configure Data Pumb Process
GGSCI (dbserver1) 4> EDIT PARAMS EPMP01
EXTRACT EPMP01
PASSTHRU
RMTHOST dbserver2, MGRPORT 7809
RMTTRAIL ./dirdat/ta
TABLE SRC.DEPT;
TABLE SRC.EMP;
GGSCI (dbserver1) 3> add extract EPMP01, exttrailsource ./dirdat/sa, begin now, threads 2
GGSCI (dbserver1) 3> ADD RMTTRAIL ./dirdat/ta, EXTRACT EPMP01, MEGABYTES 50
#Start Extrace Process & Data Pumb Process
GGSCI (dbserver1) 4> start extract EOLTP01
Sending START request to MANAGER ...
EXTRACT EOLTP01 starting
GGSCI (dbserver1) 5> start EXTRACT EPMP01
Sending START request to MANAGER ...
EXTRACT EPMP01 starting
#Configure Replicat Process on Target
GGSCI (dbserver2) 1> EDIT PARAMS ROLAP01
REPLICAT ROLAP01
SETENV (ORACLE_SID=OLAP)
USERID ggs_admin, PASSWORD ggs_admin
DISCARDFILE ./dirrpt/rolap01.dsc, PURGE
MAP SRC.DEPT, TARGET TGT.DEPT;
MAP SRC.EMP, TARGET TGT.EMP;
GGSCI (dbserver2) 1> add replicat ROLAP01, exttrail ./dirdat/ta
GGSCI (dbserver2) 2> start replicat ROLAP01
Sending START request to MANAGER ...
REPLICAT ROLAP01 starting
After that I insert some rows to source table
But in the source :
GGSCI (rx2600-2) 8> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EOLTP01 00:00:00 00:00:07
EXTRACT ABENDED EPMP01 00:35:31 00:02:16
when i view report EPMP01
Source Context :
SourceModule : [er.api]
SourceID : [scratch/aime1/adestore/views/aime1_staoi06/oggcore/OpenSys/src/app/er/api.c]
SourceFunction : [XT_read]
SourceLine : [4054]
2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)
Thanks alotThoNguyen wrote:
when i view report EPMP01
2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)That's an interesting trail file name. It could be that there are special char's somehow in your prm file, try:
$ cat -vEt dirprm/EPMP01.prm
.......and look for special char's in the trail filename.
What is the source OS where the pump is running? (Perhaps you should display the entire pump report file -- it has all this info in it, including original parameters.) What is the target OS where the remote trails are created? Are the character sets different?
Maybe you are looking for
-
Advantages of new iTunes account over sharing mine for child?
Hi - I've tried to read through the previous discussions but there are so many and many were before iOS 5 - here's the situation: My husband got a new iphone 4s so we disabled the AT&T contract on his 3GS and want to give it to our daughter. She cur
-
Dear all, I have a requirement in WEB DynPro, Our ESS system using WEB DynPro. In ESS leave system need to display error message.ie once leave approved, employees are not allowed to change the leave. Any idea to write code to display error message. T
-
The question apparently needs to be typed in twice... good work. Here it is again: I cannot install iTunes updates as of today. Does anyone have any idea what changed with iTunes?
-
Call an 8.2 dll in Labview 7.0
Hello, I have a bunch of applications written in Labview 7.0. I need to add a small update to these apps, that uses some of the features of 8.2.1. I have compiled the features into a dll and want to call this in my labview 7.0 application. I have
-
i have a logitech webcam connected to my powerbook, yet when i goto try and video chat with someone it says that no camera is connected. what to do? im thinking maybe i have to have an apple webcam? like hte isight? or what?