Extract in abended
HI !
I have add extract in (sqlserver2005 standard sp3 11.2.1.0.2 ogg)
trying to replicate to oracle 11g xe.
ADD EXTRACT finance, TRANLOG, BEGIN NOW
EXTRACT ttext
SOURCEDB osdfsdfdsf,USERID sdfsdfsd, PASSWORD sdfsdfsdf &
AES128, ENCRYPTKEY securekey1
EXTTRAIL /V34016-01/dirdat/lt
TABLE dbo.*;
when i am starting
start extract ttext
it is showing error
can not create process 'extract' ,child process is no longer alive.
warnning 01742: mgr mgr returen with error response.
and info all is showing manager is running
but extract is abended and showing total time in time since chkpt.
yours sincerely
Edited by: 944768 on Sep 12, 2012 7:08 AM
thank u.
After adding exttrail and
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT in prameter file it has started
but shwing below error. when using view report <ext>
with status running.
2012-09-12 21:47:58 WARNING OGG-00091 VAM Client Report <[mssqlvam::TruncMgr::
Timer] Unable to execute procedure. The database is not published. Execute the p
rocedure in a database that is published for replication. Error (-2147217900): U
nable to execute procedure. The database is not published. Execute the procedure
in a database that is published for replication.
yours sincerely
Edited by: 944768 on Sep 12, 2012 9:58 PM
Edited by: 944768 on Sep 12, 2012 9:59 PM
Similar Messages
-
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 -
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 AMggsci> 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 -
Hi,
I have GG 11.1.1.0.0 on oracle 11gR2/ASM with active-active configuration. The extract process is getting abendent. It seems GG is not able to connect to ASM instance. Below is the extract report.
Oracle GoldenGate Capture for Oracle
Version 11.1.1.0.0 Build 078
Windows x64 (optimized), Oracle 11 on Jul 28 2010 15:04:33
Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-06-17 09:03:19
Operating System Version:
Microsoft Windows Server 2008 R2 , on x64
Version 6.1 (Build 7600: )
Process id: 14140
Description:
** Running with the following parameters **
EXTRACT LOAD1
RMTHOST 164.156.155.129, MGRPORT 7809
USERID gguser, PASSWORD ******
TRANLOGOPTIONS asmuser userasm@+ASM1, ASMPASSWORD ********
THREADOPTION MAXCOMMITPROPAGATIONDELAY 11800
RMTTRAIL F:\GG\GG_HOME\dirdat\tt
TABLE HPMS.FACILITY;
TABLE HPMS.TRAFFOC_STAGE;
2011-06-17 09:03:19 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
Bounded Recovery Parameter:
Options = BRRESET
BRINTERVAL = 4HOURS
BRDIR = M:\GG\gg_home
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:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will be used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
Warning: your NLS_LANG setting does not match database server language setting.
Please refer to user manual for more information.
Maximum supported ASM read buffer size is 28 KB
Source Context :
SourceModule : [er.redo.ora]
SourceID : [er/redo/oracle/redoora.c]
SourceFunction : [REDO_validate_config]
SourceLine : [3652]
ThreadBacktrace : [7] elements
: [M:\GG\gg_home\extract.exe(ERCALLBACK+0x2521c4) [0x000000014032DED4]]
: [M:\GG\gg_home\extract.exe(ERCALLBACK+0x14a9d7) [0x00000001402266E7]]
: [M:\GG\gg_home\extract.exe(<RCALLBACK+0x14a9d7) [0x00000001400B79D3]]
: [M:\GG\gg_home\extract.exe(<RCALLBACK+0x14a9d7) [0x00000001400BE152]]
: [M:\GG\gg_home\extract.exe(releaseCProcessManagerInstance+0x1e7d0) [0x00000001403966B0]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x00000000779EF56D]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x0000000077B22CC1]]
2011-06-17 09:03:20 ERROR OGG-00868 Attaching to ASM server +ASM1: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
2011-06-17 09:03:20 ERROR OGG-01668 PROCESS ABENDING.
Kindly advice...
Thanks and regards...Hi,
To ensure that the Oracle GoldenGate Extract process can connect to an ASM instance, do the following.
a. List the ASM instance in the tnsnames.ora file. The recommended method for connecting to an ASM instance when Oracle GoldenGate is running on the database host machine is to use a bequeath (BEQ) protocol.
NOTE: A BEQ connection does not work when using a remote Extract configuration. In that case, configure TNSNAMES with the TCP/IP protocol.
b. If using the TCP/IP protocol, verify that the Oracle listener is listening for new connections to the ASM instance.
The listener.ora file must contain an entry similar to the following.
SID_LIST_LISTENER_ASM =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ASM)
(ORACLE_HOME = /u01/app/grid)
(SID_NAME = +ASM1)
NOTE: The BEQ protocol does not require a listener.
If Oracle 10g Automatic Storage Management (ASM) is in use, Oracle GoldenGate requires a user for the Extract process to access the ASM instance. Oracle GoldenGate does not support using operating-system authentication for the ASM user. You can use SYS user or any user with SYSDBA privileges in the ASM instance.
ASM password configuration
1 To view how the current ASM password file is configured, log on to the ASM instance and issue the following command in SQL*Plus:
SQL> SELECT name, value FROM v$parameter WHERE name = 'remote_login_passwordfile';
Please use the TRANLOGOPTIONS parameter with the ASMUSER and ASMPASSWORD options for the ASM user.
Example:TRANLOGOPTIONS ASMUSER sys@+ASM1, ASMPASSWORD asm321
Thanks & Regards
SK -
Extract is abended and looking 8 days old archive log.
I was doing some maintenance and I stop all the extracts and replicats. Couple of my extracts are stopped and looking for 8 days old archive logs. Please tell me how can I recover from that situation. I dont have that archive any more we only keep 5days arch.
GGSCI (ggastdb01.infra.mms) 5> info e_it860t
EXTRACT E_IT860T Initialized 2011-02-08 16:04 Status STOPPED
Checkpoint Lag 00:10:05 (updated 04:34:30 ago)
Log Read Checkpoint Oracle Redo Logs
2011-02-24 09:53:04 Seqno 15721, RBA 103192
Report file Error:
2011-02-24 14:34:04 ERROR OGG-00446 Could not find archived log for sequence 15494 thread 1 under alternative or default destinations. SQL <SELECT name FROM v$archived_log WHERE sequence# = :ora_seq_no AND thread# = :ora_thread AND resetlogs_id = :ora_resetlog_id AND archived = 'YES' AND deleted = 'NO>. Last alternative log tried /u10/oradata/PPMTST10/arch/1_15494_721133148.arc, error retrieving redo file name for sequence 15494, archived = 1, use_alternate = 0Not able to establish initial position for sequence 15494, rba 68728848.
2011-02-24 14:34:04 ERROR OGG-01668 PROCESS ABENDING.If you don't have the log file(s) in question, then you need to:
re-sync the databases/schema/tables, or
advance the CSN to a point in time where you do have log files and deal with missing data separately
Is an archived transaction log missing?
● Extract reads the archived logs when an online log is not available. If you started
Extract after it was stopped for a long time, the records it needs to process might
already be archived away.
● Restore the archive log that is specified in the error message in the report file, and also
restore all subsequent logs.
NOTE Extract should not be stopped for a long time. If you must stop Extract, make
certain that archives are available all the way back to the time that you stopped
Extract. If Extract remains stopped for an exceptionally long time, it might be more
practical to resynchronize the table(s) rather than wait for Extract to go through the
archives and catch up. -
Hi experts,
we are unable to start the extract process due to below error message,
2012-07-31 13:35:37 OGG-00455 Problem in resolving [ACCOUNTS.COUNTRY]: Failed to validate table ACCOUNTS
.COUNTRY. The table is created with the NOLOGGING option, which is not supported. Extract may not be able to c
apture data from it., try to fix this issue in order to avoid possible fatal error.
This table statement is available in archive redolog file, while extract trying to fetch the details, its throwing error , is there any solution to how to fix the error.
SQL> SELECT force_logging FROM v$database;
FOR
NOHi,
Thanks,
If now i enabled the force logging in database level, then can we get the logging for exisiting table which was created before no logging mode? whether database automatically created the logs fore the objects which was created with no logging mode? please confirm. we are trying to replicate DDL and DML also. -
How to retrieve only error message through report file
Hi,
When there is extract/replicat abended,we need to check complete report file to see the error message.
I would like to know is there parameter setting available ,so that we can retrieve only required error message.
For ex. Instead of complete error message to check in report file,i need to see below meesage only,starting from "source Context".
Source Context :
SourceModule : [er.main]
SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/app/er/rep.c]
SourceFunction : [get_map_entry]
SourceLine : [9126]
ThreadBacktrace : [11] elements
: [ora/gg/install/replicat(CMessageContext::AddThreadContext()+0x26) [0x5f2ac6]]
: [ora/gg/install/replicat(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x5e9562]]
: [ora/gg/install/replicat(_MSG_ERR_DB_CLAUSE_ERROR(CSourceContext*, char const*, CMessageFactory::MessageDisposition)+0x92) [0x5b1352]
: [ora/gg/install/replicat(get_map_entry(char*, int, __wc*, int)+0x1dd6) [0x4fcec6]]
: [ora/gg/install/replicat [0x5497e5]]
: [/ora/gg/install/replicat(WILDCARD_check_table(char const*, char const*, int, unsigned int*, int, unsigned int, DBString<777>*, int)+0
x16b) [0x54b08b]]
: [ora/gg/install/replicat(REP_find_source_file_wc(char const*, unsigned int, DBString<777>*, int)+0x350) [0x903d50]]
: [ora/gg/install/replicat [0x90bb0d]]
: [ora/gg/install/replicat(main+0x84b) [0x5081ab]]
: [lib64/libc.so.6(__libc_start_main+0xf4) [0x2b87d13469b4]]
: [ora/gg/install/replicat(__gxx_personality_v0+0x1da) [0x4e479a]]
2012-07-09 02:20:48 ERROR OGG-00919 Error in COLMAP clause.
--------------------------------------------------------------------------------------------------------------------------------------------------------Nice..i think awk is better option.
Just one thing.awk command only displays part of the information instead of complete below information.
Ex: egrep -q ERROR dirrpt/PODS00C1.rpt && awk '/^Source Context/,/ERROR/ { print $0 }' dirrpt/PODS00C1.rpt
[22:00]goldengate]$ egrep -q ERROR dirrpt/PODS00C1.rpt && awk '/^Source Context/,/ERROR/ { print $0 }' dirrpt/PODS00C1.rpt
Source Context :
SourceModule : [ggdb.ora.sess]
SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
SourceFunction : [OCISESS_try]
SourceLine : [500]
ThreadBacktrace : [12] elements
: [orashare/gg/navc1/extract(CMessageContext::AddThreadContext()+0x26) [0x6705e6]]
: [orashare/gg/navc1/extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x667082]]
: [orashare/gg/navc1/extract(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC(CSourceContext*, int, char const*, char const*, CMessageFactory::MessageDisposition)+0xa6) [0x61f2c6]]
Where as i would like to see complete information including ERROR details as mentioned below.Do you have any awk command for this?
Required below output:
Source Context :
SourceModule : [ggdb.ora.sess]
SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
SourceFunction : [OCISESS_try]
SourceLine : [500]
ThreadBacktrace : [12] elements
: [orashare/gg/navc1/extract(CMessageContext::AddThreadContext()+0x26) [0x6705e6]]
: [orashare/gg/navc1/extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x667082]]
: [/orashare/gg/navc1/extract(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC(CSourceContext*, int, char const*, char const*, CMessageFactory::MessageDisp
osition)+0xa6) [0x61f2c6]]
: [orashare/gg/navc1/extract(OCISESS_try(int, OCISESS_context_def*, char const*, ...)+0x353) [0x5a3d53]]
: [orashare/gg/navc1/extract(OCISESS_logon(OCISESS_context_def*, char const*, char const*, char const*, int, int, int)+0x89c) [0x5a596c]]
: [orashare/gg/navc1/extract(DBOCI_init_connection_logon(char const*, char const*, char const*, int, int, int, char*)+0x74) [0x5931a4]]
: [orashare/gg/navc1/extract [0x597918]]
: [orashare/gg/navc1/extract(gl_odbc_param(char const*, char const*, char*)+0x3b) [0x597f1b]]
: [orashare/gg/navc1/extract [0x520b96]]
: [orashare/gg/navc1/extract(main+0x1ce) [0x52726e]]
: [lib64/libc.so.6(__libc_start_main+0xf4) [0x2af768923994]]
: [orashare/gg/navc1/extract(__gxx_personality_v0+0x1ea) [0x4f3aba]]
2012-09-06 16:48:50 ERROR OGG-00664 OCI Error beginning session (status = 1017-ORA-01017: invalid username/password; logon denied).
2012-09-06 16:48:50 ERROR OGG-01668 PROCESS ABENDING. -
Error: OGG-00146 - error 600 - Failed to connect to mysql database
Dear All,
I am replicating Data from MySQL to Oracle.
Version of my MySQL is Server version: 5.5.19 MySQL Enterprise Server - Advanced Edition
Version of Oracle is : Oracle 11gR2
My extract is giving the following error and I am unable to identify the problem:
*2012-12-25 14:18:48 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, netfors.prm: 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!>
Following are the contents of my /etc/odbc.ini file
*[netfors]*
Driver = /usr/lib/libmyodbc3.so
Description = Connector/ODBC 3.51 Driver DSN
Server = 10.168.20.226
Port = 6629
User = replication
Password = ******
Database = netfors
Option = 3
Socket = /tmp/mysql_sandbox5519.sock
When i isql -v netfors replication ***** *
it say Connected!
This is my extract:
EXTRACT NETFORS
DBOPTIONS HOST 10.168.20.226, CONNECTIONPORT 6629
SOURCEDB [email protected]:6629, USERID replication, PASSWORD ******
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/n1
TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/msb_5_5_19/data/mysql-bin.index
TABLE netfors.syslog;
Extract gets ABENDED
Kindly help on this.
Regards, ImranGot it solved some how, golden gate was trying to connect with default socket file.
*/tmp/mysql.sock*
while my socket file was
*/tmp/mysql_sandbox5519.sock*
I changed it to default and got rid of the error.
Thanks for the help.
Regards, Imran -
GoldenGate and Required MySQL Privileges
Hi,
Environment Details:
MySQL Version 5.1.56-log
GoldenGate Version 11.2.1.0.1
Issue:
We are replicating data from a MySQL instance containing two databases, db1 and db2. However, we are only replicating tables from db1. GoldenGate logs into the database using the user ggc which has the following MySQL grants:
GRANT USAGE ON *.* TO 'ggc'@'localhost'
GRANT SELECT ON `db1`.* TO 'ggc'@'localhost'
The extract parameter file is as follows:
EXTRACT E_LD_C
SETENV (NLS_LANG = "AMERICAN_AMERICA.AL32UTF8")
SOURCEDB ggc, USERID ggc
EXTTRAIL ./dirdat/E_LD_oc/oc
TRANLOGOPTIONS ALTLOGDEST /mysql/mysqllog/mysqlbin.index
TABLE db1.*;
After starting the extract it abends with the following message:
2013-03-19 17:58:34 ERROR OGG-00146 VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to Query Metadata for Table : db1.test_tab AND Failed Queries Are: QUERY_FAILED_CHARSET_RETRIEVAL,QUERY_FAILED_SIGNED_INFO_RETRIEVAL,
Looking at the MySQL query log one of these queries is:
select character_set_name from information_schema.columns where table_schema='db2' and table_name='other_tab' and ordinal_position=7
I suspect that GoldenGate is querying for metadata for tables it is not even replicating i.e., tables from db2, when encountering them in the binary log. Granting the following privilege resolves the issue:
GRANT SELECT ON *.* TO 'ggc'@'localhost';
However, for security reasons we only want to grant user ggc privileges to db1 not all the tables within the instance.
Any help with the following issue would gratefully received.
Thanks, PaulMy understaning is that you can't grant access to the INFORMATION_SCHEMA directly. If you grant access to a user for a table then that user can query the entries for that table in the INFORMATION_SCHEMA database. Therefore if GoldenGate is trying to access data in the INFORMATION_SCHEMA database for a table that it has no access to then it will retrieve no rows. This means that if GoldenGate is querying the INFORMATION_SCHEMA database for every table that writes to the binary log it will fallover when it encounters a table it does not have SELECT access to which to me means it must be given the privilege SELECT ANY TABLE to work.
Thanks, Paul -
Extract abends after sometime without any errors in logs
Hi Folks,
I am implementing unidirectional simple replication for one schema (DDL & DML) without GG data pump and I am newer to GG.
Extract abends after sometime without any errors in logs. I doubt I did not configure exttrail/rmttrail properly.
What should be the commands to configure trails in this scenerio ?
Any suggestions ?
Regards
Edited by: LazyDBA11g on Aug 22, 2012 1:00 AMThanks Paddu for reply but I can not use DBLOGREADER as it is not compatible in my env
Use the TRANLOGOPTIONS parameter with the DBLOGREADER option in the Extract parameter file if the ASM instance is one of the following versions:
Oracle 10.2.0.5 or later 10g R2 versions
Oracle 11.2.0.2 or later 11g R2 versionsLastly I dont have connectivity issue with ASM.
Regards
Edited by: LazyDBA11g on Aug 22, 2012 1:03 AM -
Howto send SKIPTRANS to ABENDED extract?
Hi
We have an extract that ABORT when DDL is executed on DB.
xabc.prm
DDL INCLUDE OBJNAME abc.* EVENTACTIONS (DISCARD, ABORT)
When the extract is in ABENDED state we want to skip this one DDL transaction:
send XSYRA, SKIPTRANS 22.2592190948 THREAD 2
But it does not work:
ERROR: EXTRACT XSYRA not currently running.
1.
What is the SKIPTRANS for when ist does not work for ABENDED processes?
2.
Why is DISCARD not skipping this record? When start the extract again it is ABENDED again.
The doc says: "The process resumes processing with the next record in the trail."
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.4_02 15864821 OGGCORE_11.2.1.0.5_PLATFORMS_121214.0600
HP/UX, IA64, 64bit (optimized), Oracle 11g on Dec 14 2012 08:34:12
ThanksSKIPTRANS is used to tell Extract to skip a long running transaction or a empty transaction that hasn't committed. It was used prior to Bounded Recovery being implemented when OGG would require old archive logs in order to restart.
To skip a DDL operation, you can use this parameter..
DDLERROR RESTARTSKIP 1
This will tell Extract to skip the next DDL operation it encounters. I haven't used it with DDL INCLUDE OBJNAME abc.* EVENTACTIONS (DISCARD, ABORT).
I'm not sure of the order of operations on this, but a short test would show if it would work. -
Extracts abended because no records extracted --- no activity from database
I got multiple extract group running last night , however when I checked this morning, all are abended with no records extracted mentioned.
How do I be sure all the extracts keep running all the time during migration?
Another warning I see is below:
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will b
e used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7A
SCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "UTF8"
Do I have to setup nls_lang environment?
Thank you all in advance.oracle version: aix 11gr1, ogg version 11.
The error message is like this:
2012-05-28 17:11:51 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, e1.prm: PROCESS ABENDING.
2012-05-28 18:06:11 ERROR OGG-00542 Oracle GoldenGate Capture for Oracle, e3.prm: Unexpected threading l
ibrary failure. Error code 22 (Invalid argument).
2012-05-28 18:06:12 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, e3.prm: PROCESS ABENDING.
2012-05-28 18:06:46 ERROR OGG-00542 Oracle GoldenGate Capture for Oracle, e3.prm: Unexpected threading
library failure. Error code 22 (Invalid argument).
2012-05-28 18:06:47 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ea3.prm: PROCESS ABENDING.
2012-05-28 18:07:38 ERROR OGG-00542 Oracle GoldenGate Capture for Oracle, ei2.prm: Unexpected threading l
ibrary failure. Error code 22 (Invalid argument).
2012-05-28 18:07:38 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ei2.prm: PROCESS ABENDING.
2012-05-28 18:07:40 ERROR OGG-00542 Oracle GoldenGate Capture for Oracle, eactive2.prm: Unexpected threading
library failure. Error code 22 (Invalid argument).
2012-05-28 18:07:41 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ea2.prm: PROCESS ABENDING.
~
Part of the parameter:
TRANLOGOPTIONS asmuser sys@ASM, asmpassword xxxx
THREADOPTIONS MAXCOMMITPROPAGATIONDELAY 3000 IOLATENCY 3000 PROCESSTHREADS SELECT 1
TRANLOGOPTIONS COMPLETEARCHIVEDLOGTIMEOUT 600
discardfile ./dirrpt/e1_dsc.rpt, append
insertallrecords
wildcardresolve immediate -
ECATT abends during recording when lead selection is set to 0 on web dynpro
We have a web dynpro application that works ok when running by itself. When we tried to record ECATT testing on it, it abended after we click on a selection from a list of values. The error on the browser indicated an error on the "lead select". After reviewing the dump, we found that it abends on an exception when the lead selection on the ALV is not set. When we changed our code to set the lead selection to 1, the ECATT recording worked.
We have a requirement to set the lead selection of ALV to 0 so we need to change back our code. We just did the setting to 1 just to get ECATT recording to work for now. Does anybody know why ECATT requires this? Is there a support packs that fixes this?
Here is a snippet from ST22 for more details on this:
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_WD_CONTEXT
Date and Time 2007/02/07 14:50:06
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CONTEXT_NODE===========CP' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
therefore caused a runtime error.
The reason for the exception is:
The lead selection has not been set. VIEW_TABLE
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
"CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00V"
"_RAISE_ELEMENT_NOT_FOUND"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "torsapd01"
Network address...... "10.2.75.183"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 8 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "TORSAPD01"
Database type..... "MSSQL"
Database name..... "PR3"
Database user ID.. "dbo"
Char.set.... "English_United State"
SAP kernel....... 700
created (date)... "Aug 28 2006 22:20:27"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 75
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16128
EM...... 16759616
Heap.... 0
Page.... 0
MM Used. 12713776
MM Free. 4042608
User and Transaction
Client.............. 200
User................ "SIC0010"
Language Key........ "E"
Transaction......... " "
Program............. "CL_WDR_CONTEXT_NODE===========CP"
Screen.............. "SAPMHTTP 0010"
Screen Line......... 2
Information on Caller ofr "HTTP" Connection:
Plug-in Type.......... "HTTP"
Caller IP............. "10.49.77.47"
Caller Port........... 8000
Universal Resource Id. "/sap/bc/webdynpro/sap/zpr3_base_price/"
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_CONTEXT_NODE===========CP" -
in "_RAISE_ELEMENT_NOT_FOUND".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 11
of the (Include) program "CL_WDR_CONTEXT_NODE===========CM00V".
Source Code Extract
Line
SourceCde
1
method RAISEELEMENT_NOT_FOUND.
2
data: l_count type I,
3
l_node_name type string.
4
5
l_node_name = if_wd_context_node~get_path( ).
6
7
l_count = if_wd_context_node~get_element_count( ).
8
if l_count = 0.
9
raise exception type cx_wd_context exporting textid = cx_wd_context=>NODE_EMPTY node_nam
10
elseif element_index = if_wd_context_node=>use_lead_selection.
>>>>>
raise exception type cx_wd_context exporting textid = cx_wd_context=>NO_LEAD_SELECTION n
12
else.
13
raise exception type cx_wd_context exporting textid = cx_wd_context=>ELEMENT_NOT_FOUND n
14
endif.
15
endmethod.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
1
SY-TABIX
0
SY-DBCNT
2
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
HTTP Control
SY-MSGTY
E
SY-MSGID
TD
SY-MSGNO
600
SY-MSGV1
000003587101
SY-MSGV2
0001
SY-MSGV3
EN
SY-MSGV4
SY-MODNO
0
SY-DATUM
20070207
SY-UZEIT
145005
SY-XPROG
SAPCNVE
SY-XFORM
CONVERSION_EXITHi Eugene,
i suggest you raise an SMP ticket for these.
Looks like a bug at first glance.
regards
Phil -
Data Pump Abends : Not able to write to trails to remote directory
I am using following to do replication
SOURCE SCHEMA: HBP
TABLE: EMPLOYEES
SOURCE GOLDEN GATE SCHEMA: ggs_owner
Z:\ is mapped on source system which points to \\206.120.226.47\ggtarget ( Remote System )
TARGET SCHEMA: HBP
TABLE: EMPLOYEES
TARGET GOLDEN GATE SCHEMA: ggs_target
ON SOURCE:
1. ADD EXTRACT ext2, TRANLOG, BEGIN NOW
2. ADD EXTTRAIL D:\GGATE\dirdat\lt, EXTRACT ext2
3. ADD EXTRACT dtest, EXTTRAILSOURCE D:\GGATE\dirdat\lt
4. EDIT PARAMS ext2
EXTRACT ext2
USERID ggs_owner, PASSWORD ggs_owner
EXTTRAIL D:\GGATE\dirdat\lt
TABLE HBP.EMPLOYEES;
5. ADD RMTTRAIL Z:\dirdat\rt, EXTRACT dtest
6. EDIT PARAMS dtest
EXTRACT dtest
USERID ggs_target, PASSWORD target
RMTHOST 206.120.226.47, MGRPORT 7809
RMTTRAIL Z:\dirdat\rt
PASSTHRU
TABLE HBP.EMPLOYEES;
Note: Full rights are given on Z:\dirdat
7. START EXTRACT ext2
Successfully Started
8. START EXTRACT dtest
Error: There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Remote file used is Z:\dirdat\rt000000, reply received is Could not create Z:\dirdat\rt000000). 2011-03-16 18:02:51 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, DTEST.prm: PROCESS ABENDING.The OS user running Manager Service on source system is : zzxpzr whereas the target system has Golden Gate configured under OS user: jzdlc1.
From source system, I am able to create a text file to the remote mapped drive. Not able to understand why Golden Gate is not able to create file remotely.
(1) Is Mapped Dirve concept permitted in Golden Gate ?
(2) Instead of Mapped Drive, if I use \\201.120.220.56\GGTARGET\dirdat\rt while added REMOTE TRAIL using command ADD RMTTRAIL then it gives error that "filename is incorrect"
Thanks Steve for your suggestion. I shall try to configure Golden Gate with same OS user as on Source System. -
ABEND while creating file in the application server
Dear All,
Please provide the solution for the following.
REPORT ZMAIN.
SELECT BKORM UP TO 1000
EXTRACT ext.
ENDSELECT
Imagine, now the extract file having 1000 Entries
Reading the above EXTRACT file
LOOP .
submit ZSUB.
ENDLOOP.
End OF Main Program----
REPORT ZSUB.
SELECT BKORM UPTO 500
EXTRACT ext.
ENDSELECT
Here for each submit of the ZSUB, it is creating one EXTRACT file in the application server. When it reaching to create 999, it is going for ABEND.
Can anybody provide the solution to avoid going for ABEND .
Is there any restriction to create extract files in the applciation server?
Thanks in advance.Instead of select/endselect, try to use a loop with internal tables..
There's no limit in the extracts you can do..
<removed by moderator>
Edited by: Thomas Zloch on Nov 2, 2010 5:20 PM - please do not ask for... -> Ok
Edited by: Roberto Vacca on Nov 2, 2010 5:29 PM
Maybe you are looking for
-
Having problem loading resource file in WAR
Forgive me to post it here, I'm not sure where I should post this question. I'm using weblogic 5.1 with sp 9. In an WAR file, I put an resource file myapp.dtd as the follwoing: WEB-INF/classes/myapp.dtd WEB-INF
-
so I change my password.I sign out i sign back in and all I am getting is a page that tells me crap in which I have no interest whatsoever
-
Some hierarchy related issues, SQL Query is including unselected columns?
Hello Guys... I have something strange happening in my report.. First of all, the RPD I have is built according to JDE model. There is a schema which looks like this: BU Dim ------->Fact<---------Account Dim <--------BU Account Dim (Indeed a copy of
-
How do I update Numbers to 2.2 (mtn lion)
I did not purchase from the ap store, rather a physical copy. Software Update takes one to the ap store, which doesn't address this update for me. The iWork Updater doesn't work with it either (says Keynote is not installed). Thanks for any tips I ha
-
Mail search don't return results in chronological order
This change completely voids my ability to find an email using my IPad. I need to be able to sort by newest to oldest. Lots of threads on this it just needs to be fixed! Good thing I still have my Android phone.