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\dirdef
what 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.
Similar Messages
-
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 -
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 -
ERROR OGG-00146 VAM function VAMInitialize returned unexpected
I am configuring Golden Gate for MySQL and when i start extract it says extract started successfully but when i see its log file then i see this
2011-03-04 01:55:10 ERROR OGG-00146 VAM function VAMInitialize returned unexpected
result: error 600 - VAM Client Report <CAUSE OF FAILURE : Log index file
does not exist,please check if binary logging is enabled - /var/lib/mysql//Hassan-bin.index
WHEN FAILED : While initializing binary log configuration
WHERE FAILED : MySQLBinLog Reader Module
CONTEXT OF FAILURE : No Information Available!>.
2011-03-04 01:55:10 ERROR OGG-01668 PROCESS ABENDING.
then i changed MySQL bin log file name format to what it is saying and restarted MySQL service and again tried to start extract process. Now I am getting this error which is not clear to me
011-03-04 23:13:14 ERROR OGG-00146 VAM function VAMInitialize returned unexpected
result: error 600 - VAM Client Report <CAUSE OF FAILURE : Position time is
prior then earliest time available in the log : Earliest time available in the
log is 2011-03-04 23:08:25
WHEN FAILED : SetInitialPosition by time stamp
WHERE FAILED : MySQLBinLog Reader Module
CONTEXT OF FAILURE : No Information Available!>.
2011-03-04 23:13:14 ERROR OGG-01668 PROCESS ABENDING.
any one can help me out why this is occuringI have just deleted all extract & replicat and reconfigured , now things are working fine.
-
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. -
Error MySQL to Oracle Replication ERROR OGG-00146 Failed to Query Meta
Hello Guys,
I have a configured replication between MySQL database and Oracle Database using Golden Gate.
Extract data from MySQL is replicated to Oracle.
MySQL is on Linux and version is 5.5
Oracle is 11gR2 RAC on Linux (I am using one node for replication)
When i start extract and replicat they works fine, but as soon as record is inserted in source database i.e MySQL extract ABENDED with this error in the log file:
*2013-04-11 16:24:40 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, smpp7.prm: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report* *<CAUSE OF FAILURE : Failed to Query Metadata from Table : smpp7.sent_sms WHEN FAILED : While Sending Insert and Delete Record WHERE FAILED : MySQLBinLog Reader Module*
CONTEXT OF FAILURE : No Information Available!>.
*2013-04-11 16:24:40 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, smpp7.prm: PROCESS ABENDING*
This is my extract and replicat:
Extract
GGSCI>ADD EXTRACT SMPP7, TRANLOG, BEGIN NOW
GGSCI>EDIT PARAMS SMPP7
EXTRACT smpp7
DBOPTIONS HOST 10.168.20.253, CONNECTIONPORT 14422
SOURCEDB [email protected]:14422, USERID "*******", PASSWORD "*******"
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2
TRANLOGOPTIONS ALTLOGDEST /mysql/node3/data/mysql-bin.index
TABLE smpp7.sent_sms;
GGSCI>ADD RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, EXTRACT SMPP7, MEGABYTES 5
GGSCI>INFO RMTTRAIL *
GGSCI>START EXTRACT SMPP7
Replicat
GGSCI>ADD REPLICAT smpp7, EXTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, checkpointtable ggs_owner.checkpoint
3) edit params smpp7
REPLICAT SMPP7
USERID *******, PASSWORD *******
ASSUMETARGETDEFS
HANDLECOLLISIONS
SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/smpp7.def
DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/smpp7.dsc, PURGE
MAP "smpp7.sent_sms", TARGET MYSQL_SMPP7.sent_sms, COLMAP (usedefaults,COMPRESS_=compress,SERVICE=@STRCAT(service,"_sms"));
GGSCI>START REPLICAT smpp7
I have given full rights to MySQL user:
GRANT ALL PRIVILEGES ON *.* TO '**********'@'localhost' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO '**********'@'10.168.20.253' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
Can you please help me to get through this problem.
Regards, ImranHi,
I have the same error between two Mysql 5.5.
I have added this line in the extact param file :
vam params (arliberror -14 warn)
And on my replicate param file :
map "aix"."etat", target "FR"."etat", REPERROR (-1403, EXCEPTION);
It looks working better.
But I can't modify my max_binlog_size to 4069 (4k). It make have to much file and slow my system. -
ERROR OGG-01201 Error reported by MGR : No available dynamic port entries
Dear All,
I have configured Golden Gate for MySQL on Linux machine.
All my extracts and replicats were running fine but suddenly the initial load extract have started trowing this error:
*2013-02-25 14:30:08 ERROR OGG-01201 Error reported by MGR : No available dynamic port entries.*
*2013-02-25 14:30:08 ERROR OGG-01668 PROCESS ABENDING.*
This is the same configuration that was working fine for many days:
GGSCI>ADD EXTRACT exp1, SOURCEISTABLE
GGSCI>INFO EXTRACT *, TASKS
GGSCI>edit params exp1
EXTRACT exp1
SOURCEDB db@localhost:3306, USERID "******", PASSWORD "******"
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTASK REPLICAT, GROUP imp1
TABLE netfors.edr;
--on 31
GGSCI>ADD REPLICAT imp1, SPECIALRUN
GGSCI>edit params imp1
replicat imp1
USERID user, PASSWORD password
SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/edr.def
DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/imp1.dsc, PURGE
HANDLECOLLISIONS
MAP "db.edr", TARGET db.SDR_TBLICPRAWEDR, COLMAP (usedefaults,
ICPRE_RAWEDRID=seqno,
ICPRE_SENDER=sender,
ICPRE_RECEIVER=receiver,
ICPRE_ICCARRIERID=incoming,
ICPRE_OGCARRIERID=outgoing,
ICPRE_QUEUE=queue,
NE_ELEMENTID=18,
ICPRE_CREATETIME=createtime,
ICPRE_TIMEOFDAYBEGIN=timeofdaybegin,
ICPRE_TIMEOFDAYEND=timeofdayend,
ICPRE_UPDATETIME=updatetime,
ICPRE_STATE=state,
ICPRE_MODE=mode,
ICPRE_BATCHID=batchid,
ICPRE_REFERENCE=reference,
ICPRE_MSG_REFERENCE=msg_reference,
ICPRE_SEGMENT=segment,
ICPRE_CSMSID=csmsid,
ICPRE_GMSC=gmsc,
ICPRE_IMSI=imsi,
ICPRE_SMPP_MESSAGE_ID=smpp_message_id,
ICPRE_RETRIES=retries,
ICPRE_ELOCATION=elocation,
ICPRE_ECODE1=ecode1,
ICPRE_ECODE2=ecode2,
ICPRE_FLAGS=flags);
Kindly help to resolve this issue.
Thanks, ImranThanks for your reply and time Kamal.
When i run :
GGSCI (smsc.etisalcom.net) 1> send mgr getportinfo detail
returns
Sending GETPORTINFO, request to MANAGER ...
No Dynamic Ports In Use or Configured
But I have tried with
DYNAMICPORTLIST 7809,7810,7811 7812-7850
But error message was the same.
Current settings for the mgr
GGSCI>edit params mgr
PORT 7813
Regards, Imran -
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 -
Need help with error OGG-00662
I have installed Oracle GoldenGate and created the extract and replicat processes. However, when I am starting the processes, both fail with an error message in the event viewer as
ERROR OGG-00662 Oracle GoldenGate Capture for Oracle, EXT1.prm: OCI Error allocating error handle (status = -1).
What may be the problem and how do I solve this?Steve, Thank you for responding. Here are the details;
Extract parameters
extract group
extract ext1
connection to database
userid ggate, password oracle
hostname and port for trail
rmthost REMOTE_HOSTNAME, mgrport 7809
path and name for trail
rmttrail D:\OracleGoldenGate\dirdat\lt
--DDL support
ddl include mapped objname sender.*;
--DML
table syncsrc.*
Replicat parameters
Replicat group
replicat rep1
--source and target definitions
ASSUMETARGETDEFS
target database login
userid ggate, password systime
file for dicarded transaction
discardfile C:\OracleGoldenGate\discard\rep1_discard.txt, append, megabytes 10
--ddl support
DDL
Specify table mapping -
map syncsrc.*, target syncdest.*;
I am using Oracle 10g on both environments. The source db is Windows XP SP3 with both Oracle db (10g 10.1.0.2.0) and Oracle client (10.2) installed.
The destination environment is running Windows Server 2003 R2 SP2 with the same Oracle components.
I am using Oracle GoldenGate V11.1.1.0.0 for Oracle 10g on Windows XP, 2003, 2008 (V22232-01.zip).
The output of show extract ext1 is
Parameter settings:
SET SUBDIRS ON
SET DEBUG OFF
Current directory: D:\ORACLE~1
Using subdirectories for all process files
Editor: notepad
Reports (.rpt) D:\ORACLE~1\dirrpt
Parameters (.prm) D:\ORACLE~1\dirprm
Replicat Checkpoints (.cpr) D:\ORACLE~1\dirchk
Extract Checkpoints (.cpe) D:\ORACLE~1\dirchk
Process Status (.pcs) D:\ORACLE~1\dirpcs
SQL Scripts (.sql) D:\ORACLE~1\dirsql
Database Definitions (.def) D:\ORACLE~1\dirdef
Edited by: 845899 on Mar 20, 2011 10:29 PM -
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 -
ERROR OGG-00868 Error code 1291, error message: ORA-01291: missing logfile
OGG Version 12.1.2.1.0 OGGCORE_12.1.2.1.
DB : 11.2.0.4.3
I am getting below error.
2014-12-31 09:53:09 ERROR OGG-00868 Error code 1291, error message: ORA-01291: missing logfile
(Missing Log File <unknown>. Read Position SCN: 2585.802983323 (11103293443483)).
Our solution uses ADG and OGG
We have source and target where ADG was setup . We later broke ADG setup and made Oracle DB's in source and target into standalone.
As part of our solution during our deployment window ,we would break ADG i.e we would make both the source and target as independent DB’s with PRIMARY Read /Write mode.
-Take Guaranteed restore point on Source DB so that we can flash back at later stage(so of now we have not executed flash back command)
-Once ADG config is disabled we will start the OGG extract which is already configured before =We are at this stage where we are hit with errors and extract is not starting .Hi ,
The error shows it is waiting for the Logfile. The Integrated extract mainly needs of the availability of two things.
1. Archivelogs.
2. Trail Files.
Both should be retained to the needed / required level.
Please execute the below query and check the status of the Extract / Capture process.
The below query displays the information of each capture process in a database.,
COLUMN CAPTURE_NAME HEADING 'Capture|Name' FORMAT A7
COLUMN PROCESS_NAME HEADING 'Capture|Process|Number' FORMAT A7
COLUMN SID HEADING 'Session|ID' FORMAT 9999
COLUMN SERIAL# HEADING 'Session|Serial|Number' FORMAT 9999
COLUMN STATE HEADING 'State' FORMAT A20
COLUMN TOTAL_MESSAGES_CAPTURED HEADING 'Redo|Entries|Evaluated|In Detail' FORMAT 9999999
COLUMN TOTAL_MESSAGES_ENQUEUED HEADING 'Total|LCRs|Enqueued' FORMAT 9999999999
SELECT c.CAPTURE_NAME,
SUBSTR(s.PROGRAM,INSTR(s.PROGRAM,'(')+1,4) PROCESS_NAME,
c.SID,
c.SERIAL#,
c.STATE,
c.TOTAL_MESSAGES_CAPTURED,
c.TOTAL_MESSAGES_ENQUEUED
FROM V$STREAMS_CAPTURE c, V$SESSION s
WHERE c.SID = s.SID AND
c.SERIAL# = s.SERIAL#;
Also run this query to check, if the capture is waiting for which logfile.,
COLUMN CONSUMER_NAME HEADING 'Capture|Process|Name' FORMAT A15
COLUMN SOURCE_DATABASE HEADING 'Source|Database' FORMAT A10
COLUMN SEQUENCE# HEADING 'Sequence|Number' FORMAT 99999
COLUMN NAME HEADING 'Required|Archived Redo Log|File Name' FORMAT A40
SELECT r.CONSUMER_NAME,
r.SOURCE_DATABASE,
r.SEQUENCE#,
r.NAME
FROM DBA_REGISTERED_ARCHIVED_LOG r, DBA_CAPTURE c
WHERE r.CONSUMER_NAME = c.CAPTURE_NAME AND
r.NEXT_SCN >= c.REQUIRED_CHECKPOINT_SCN;
The above query clearly shows for which logfile the Extract / Capture process is waiting. Check if that logfile is available in your system.
Regards,
Veera -
GG error : pump error OGG-00303
My pump has stopped with " ERROR OGG-00303 Oracle GoldenGate Capture for Oracle, pmp.prm: Could not getaddrinfo for host"
Can direction/help to reslove this issue is highly appreciatedthe source is standalone on linux 64 bit. The oracle install is GI standalone. The target is 2 node RAC. On the target I have created a acfs volume and mounted to share between the two nodes. The GG binaries are installed here. The pump parameter is as follows. The rmthost is hotsname of one the RAC nodes ( this is what I am suspecting)
extract pmpads
-- Extract parameter PASSTHRU enables a data-pump Extract to bypass table
-- definitions lookups
passthru
-- Use RMTHOST to identify a remote system and the TCP/IP port number on that
-- System where the Manager process is running.
rmthost racnode1.domainname.net, mgrport 8900, params "-UL"
-- path and name for trail
rmttrail /u01/oradata/acfs/gg/dirdat/wi
-- Use WILDCARDRESOLVE to alter the rules for processing wildcard table
-- specifications in a TABLE or MAP statement. WILDCARDRESOLVE must precede the
-- associated TABLE or MAP statements in the parameter file.
wildcardresolve dynamic
reportcount every 30 minutes, rate
table ads.*; -
ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: + ORA-12514
Hello Guys,
Environment is as below:
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Enterprise Linux Server release 5.5 (Carthage)
target Site (destination): Software installed and instance has been created.
Standalone single server - Non RAC
Oracle 11.2.0.1.0
ASM
Enterprise Linux Server release 5.5 (Carthage)
Oracle GoldenGate 11g Release 1 (11.1.1)
I have installed and setup Oracle GoldenGate 11g Release 1 (11.1.1) But I am getting below error while starting extract:
2011-05-01 21:27:41 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params ext1.
2011-05-01 21:29:11 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extract ext1.
2011-05-01 21:29:11 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host xxx.xx.x.4 (START EXTRACT EXT1 ).
2011-05-01 21:29:11 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT1 starting.
2011-05-01 21:29:11 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 starting.
2011-05-01 21:29:11 INFO OGG-01635 Oracle GoldenGate Capture for Oracle, ext1.prm: BOUNDED RECOVERY: reset to initial or altered checkpoint.
2011-05-01 21:29:12 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: Attaching to ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
2011-05-01 21:29:12 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.can anyone tell me how to edit listener.ora for ASM instance so that it may capture data from instance.
Below is the listener.ora :
$ cat listener.ora
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = +ASM1)
(ORACLE_HOME = /u01/app/11.2.0/grid)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = +ASM2)
(ORACLE_HOME = /u01/app/11.2.0/grid)
$$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = +ASM2)
$your response will be highly appreciated.
Cheers !!!
LazyDBA11g
Edited by: LazyDBA11g on May 5, 2011 11:16 PM
Edited by: LazyDBA11g on May 22, 2011 5:24 AM
Edited by: LazyDBA11g on May 22, 2011 5:29 AM
Edited by: LazyDBA11g on May 30, 2011 10:46 PMHi,
I installed GG with same configuration and i didn't configure ASM statically in listener.ora at all:
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
When i check listener status, i can see that ASM Instance is correctly registered:
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-MAY-2011 15:41:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 16-MAY-2011 13:17:17
Uptime 10 days 2 hr. 24 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/grid/11.2.0.2/network/admin/listener.ora
Listener Log File /opt/oracle/base/diag/tnslsnr/pollux/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.92)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.94)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "R112" has 1 instance(s).
Instance "R1121", status READY, has 1 handler(s) for this service...
Service "R112XDB" has 1 instance(s).
Instance "R1121", status READY, has 1 handler(s) for this service...
The command completed successfully
You need to make sure, that ASM registers dynamically with your listener. In my case i have set local_listener in ASM instance as follows:
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xx.xxx.xxx.94)(PORT=1521))))
This is no GG specific question. You need this for other tools like Gridcontrol as well.
Hope this helps,
Robert -
Update statements encounterd Errors OGG-01168 & SQL error 1403 mapping
Hi Expetrs,
Update statements throwing below error:
2012-11-07 10:40:11 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rep1.prm: No unique key is defined for table AAAA. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2012-11-07 10:40:12 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rep1.prm: No unique key is defined for table AAAA. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2012-11-07 10:40:15 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rep1.prm: No unique key is defined for table BBBB. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2012-11-07 10:40:15 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rep1.prm: No unique key is defined for table BBBB. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2012-11-07 10:40:16 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, rep1.prm: Aborted grouped transaction on 'abc.BBBB', Database error 100 (retrieving bind info for query).
2012-11-07 10:40:16 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rep1.prm: Repositioning to rba 17466 in seqno 1384.
2012-11-07 10:40:16 WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, rep1.prm: SQL error 1403 mapping abc.BBBB to abc.BBBB.
2012-11-07 10:40:16 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rep1.prm: Repositioning to rba 20104 in seqno 1384.
2012-11-07 10:40:16 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, rep1.prm: Error mapping from abc.BBBB to abc.BBBB.
2012-11-07 10:40:16 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rep1.prm: PROCESS ABENDING.If I use KEYCOLS:
--extract file:
TABLE abc.INDIA , KEYCOLS (ID);--replicat parameter file
MAP abc.INDIA, TARGET abc.INDIA , KEYCOLS (ID);Encountered below error
2012-11-09 00:37:54 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rep1.prm: No unique key is defined for table INDIA. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2012-11-09 00:48:34 ERROR OGG-01168 Oracle GoldenGate Delivery for Oracle, rep1.prm: Encountered an update for target table abc.INDIA, 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.
2012-11-09 00:48:34 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rep1.prm: PROCESS ABENDING.any clues plz ??
Regards,
Edited by: user13403707 on 19 Nov, 2012 10:55 PMIf you know of any columns that can be used to identify the records you want to replicat changes to at the target table, use them as KEYCOLS.
Then add supplemental logging using those columns as
ADD TRANDATA owner.table_name, COLS (col1, col2).
If you can't think of any such columns, just do
ADD TRANDATA owner.table_name;
It will add supplemental logging with the below warning
2012-11-19 09:59:13 WARNING OGG-00869 No unique key is defined for table table_name. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
Logging of supplemental redo data enabled for table owner.table_name. -
error message on restart: 'finder unexpectedly quit'...and then can do nothing! help please
thank you hatter....repaired drive but problem persists....can you please explain what i am to do with the library or point me in the direction to read what to do?
Maybe you are looking for
-
Why can't I access the PDF files stored in my iBooks without connecting it to internet ?
Hi, I have nearly 2000 PDF file documents which I have synchronized to iBooks from my DELL laptop. All the PDF files are individually named as to make it easy for myself to search. I took it outside in my show where i tried to access it, what I am se
-
How to link report painter to tcode FS10N
hi guys, we have report painter with table GLT0 , which displays the total amount per GL account, is it possible when user double click on the amount , it will go to tcode FS10N to display the details ?
-
Hello, I need some help here to use a custom field in MM17 (mass changes). We've created field ZZPRLIVR in table MARC. This field is available in MM17 as a selection field but it's not available to be changed. In SM30 we can change table MASSFLDLST a
-
I want to read about 100 data values from an OPC server. I use LabView 6i (6.0.2) and do not have "Datalogging and Supervisory Control". How can I read all the 100 values with one call (synchronously)?
-
Reinstalling Photoshop Elements 11
My computer went on the fritz and I uninstalled Photoshop Elements 11 to start over clean. Now I am trying to REINSTALL and it is asking for S/N -- which originally I had to go through quite a process to get the first time. I do not know what the