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, Imran

Hi,
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.

Similar Messages

  • 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, Imran

    Got 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-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 occuring

    I have just deleted all extract & replicat and reconfigured , now things are working fine.

  • Error: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.

    Hello,
    I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
    but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
    Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting  <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
    When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
    The application uses ComponentOne and Telerik modules, but they are both installed on both machines. 
    The application does run perfectly on the original machine, but it is not working on any other one.
    Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
    I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
    Thanks!

    I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
    as you.
    If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
    This may not be your problem but could point you in a direction?

  • ERROR: objectManager.QueryObjects() failing when querying users

    I have a list of user ObjectIDs saved in a community preference and am trying to write a function to itterate through them and display a link to each user's profile page where the hyperlink text is the user's description property.
    The profile page links works just fine thanks to the cool pt:OpenerLink transformer tag, but I'm having trouble doing a query for a user's Description property.
    I get an "Object Reference not set to an instance of an object." at: Plumtree.Remote.PRC.ObjectManagerWrapper.QueryObjects(Int32 folderID, Int32 startRow, Int32 maxRows, ObjectProperty sortProperty, Boolean ascending, ObjectProperty[] propsToReturn, QueryFilter[] filters) at sam7.portlet3.buildUserLinks3(String strValue) in C:\Plumtree\ZZZRemotePortlets\sam7\portlet3.aspx.vb:line 126
    The buildUserLinks3() routine that does the query and builds the link is included below. Line 126 is the queryResults=ObjectManager.QueryObjects(...) call.
    What have I missed?
    Public Function buildUserLinks3(ByVal strValue As String)
    Dim arrValues As Array Dim intObjectID As Integer Dim strOutput As StringBuilder = New StringBuilder
    Dim RemoteSession As IRemoteSession Dim ObjectManager As IObjectManager Dim strUserDescription As String
    Dim folderID As Integer folderID = -1 'search all folders
    Dim startRow As Integer startRow = 0 'start at the first found
    Dim maxRows As Integer maxRows = 1 'return a single result
    Dim sortProperty As ObjectProperty sortProperty = UserProperty.UniqueName 'sort on the unique name
    Dim ascending As Boolean ascending = True 'sort ascending
    Dim propsToReturn(2) As ObjectProperty 'choose to return specific properties
    propsToReturn(0) = UserProperty.ObjectID propsToReturn(1) = UserProperty.SimpleName
    Dim filters(1) As QueryFilter 'filter the results
    RemoteSession = RemoteSessionFactory.GetTokenContext(portletRequest.GetRemoteAPIEndpoint(), portletRequest.GetLoginToken()) ObjectManager = RemoteSession.GetObjectManager(ObjectClass.User)
    ' parse the comma-separated list of User object IDs and look up the user's Properties. If strValue.Length > 1 And (strValue <> "null") Then arrValues = strValue.Split(",") For Each intObjectID In arrValues
    ' get the user's properties Try
    ' Set a query filter to sort for a unique objectID filters(0) = New StringQueryFilter(UserProperty.ObjectID, _ Operator.Equals, _ intObjectID.ToString) 'where the objectID equals the itterated value
    Dim queryResults As IObjectQuery queryResults = ObjectManager.QueryObjects( _ folderID, _ startRow, _ maxRows, _ sortProperty, _ ascending, _ propsToReturn, _ filters)
    ' There will be only one returned row based on the query filter above, but itterate anyway... ' it is good form in case something changes later. ' We'll keep overwriting the strUserDescription value until the last returned row. Dim i As Integer Dim queryObject As IObjectQueryRow For i = 0 To queryResults.GetRowCount() queryObject = queryResults.GetRow(i) strUserDescription = queryObject.GetStringValue(UserProperty.Description) Next i
    Catch e As Exception 'Response.Write("<BR>" & e.Message & " <BR>") 'Response.Write(e.StackTrace & " <BR>") 'Response.End()
    strUserDescription = "UserID " & intObjectID.ToString & vbCrLf & _ "<BR>    - NAME LOOOKUP ERROR" & vbCrLf & _ "<BR>    - " & vbCrLf & e.Message & _ "<BR>    - " & vbCrLf & e.StackTrace & _ "<BR>" & vbCrLf End Try
    ' handy little transformer tags... yes, precious, my precious... strOutput.Append("<pt:openerLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' ") strOutput.Append("pt:objectID='") strOutput.Append(intObjectID.ToString) strOutput.Append("' ") strOutput.Append("pt:classID='1' ") strOutput.Append("pt:mode='3' ") strOutput.Append("target='myWindow' ") strOutput.Append("onclick=window.top.open('','myWindow','height=500,width=700,status=no,toolbar=no,menubar=no,location=no');") strOutput.Append(">") strOutput.Append(strUserDescription) strOutput.Append("</pt:openerLink>" & vbCrLf & "<BR>" & vbCrLf) Next Else strOutput.Append("") End If Return (strOutput.ToString) End Function

    I have a list of user ObjectIDs saved in a community preference and am trying to write a function to itterate through them and display a link to each user's profile page where the hyperlink text is the user's description property.
    The profile page links works just fine thanks to the cool pt:OpenerLink transformer tag, but I'm having trouble doing a query for a user's Description property.
    I get an "Object Reference not set to an instance of an object." at: Plumtree.Remote.PRC.ObjectManagerWrapper.QueryObjects(Int32 folderID, Int32 startRow, Int32 maxRows, ObjectProperty sortProperty, Boolean ascending, ObjectProperty[] propsToReturn, QueryFilter[] filters) at sam7.portlet3.buildUserLinks3(String strValue) in C:\Plumtree\ZZZRemotePortlets\sam7\portlet3.aspx.vb:line 126
    The buildUserLinks3() routine that does the query and builds the link is included below. Line 126 is the queryResults=ObjectManager.QueryObjects(...) call.
    What have I missed?
    Public Function buildUserLinks3(ByVal strValue As String)
    Dim arrValues As Array Dim intObjectID As Integer Dim strOutput As StringBuilder = New StringBuilder
    Dim RemoteSession As IRemoteSession Dim ObjectManager As IObjectManager Dim strUserDescription As String
    Dim folderID As Integer folderID = -1 'search all folders
    Dim startRow As Integer startRow = 0 'start at the first found
    Dim maxRows As Integer maxRows = 1 'return a single result
    Dim sortProperty As ObjectProperty sortProperty = UserProperty.UniqueName 'sort on the unique name
    Dim ascending As Boolean ascending = True 'sort ascending
    Dim propsToReturn(2) As ObjectProperty 'choose to return specific properties
    propsToReturn(0) = UserProperty.ObjectID propsToReturn(1) = UserProperty.SimpleName
    Dim filters(1) As QueryFilter 'filter the results
    RemoteSession = RemoteSessionFactory.GetTokenContext(portletRequest.GetRemoteAPIEndpoint(), portletRequest.GetLoginToken()) ObjectManager = RemoteSession.GetObjectManager(ObjectClass.User)
    ' parse the comma-separated list of User object IDs and look up the user's Properties. If strValue.Length > 1 And (strValue <> "null") Then arrValues = strValue.Split(",") For Each intObjectID In arrValues
    ' get the user's properties Try
    ' Set a query filter to sort for a unique objectID filters(0) = New StringQueryFilter(UserProperty.ObjectID, _ Operator.Equals, _ intObjectID.ToString) 'where the objectID equals the itterated value
    Dim queryResults As IObjectQuery queryResults = ObjectManager.QueryObjects( _ folderID, _ startRow, _ maxRows, _ sortProperty, _ ascending, _ propsToReturn, _ filters)
    ' There will be only one returned row based on the query filter above, but itterate anyway... ' it is good form in case something changes later. ' We'll keep overwriting the strUserDescription value until the last returned row. Dim i As Integer Dim queryObject As IObjectQueryRow For i = 0 To queryResults.GetRowCount() queryObject = queryResults.GetRow(i) strUserDescription = queryObject.GetStringValue(UserProperty.Description) Next i
    Catch e As Exception 'Response.Write("<BR>" & e.Message & " <BR>") 'Response.Write(e.StackTrace & " <BR>") 'Response.End()
    strUserDescription = "UserID " & intObjectID.ToString & vbCrLf & _ "<BR>    - NAME LOOOKUP ERROR" & vbCrLf & _ "<BR>    - " & vbCrLf & e.Message & _ "<BR>    - " & vbCrLf & e.StackTrace & _ "<BR>" & vbCrLf End Try
    ' handy little transformer tags... yes, precious, my precious... strOutput.Append("<pt:openerLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' ") strOutput.Append("pt:objectID='") strOutput.Append(intObjectID.ToString) strOutput.Append("' ") strOutput.Append("pt:classID='1' ") strOutput.Append("pt:mode='3' ") strOutput.Append("target='myWindow' ") strOutput.Append("onclick=window.top.open('','myWindow','height=500,width=700,status=no,toolbar=no,menubar=no,location=no');") strOutput.Append(">") strOutput.Append(strUserDescription) strOutput.Append("</pt:openerLink>" & vbCrLf & "<BR>" & vbCrLf) Next Else strOutput.Append("") End If Return (strOutput.ToString) End Function

  • How to reconfigure and restart GoldenGate Replication from MySQL to Oracle after a DDL operation on the source

    I succesfully configured and performed the goldengate replication from MySQL 5.1 to Oracle XE 11g using GG 11g as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_UX_MSQ_to_UX_ORA.pdf
    After replication was successully started working I added a new column to one of the test tables TCUSTMER
    ALTER TABLE TCUSTMER ADD COLUMN ADDRESS VARCHAR(64) DEFAULT NULL;
    And inserted another row in the same table.
    INSERT INTO TCUSTMER VALUES ('CLARK', 'CLARK BOATS', 'REDWOOD',  'CA', 'Test Addresss1');
    As soon as I did that the replication broke.
    2015-04-16 17:42:44  ERROR   OGG-00146  VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Table Metadata Altered cause
    WHEN FAILED : While processing table map event in log processor
    Then I reverted the DDL change back to original
    ALTER TABLE TCUSTMER DROP COLUMN ADDRESS;
    and tried to run the replication again
    But it is not starting as before.
    What should I do to move forward with same setup.

    Hi ,
    Whenever you do a DDL change in the Source table, you have to make the same changes in the Target side also. Then recreate the Definition File, copy it to the Target side and Start the GoldenGate processes.
    1. Add the column in the Target side.
    2. Recreate the Definition File and copy it to the Target side.
    3. Recreate the Replicat process in the Target side and try to start it.
    Hope this works..!!!!!!!! Any other suggestions friends????????
    Regards,
    Veera

  • ERROR   0GG-00146 FOR SQLSERVER 2000

    Hi
    I used oggs 11g for sqlserver 2000 on WinXp sp3,
    when I started the extract named exbs
    it can be a running stutas ;
    my parameter file setting are :
    extract exbs
    seTenv (ODBCINI=C:\WINDOWS\ODBC.INI)
    SOURCEDB MSTZSW , USERID SA , PASSWORD oracle
    RMTHOST 127.0.0.1 , MGRPORT 7810
    RMTTRAIL ./DIRDAT/bs
    table dbo.* ;
    after a lot of minute passed , it will be abending ;
    the report are the folloowing :
    ====================================
    Database Version :
    Microsoft SQL Server
    verison 08.00.0194
    odbc version 03.52.0000
    database language and character set :
    Warning : unable to detemine the application and database codepage settings.
    Please refer to user manual for more information .
    2010-12-29 14:24:23 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985 ) .
    ............... OGG-01055 Recovery initilazation completed for target file ./dirdat/bs000003 , at RBA 812.
    ................................. OGG-01478 Output file ./dirdat/bs is using format RELEASE 10.4/11.1.
    ................................... OGG-01026 Rolling over remote file ./dirdat/bs000004.
    ................................... OGG-01053 Recovery i completed for target file ./dirdat/bs000003 , at RBA 812.
    ................................... OGG-01057 Recovery completed for all targets.
    ................................... OGG-00182 VAM API running in single-threaded mode.
    ................................... OGG-01515 Positioning to begin time..........
    Source Context :
    SourceModule : [ggvam.gen]
    SourceID : [../gglib/ggvam/cvamgen.cpp]
    SourceFuntion : [com_goldengate_vam: : CVamGen::vamInitialize ]
    SourceLine : [418]
    time ERROR OGG-00146 VAM funtion VAMInitialize returnde unexpected resutl : error 600 -VAM Client Report <MSSqlVam :<1> [CLogReader ::Open] [DBNETLIB][ConnectionOpen  (Connect()).]SQL Server does not exists or denied . Error (-2147467259) : [DBNETLIB] [ConnectionOpen  (Connect()).]SQL Server does not exists or denied . >.
    tmie ERROR OGG-01668 PROCESS ABENDING.
    Hao can I do to solution this ERROR ,
    or What is the reason .
    Can some body help me.
    I can ensure the odbc can Connectivity by use sourcedb mstzsw , userid sa , password oracle

    the reason that my friend told me is :
    can not telnet port 1433;
    for my question , the windows firewall or wall of fire is closed ,
    and my sqlserver 2000's version is 8.00.194 ,
    till I update the sqlserver's version to 8.00.2039 (sp4)
    this question is solutioned ;
    forgive the low-level of my English Language skill ;

  • Golden Gate Between MySQL to Oracle Not stable

    Dear All,
    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)
    Most of the time replication is smooth but occasionally the extract process gets ABENDED and when I try to restart it won't.
    The errors I have found in log file and report file are like this:
    From Report:
    2013-03-20 15:39:42 ERROR OGG-00542 Unexpected threading library failure. Error code 35 (Resource deadlock avoided).
    From Error Log File:
    VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to Query Metadata from Table : kannel.sent_sms WHEN FAILED : While Sending Insert and Delete Record WHERE FAILED : MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>.
    2013-03-17 15:46:53 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    2013-03-20 10:45:51 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, kannel3.prm: VAM function VAMControl returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Sanity Check Failed for events WHEN FAILED : While reading log event from binary log WHERE FAILED : MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>.
    2013-03-20 10:45:51 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    2013-03-20 15:39:42 ERROR OGG-01414 Oracle GoldenGate Capture for MySQL, kannel3.prm: CACHEMGR: tran id: 0 length memtran: 0xb44b6dd8.
    2013-03-20 15:39:42 ERROR OGG-00542 Oracle GoldenGate Capture for MySQL, kannel3.prm: Unexpected threading library failure. Error code 35 (Resource deadlock avoided).
    2013-03-20 15:39:42 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    This is my extract param:
    EXTRACT KANNEL3
    DBOPTIONS HOST 10.168.20.241, CONNECTIONPORT 14421
    SOURCEDB [email protected]:14421, USERID "kannel", PASSWORD "kannel"
    RMTHOST 10.168.20.31, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/k3
    TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/multi_msb_5_5_19/node2/data/mysql-bin.index
    TABLE kannel.sent_sms;
    And this is my Replicat:
    REPLICAT KREP3
    USERID ggs_owner, PASSWORD warsaw
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/kannel2.def
    DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/krep3.dsc, PURGE
    MAP "kannel.sent_sms", TARGET kannel2.sent_sms, COLMAP (usedefaults,COMPRESS_=compress,SERVICE=@STRCAT(service,"_sms"));
    However, my replicat keeps on running fine with no errors.
    I will be looking forward for your kind help in this regard.
    Regards, Imran

    I have now used the pump to configure this replication.
    I am still monitoring the situation.
    So far i have faced, one problem when i stop the extract myself, and when i try to restart it. It gets abend with no error in report or log file.
    This is in my log file:
    Host Connection: 10.168.20.241 via TCP/IP
    Protocol Version: 10
    2013-03-27 12:01:58 INFO OGG-01055 Recovery initialization completed for target file /root/sandboxes/GG/dirdat/l1000002, at RBA 546054.
    2013-03-27 12:01:58 INFO OGG-01478 Output file /root/sandboxes/GG/dirdat/l1 is using format RELEASE 10.4/11.1.
    2013-03-27 12:01:58 INFO OGG-01026 Rolling over remote file /root/sandboxes/GG/dirdat/l1000002.
    2013-03-27 12:01:58 INFO OGG-01053 Recovery completed for target file /root/sandboxes/GG/dirdat/l1000003, at RBA 1005.
    2013-03-27 12:01:58 INFO OGG-01057 Recovery completed for all targets.
    2013-03-27 12:01:58 INFO OGG-00182 VAM API running in single-threaded mode.
    2013-03-27 12:01:58 INFO OGG-01513 Positioning to Log Number: 1915444
    Record Offset: 2207.
    2013-03-27 12:01:58 INFO OGG-00975 Oracle GoldenGate Manager for MySQL, mgr.prm: EXTRACT SMPP2 starting.
    2013-03-27 12:01:58 INFO OGG-00992 Oracle GoldenGate Capture for MySQL, smpp2.prm: EXTRACT SMPP2 starting.
    2013-03-27 12:01:58 INFO OGG-00993 Oracle GoldenGate Capture for MySQL, smpp2.prm: EXTRACT SMPP2 started.
    2013-03-27 12:01:58 INFO OGG-01055 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery initialization completed for target file /root/sandboxes/GG/dirdat/l1000002, at RBA 546054.
    2013-03-27 12:01:58 INFO OGG-01478 Oracle GoldenGate Capture for MySQL, smpp2.prm: Output file /root/sandboxes/GG/dirdat/l1 is using format RELEASE 10.4/11.1.
    2013-03-27 12:01:58 INFO OGG-01026 Oracle GoldenGate Capture for MySQL, smpp2.prm: Rolling over remote file /root/sandboxes/GG/dirdat/l1000002.
    2013-03-27 12:01:58 INFO OGG-01053 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery completed for target file /root/sandboxes/GG/dirdat/l1000003, at RBA 1005.
    2013-03-27 12:01:58 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery completed for all targets.
    2013-03-27 12:01:58 INFO OGG-00182 Oracle GoldenGate Capture for MySQL, smpp2.prm: VAM API running in single-threaded mode.
    2013-03-27 12:01:58 INFO OGG-01513 Oracle GoldenGate Capture for MySQL, smpp2.prm: Positioning to Log Number: 1915444 Record Offset: 2207.
    kindly help how to start this extract.
    Regards, Imran

  • Out of memory error in migrating from mysql to oracle

    Hi,
    I'm trying migrate from mysql to oracle9i. The hardware and software requirements are matching or even much higher than mentioned in the documentation. I have installed OMWB is properly(hope so). When I try to migrate the desired database from mysql to oracle, the repository, the Oracle model are created successfully. But while migrating data, say for around 35000 rows insertion everything works pretty fine. But after sometime, the migration stops and no error or anything appears in the screen.And in the Errorlog I get "OutOfMemoryError".
    I tried to migrate single table also. But I still get this problem after sometime. The tables may contain from 10 - 130000 rows...
    I even tried to change the %JRE..% memory value to 64M or 128M in the omwb.bat file and the O/s is Microsoft Windows XP, RAM 256MB.
    Any help is much appreciated.
    Thanks in advance.

    Hi Viji,
    did the message in the error.log provide any extra information? For example, was the OutOfMemory error prefixed with a string
    like "cannot create new native thread" ? My suggestion to workaround the problem would have been to increase the JVM heap size to 128
    but this appears to have been unsuccessful for you. Can you send a mail to the Migration Workbench support services
    ([email protected]) explaining the problem, and attach the full error.log file please ? (please also copy me on the mail).
    In the meantime, you can workaround this by migrating the schema only (there is a switch on step 3 of the migration wizard asking:
    "Do you want to migrate the table data to Oracle?" - just select the "No" option). When the schema has migrated, you can then use the
    offline data loading facility to migrate the data. This uses data extraction scripts and SDQL*Loader to migrate the data to the target
    Oracle database.You can learn more about the offline data loading facility from the plugins referenceguide (from the Help menu in
    the Migration Workbench).
    I hope this helps,
    Tom.

  • 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 PM

    Hi,
    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

  • ERROR OGG-01148 programming error, data type not supported for column

    I am getting following error when I put null in insert statement
    2011-03-31 18:30:45 ERROR OGG-01148 programming error, data type not supported for column TXID in table advoss.tblaudittrail.
    I am replicating MySQL 5.5.9 to Oracle 11g rel2 via goldengate 11

    I am able to diagnose what is cuasing the problem
    unsigned flag was the culprit of this error
    I am able to insert null after removing unsigned flag.
    thank you very much for your kind support

  • 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, Imran

    Thanks 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-01028  Incompatible record (logical EOF)

    Hi experts,
      i am getting below error in replicat side
    2015-03-13 05:19:08  ERROR   OGG-01028  Incompatible record (logical EOF) in /opt/app/database/ggs/11.2/dirdat/pp1enb6d6/pdrmain/cs034783, rba 153386999
    info replicat
    REPLICAT   replicate   Last Started 2015-03-13 05:18   Status ABENDED
    Checkpoint Lag       37:02:43 (updated 00:28:01 ago)
    Log Read Checkpoint  File /opt/app/p2enb3d6/ggs/11.2/dirdat/database/drmain/cs034767
                         2015-03-11 15:53:51.572589  RBA 179098561
    current trail file is 034767 and corrupted trail file is 034783. i think the transaction is runnin from 034767 onwards.. please confirm if we can skip the transaction as oracle note suggest and move to next good record after rba of 153386999 of trail 034783

    Hi,
    >>current trail file is 034767 and corrupted trail file is 034783. i think the transaction is running from 034767 onwards.
    Yes you can find out the end of transaction by using logdump.
    >> please confirm if we can skip the transaction as oracle note suggest and move to next good record after rba of 153386999 of trail 034783
    Do you know about that transaction? why do you want to skip it, do you know after skipping target table(s) will not be out of sync with primary.
    I would advise reading this note and see if you can recover that.
    Master Note for Oracle GoldenGate(OGG) Error OGG-01028 (Doc ID 1502276.1)
    HTH,
    Pradeep

  • 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

  • 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.

Maybe you are looking for