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

Similar Messages

  • 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

  • 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

  • Oracle 10g XE: ORA 12514: TNS ...

    Hello,
    I installed "Oracle 10g XE Database" in a Windows 2003 Server platform.
    Sometimes, when I restart the machine, database gives me the following error:
    ORA 12514:TNS:IL LISTENER NON è ATTUALMENTE A CONOSCENZA DEL SERVIZIO RICHIESTO NEL DESCRITTORE DI CONNESSIONE.
    DESCRIPTION: AN UNHANDLED EXCEPTION OCCURRED DURING THE EXECUTION OF THE CURRENT WEB REQUEST. PLEASE REVIEW THE STOCK TRACE FOR MORE INFO ABOUT THE ERROR AND WHERE IT
    ORIGINATED IN THE CODE.
    EXCEPTION DETAILS: ORACLE DATA ACCESS.CLINT.ORACLE EXCEPTION: ORA 12514:TNS: IL LISTENER NON è ATTUALMENTE A CONOSCENZA DEL SERVIZIO RICHIESTO NEL DESCRITTORE DI CONNESSIONE.
    I can solve it restarting "OracleServiceXE" and "OracleXETNSListener".
    My colleagues cannot resolve this problem and they had to install Oracle 9i.
    It is all ok with Microsoft XP Professional.
    Is there any patch available to solve this problem with Microsoft Windows Server 2003?
    Thank you very much.
    Massimiliano

    it seems not to be a bug but a configuration issue.
    12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a service name for a service (usually a database service)
    // that either has not yet dynamically registered with the listener or has
    // not been statically configured for the listener. This may be a temporary
    // condition such as after the listener has started, but before the database
    // instance has registered with the listener.
    // *Action:
    // - Wait a moment and try to connect a second time.
    // - Check which services are currently known by the listener by executing:
    // lsnrctl services <listener name>
    // - Check that the SERVICE_NAME parameter in the connect descriptor of the
    // net service name used specifies a service known by the listener.
    // - If an easy connect naming connect identifier was used, check that
    // the service name specified is a service known by the listener.
    // - Check for an event in the listener.log file.

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

  • 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   ORA-12514: TNS: unable to start extract process

    Hi Experts,
    I have installed Oracle Golden Gate in the below environment.But unable to start extract process
    Primary site (source): This is production DB and up and running.
    RAC 2 nodes
    Oracle RAC 11.2.0.1.0
    ASM
    Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
    Enterprise Linux Server release 5.5 (Carthage)
    Processor Type x64
    OS 64 bit
    target Site (destination):
    Standalone single server - Non RAC
    Oracle version 11.2.0.1.0
    ASM
    Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
    Enterprise Linux Server release 5.5 (Carthage)
    Processor Type x64
    OS 64 bit
    Getting below error in logs while starting extract process:
    RECOVERY: reset to initial or altered checkpoint.
    2012-08-05 10:34:10  ERROR   OGG-00868  Oracle GoldenGate Capture for Oracle, aaa.prm:  Attaching to
    ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor.
    2012-08-05 10:34:10  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, aaa.prm:  PROCESS
    ABENDING.[oracle@ ggate]$
    Getting below error while connecting with asm instance directly:
    [oracle@ admin]$ sqlplus sys@asm as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    [oracle@ ~]$ tnsping asm TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-AUG-2012 11:55
    :42
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-
    scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (I
    NSTANCE_NAME = +ASM1)))
    OK (0 msec) Any help Please ?
    Regards
    LazyDBA
    Edited by: LazyDBA11g on Aug 5, 2012 12:14 AM
    Edited by: LazyDBA11g on Aug 5, 2012 11:25 PM
    Edited by: LazyDBA11g on Aug 12, 2012 4:36 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello JK,
    Thanks a lot for specific response.
    SQL> select INST_ID, NAME, VALUE from gv$parameter where name like '%_listener%';
    INST_ID NAME VALUE
    1 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=xxx_
    data1-vip)(PORT=1521))))
    1 remote_listener xxxdata-scan:1521
    2 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=xxx_
    data2-vip)(PORT=1521))))
    2 remote_listener xxxdata-scan:1521
    If I  add REMOTE_LISTENER pointing to SCAN ip address, Does it require DB bounce ? (Its production DB)
    Regards,
    LazyDBA
    Edited by: LazyDBA11g on Aug 10, 2012 12:01 PM
    Edited by: LazyDBA11g on Aug 12, 2012 4:48 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • OGG-01028  Oracle GoldenGate Delivery for Oracle, rep_2.prm:  Incompatible record (101)

    1. After imported data,i want start rep_2 at a CSN point but it dosn't work
    2013-09-13 20:22:15  ERROR   OGG-01028  Oracle GoldenGate Delivery for Oracle, rep_2.prm:  Incompatible record (101) in ./dirdat/r2000000, rba 86102323 (getting header).
    2013-09-13 20:22:15  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, rep_2.prm:  PROCESS ABENDING.
    2.
    So i try many times ,i want the rep_2 to find a avalibale file to start(ignore some file )
    ALTER REPLICAT rep_2, EXTSEQNO X
    Still comes OGG-01028
    3.
    Logdump 3 >open ./dirdat/r2000000
    Current LogTrail is /home/oracle/ogg/dirdat/r2000000
    Logdump 4 >ghdr on
    Logdump 5 >count
    I didn't find any bad rows
    So somebody help!!!

    [oracle@p49drzdb dirprm]$ cat rep_2.prm
    REPLICAT rep_2
    SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
    USERID ogg, PASSWORD ogg
    ASSUMETARGETDEFS
    DBOPTIONS SUPPRESSTRIGGERS
    ddl include all
    DDLERROR DEFAULT DISCARD IGNOREMISSINGOBJECTS
    REPERROR (DEFAULT, DISCARD)
    DISCARDFILE  ./dirrpt/rep_r2.DSC, PURGE
    MAP ...

  • OGG-00868 SQL Server 2008 has problem with ODBC in  the EXTRACT process

    Hello Everyone
    I want to replicate tables between MS SQLServer 2008 and Oracle 10g
    I have Windows XP / MS SQLServer 2008 and Oracle Database 10g R 10.2.0.1.0 running  on Red Hat Linux
    I followed the steps from the white paper (http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html)
    and Installed Oracle Golden Gate Version 11.2.1.0.1 (for Linux) and the  Version 11.2.1.0.1 32bits (for Windows XP)
    I followed all steps of the white paper without problem and I could do the initial load in
    the Oracle Database from SQL Server sucessfully.
    But when I tried to set and start the Extract process from SQL SERVER
    a error was generated in the file c:\gg\dirrpt\MSEXT.rpt and the process is ABENDING
    GGSCI >  info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     STOPPED     MSEXT       00:00:00      03:22:29
    2013-08-25 11:59:41  ERROR   OGG-00868  Executing statement for select operation Database error 213 ([Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messag).
    2013-08-25 11:59:41  ERROR   OGG-01668  PROCESS ABENDING.
    If somebody has a clue or faced something similar please let me how could solve it.
    Thanks
    Juan

    Hello mb_ogg,
    Yes, I had created a Data Source  HR Driver= SQL Server (second Tab System DSN) and I also had tried with
    the driver SQL Server Native Client 10.0 but I faced the same error.
    The database by default is EMP
    Below is my configuration
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Data Source Name: HR
    Data Source Description:
    Server: JUAN-XP
    Database: EMP
    Language: (Default)
    Translate Character Data: Yes
    Log Long Running Queries: No
    Log Driver Statistics: No
    Use Integrated Security: Yes
    Use Regional Settings: No
    Prepared Statements Option: Drop temporary procedures on disconnect
    Use Failover Server: No
    Use ANSI Quoted Identifiers: Yes
    Use ANSI Null, Paddings and Warnings: Yes
    Data Encryption: No
    I also clicked on the button "Test Data Source" with the below messages:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    Connection established
    Verifying option settings
    Disconnecting from server
    TESTS COMPLETED SUCCESSFULLY!
    Then I went to Database Properties (Right Click) /Oprtion  and Recovery model field has Full value
    I also made a Backup (Backup Type = Full)
    The Backups was made to Disk:  C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\EMP.bak
    Today I repeated the same steps and I got the same error (I Copied at the end):
    I also have the follow question:
    Is necessary define the location of the backup of MS SQL Server to say to GG where it can get it?
    GSCI (juan-xp) 1> DBLOGIN SOURCEDB HR
    2013-08-27 21:16:32  INFO    OGG-03036  Database character set identified as win
    dows-1252. Locale: en_US.
    2013-08-27 21:16:32  INFO    OGG-03037  Session character set identified as wind
    ows-1252.
    Successfully logged into database.
    GGSCI (juan-xp) 3> ADD TRANDATA HRSCHEMA.EMP
    Logging of supplemental log data is enabled for table hrschema.emp
    GGSCI (juan-xp) 4> EDIT PARAMS DEFGEN
    GGSCI (juan-xp) 5> exit
    C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
          Oracle GoldenGate Table Definition Generator for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:18:23
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 3236
    **            Running with the following parameters                  **
    defsfile c:\gg\dirdef\emp.def
    Source Context :
      SourceModule            : [defgen.main]
      SourceID                : [defgen/defgen.c]
      SourceFunction          : [create_defgen_file]
      SourceLine              : [808]
    2013-08-27 21:18:23  ERROR   OGG-00037  DEFSFILE file c:\gg\dirdef\emp.def alrea
    dy exists.
    2013-08-27 21:18:23  ERROR   OGG-01668  PROCESS ABENDING.
    C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
          Oracle GoldenGate Table Definition Generator for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:19:03
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 3312
    **            Running with the following parameters                  **
    defsfile c:\gg\dirdef\emp.def
    sourcedb hr
    2013-08-27 21:19:05  INFO    OGG-03036  Database character set identified as win
    dows-1252. Locale: en_US.
    2013-08-27 21:19:05  INFO    OGG-03037  Session character set identified as wind
    ows-1252.
    table hrschema.emp;
    Retrieving definition for hrschema.emp
    Definitions generated for 1 table in c:\gg\dirdef\emp.def
    C:\gg>ggsci
    Oracle GoldenGate Command Interpreter for SQL Server
    Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
    Windows (optimized), Microsoft SQL Server on Jul 25 2012 02:57:42
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
    GGSCI (juan-xp) 1> start manager
    MGR is already running.
    GGSCI (juan-xp) 2> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    GGSCI (juan-xp) 3> ADD EXTRACT MSEXT, TRANLOG, BEGIN NOW
    EXTRACT added.
    GGSCI (juan-xp) 4> ADD RMTTRAIL /u01/app/oracle/gg/dirdat/ms, EXTRACT MSEXT
    RMTTRAIL added.
    GGSCI (juan-xp) 5> EDIT MSEXT
    ERROR: Invalid command.
    GGSCI (juan-xp) 6> edit params msext
    GGSCI (juan-xp) 7> START EXTRACT MSEXT
    Sending START request to MANAGER ('GGSMGR') ...
    EXTRACT MSEXT starting
    GGSCI (juan-xp) 8> show all
    Parameter settings:
    SET SUBDIRS    ON
    SET DEBUG      OFF
    Current directory: C:\gg
    Using subdirectories for all process files
    Editor:  notepad
    Reports (.rpt)                 C:\gg\dirrpt
    Parameters (.prm)              C:\gg\dirprm
    Replicat Checkpoints (.cpr)    C:\gg\dirchk
    Extract Checkpoints (.cpe)     C:\gg\dirchk
    Process Status (.pcs)          C:\gg\dirpcs
    SQL Scripts (.sql)             C:\gg\dirsql
    Database Definitions (.def)    C:\gg\dirdef
    GGSCI (juan-xp) 9> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     STOPPED     MSEXT       00:00:00      00:02:34
    GGSCI (juan-xp) 10> EDIT MSEXT
    Report MSEXT.rpt with same error
                   Oracle GoldenGate Capture for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:49:54
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:30:26
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 2452
    Description:
    **            Running with the following parameters                  **
    2013-08-27 21:30:26  INFO    OGG-03035  Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
    EXTRACT MSEXT
    SOURCEDB HR
    2013-08-27 21:30:28  INFO    OGG-03036  Database character set identified as windows-1252. Locale: en_US.
    2013-08-27 21:30:28  INFO    OGG-03037  Session character set identified as windows-1252.
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    RMTHOST OCM, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/gg/dirdat/ms
    TABLE HRSCHEMA.EMP;
    2013-08-27 21:30:28  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: MapViewOfFile  anon free: UnmapViewOfFile
        file alloc: MapViewOfFile  file free: UnmapViewOfFile
        target directories:
        C:\gg\dirtmp.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                                1G
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):        1.57G
    CACHESIZEMAX (strict force to disk):   1.41G
    Database Version:
    Microsoft SQL Server
    Version 10.00.1442
    ODBC Version 03.52.0000
    Driver Information:
    SQLSRV32.DLL
    Version 03.85.1117
    ODBC Version 03.52
    Source Context :
      SourceModule            : [ggvam.param]
      SourceID                : [../gglib/ggvam/cvamparams.cpp]
      SourceFunction          : [com_goldengate_vam::validateIfSqlServer]
      SourceLine              : [1955]
    2013-08-27 21:30:28  ERROR   OGG-00868  Executing statement for select operation Database error 213 ([Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system admi).
    2013-08-27 21:30:28  ERROR   OGG-01668  PROCESS ABENDING.
    Thanks
    Juan

  • ERROR   OGG-01496  restarting extract

    Each time i restart the extract process after a normal stop i got this type of error:
    ERROR OGG-01496 Oracle GoldenGate Capture for Oracle, EXT1.prm: Failed to open target trail file P:\OracleGoldenGate\dirdat\lt000661, at RBA 5466894.
    Why and what can i do? No i delete the ext1 group and then i create the same group again...
    The extract group parameter file named ext1 is:
    extract ext1
    userid ggschema, password ggschema
    rmthost 192.168.2.225, mgrport 7809
    exttrail P:\OracleGoldenGate\dirdat\lt
    rmttrail P:\OracleGoldenGate\dirdat\lt
    ddl include mapped objname TESEO2.* ;
    TABLEEXCLUDE TESEO2.AGGANCI_ALL_MV ;
    TABLEEXCLUDE TESEO2.ESTREMI_RN_RISOLTI_MV ;
    TABLEEXCLUDE TESEO2.ESTREMI_UDOC_MV ;
    TABLEEXCLUDE TESEO2.MASS_CLASS_MV ;
    TABLEEXCLUDE TESEO2.NOTEDOTT_CLASS_MV ;
    TABLEEXCLUDE TESEO2.NOTE_MV ;
    TABLEEXCLUDE TESEO2.CORRELAZIONI ;
    TABLE TESEO2.* ;
    The manager param is:
    GGSCI (dbgen) 43> show param mgr
    Parameter settings:
    SET SUBDIRS ON
    SET DEBUG OFF
    Current directory: P:\OracleGoldenGate
    Using subdirectories for all process files
    Editor: notepad
    Reports (.rpt) P:\OracleGoldenGate\dirrpt
    Parameters (.prm) P:\OracleGoldenGate\dirprm
    Replicat Checkpoints (.cpr) P:\OracleGoldenGate\dirchk
    Extract Checkpoints (.cpe) P:\OracleGoldenGate\dirchk
    Process Status (.pcs) P:\OracleGoldenGate\dirpcs
    SQL Scripts (.sql) P:\OracleGoldenGate\dirsql
    Database Definitions (.def) P:\OracleGoldenGate\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.

  • 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

  • Using GoldenGate SQLEXEC For Lookup Queries

    My target table T is the rsult of joining two source tables - S1 and S2. For each new row in S1 I need to look up S2 attributes and apply combined result to T.
    I am not able to find any extamples of this functionality inplemented on the source. All examples I have seen are implemented in the MAP statement on the target.
    I was able to use SQLEXEC on the target to call lookup proc on the source via dblink. That seems backwards.
    Is there a better way to do this?

    Looks like the solution is to resolve mapping on the source.
    After I configured mapping on the source the data is no longer replicating.
    The extract is running without complaints and correctly reports DMLs and successful EXECSQL calls.
    The replicat is also running without complaints, it just sits there as if it has nothing to do.
    What am I doing wrong?
    Attaching reports.
    GGSCI (pkdb5) 1> view report ext1
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 10 on Jul 28 2010 15:49:30
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:39:47
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb5
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 1412
    Description:
    ** Running with the following parameters **
    EXTRACT ext1
    TARGETDEFS /u02/GG/source/dirsql/testdef.sql
    USERID ggs_owner, PASSWORD *********
    RMTHOST pkdb6, MGRPORT 7809
    RMTTRAIL /u01/GG/source/dirdat/rt
    TRANLOGOPTIONS ASMUSER goldgatesys@PK5_ASM, ASMPASSWORD ***********
    TABLE atrifonov.test1, SQLEXEC (SPNAME get_lkp, PARAMS (p_col1 = col1)), COLMAP (col1 = col1, col2 = col2, col3 = get_lkp.p_col2), TARG
    ET dwh.test1;
    2011-03-30 14:39:47 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
    Bounded Recovery Parameter:
    Options = BRRESET
    BRINTERVAL = 4HOURS
    BRDIR = /u02/GG/source
    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 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.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 = "UTF8"
    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
    Maximum supported ASM read buffer size is 28 KB
    2011-03-30 14:39:48 INFO OGG-00546 Default thread stack size: 262144.
    2011-03-30 14:39:48 INFO OGG-00547 Increasing thread stack size from 262144 to 1048576.
    2011-03-30 14:39:48 INFO OGG-01515 Positioning to begin time Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:10 INFO OGG-01516 Positioned to (Thread 1) Sequence 11498, RBA 326680592, SCN 0.0, Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:10 INFO OGG-01515 Positioning to begin time Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:32 INFO OGG-01516 Positioned to (Thread 2) Sequence 10747, RBA 343953424, SCN 0.0, Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:32 INFO OGG-01517 Position of first record processed for Thread 2, Sequence 10747, RBA 343953424, SCN 4.269826912
    1, Mar 30, 2011 2:39:40 PM.
    2011-03-30 14:40:32 INFO OGG-01517 Position of first record processed for Thread 1, Sequence 11498, RBA 326680592, SCN 4.269826912
    2, Mar 30, 2011 2:39:41 PM.
    2011-03-30 14:40:37 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985).
    2011-03-30 14:40:37 INFO OGG-01055 Recovery initialization completed for target file /u01/GG/source/dirdat/rt000022, at RBA 1233.
    2011-03-30 14:40:37 INFO OGG-01478 Output file /u01/GG/source/dirdat/rt is using format RELEASE 10.4/11.1.
    2011-03-30 14:40:37 INFO OGG-01026 Rolling over remote file /u01/GG/source/dirdat/rt000023.
    2011-03-30 14:40:37 INFO OGG-01053 Recovery completed for target file /u01/GG/source/dirdat/rt000023, at RBA 872.
    2011-03-30 14:40:37 INFO OGG-01057 Recovery completed for all targets.
    ** Run Time Messages **
    TABLE resolved (entry ATRIFONOV.TEST1):
    TABLE ATRIFONOV.TEST1, SQLEXEC (SPNAME get_lkp, PARAMS (p_col1 = col1)), COLMAP (col1 = col1, col2 = col2, col3 = get_lkp.p_col2), TA
    RGET dwh.test1;
    Using the following key columns for source table ATRIFONOV.TEST1: COL1.
    2011-03-30 14:43:02 INFO OGG-01021 Command received from GGSCI: STOP.
    * ** Run Time Statistics ** *
    Report at 2011-03-30 14:43:04 (activity since 2011-03-30 14:41:53)
    Output to /u01/GG/source/dirdat/rt:
    From Table ATRIFONOV.TEST1 to DWH.TEST1:
    # inserts: 1
    # updates: 0
    # deletes: 0
    # discards: 0
    Stored procedure get_lkp:
    attempts: 1
    successful: 1
    REDO Queue Statistics
    -- Write Operations ------------------ -- Read Operations -------------------
    Queue Name Size Count Waited Signaled Count Waited Signaled
    +++consumer 1 Control 128 0 0 0 0 0 0
    coordinator Control 128 1 0 0 1 0 0
    coordinator Records 2048 1 0 0 1 122 1
    Redo Thread 1 Control 128 1 0 0 1 0 0
    Redo Thread 1 Records 2048 1 0 0 1 44 1
    Redo Thread 2 Control 128 1 0 0 1 0 0
    Redo Thread 2 Records 2048 0 0 0 0 149 0
    CACHE OBJECT MANAGER statistics
    CACHE MANAGER VM USAGE
    vm current = 64K vm anon queues = 64K
    vm anon in use = 0 vm file = 0
    vm used max = 64K ==> CACHE BALANCED
    CACHE CONFIGURATION
    cache size = 8G cache force paging = 13.99G
    buffer min = 64K buffer highwater = 4M
    pageout eligible size = 4M
    CACHE Transaction Stats
    trans active = 0 max concurrent = 5
    non-zero total = 2.89K trans total = 2.89K
    CACHE File Caching
    disk current = 0 disk total = 0
    disk caching = 0 file cached = 0
    file retrieves = 0
    CACHE MANAGEMENT
    buffer links = 0 anon gets = 0
    forced unmaps = 0 cnnbl try = 0
    cached out = 0 force out = 0
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    Cached Transaction Size Distribution
    0: 2.89K
    < 4K: 1
    4K: 0 0 | 16K: 0 0
    64K: 0 0 | 256K: 0 0
    1M: 0 0 | 4M: 0 0
    16M: 0 0 | 64M: 0 0
    256M: 0 0 | 1G: 0 0
    4G: 0 0 | 16G: 0 0
    64G: 0 0 | 256G: 0 0
    1T: 0 0 | 4T: 0 0
    16T: 0 0 | 64T: 0 0
    256T: 0 0 |1024T: 0 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 1
    queue size q hits curlen maxlen cannibalized
    0 64K 0 1 1 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: ext1 id: p1412_Redo Thread 2 instance: 2 tid: 0000000000000007
    trans active = 0 trans concurrent (max) = 3
    trans total = 2.18K (2230 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #1
    POOL INFO group: ext1 id: p1412_Redo Thread 1 instance: 1 tid: 0000000000000006
    trans active = 0 trans concurrent (max) = 3
    trans total = 724 (724 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #2
    POOL INFO group: ext1 id: p1412_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000009
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #3
    POOL INFO group: ext1 id: p1412_BLOB instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 1
    queue size q hits curlen maxlen cannibalized
    0 64K 0 1 1 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: ext1 id: p1412_Redo Thread 2 instance: 2 tid: 0000000000000007
    trans active = 0 trans concurrent (max) = 3
    trans total = 2.18K (2230 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #1
    POOL INFO group: ext1 id: p1412_Redo Thread 1 instance: 1 tid: 0000000000000006
    trans active = 0 trans concurrent (max) = 3
    trans total = 724 (724 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #2
    POOL INFO group: ext1 id: p1412_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000009
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #3
    POOL INFO group: ext1 id: p1412_BLOB instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    EXT1.rpt: END
    GGSCI (pkdb6) 1> view report rep2
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 11 on Jul 28 2010 16:09:58
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:40:39
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb6
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    ...skipping...
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 11 on Jul 28 2010 16:09:58
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:40:39
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb6
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 29967
    Description:
    ** Running with the following parameters **
    REPLICAT rep2
    ASSUMETARGETDEFS
    USERID ggs_owner, PASSWORD *********
    MAP atrifonov.test1, TARGET dwh.test1, KEYCOLS (col1);
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 512M
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1G
    CACHESIZEMAX (strict force to disk): 881M
    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 HPUX: 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 = "AL32UTF8"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Opened trail file /u01/GG/source/dirdat/rt000022 at 2011-03-30 14:40:39
    Switching to next trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39 due to EOF, with current RBA 1233
    Opened trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39
    2011-03-30 14:40:39 INFO OGG-01014 Positioning with begin time: Mar 30, 2011 2:40:23 PM, starting record time: Mar 3
    0, 2011 2:40:37 PM at extseqno 23, extrba 872.
    ** Run Time Messages **
    Opened trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39
    Processed extract process graceful restart record at seq 23, rba 872.
    2011-03-30 14:43:10 INFO OGG-01021 Command received from GGSCI: STOP.
    * ** Run Time Statistics ** *
    Last record for the last committed transaction is the following:
    Trail name : /u01/GG/source/dirdat/rt000023
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 30 (x001e) IO Time : 2011-03-30 14:41:50.000095
    IOType : 5 (x05) OrigNode : 255 (xff)
    TransInd : . (x03) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 11498 AuditPos : 327552200
    Continued : N (x00) RecCount : 1 (x01)
    2011-03-30 14:41:50.000095 Insert Len 30 RBA 931
    Name: DWH.TEST1
    Reading /u01/GG/source/dirdat/rt000023, current RBA 1080, 0 records
    Report at 2011-03-30 14:43:10 (activity since 2011-03-30 14:40:39)
    No records were replicated.
    Last log location read:
    FILE: /u01/GG/source/dirdat/rt000023
    SEQNO: 23
    RBA: 1080
    TIMESTAMP: Not Available
    EOF: YES
    READERR: 400
    CACHE OBJECT MANAGER statistics
    CACHE MANAGER VM USAGE
    vm current = 0 vm anon queues = 0
    vm anon in use = 0 vm file = 0
    vm used max = 0 ==> CACHE BALANCED
    CACHE CONFIGURATION
    cache size = 512M cache force paging = 881M
    buffer min = 64K buffer highwater = 4M
    pageout eligible size = 4M
    CACHE Transaction Stats
    trans active = 0 max concurrent = 0
    non-zero total = 0 trans total = 0
    CACHE File Caching
    disk current = 0 disk total = 0
    disk caching = 0 file cached = 0
    file retrieves = 0
    CACHE MANAGEMENT
    buffer links = 0 anon gets = 0
    forced unmaps = 0 cnnbl try = 0
    cached out = 0 force out = 0
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    Cached Transaction Size Distribution
    0: 0
    < 4K: 0
    4K: 0 0 | 16K: 0 0
    64K: 0 0 | 256K: 0 0
    1M: 0 0 | 4M: 0 0
    16M: 0 0 | 64M: 0 0
    256M: 0 0 | 1G: 0 0
    4G: 0 0 | 16G: 0 0
    64G: 0 0 | 256G: 0 0
    1T: 0 0 | 4T: 0 0
    16T: 0 0 | 64T: 0 0
    256T: 0 0 |1024T: 0 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 0
    queue size q hits curlen maxlen cannibalized
    0 64K 0 0 0 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: rep2 id: p29967_BLOB
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0

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

    the 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.*;

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

    If 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 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.Kapil

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

Maybe you are looking for

  • Safari quits unexpectedly

    when I click on the safari icon I get "The application Safari quit unexpectedly. The problem may have been caused by the ct_plugins plug-in" when I use Firefox I can access the internet and email and everything else

  • Add a field in selection screen and enter data in that field .......

    Hi, I want to add a field in the seletion screen and when the user enters data , it should store in the data base table, the data base table is MKPF-BKTXT, please can any one let me know how to do this... very urgent...

  • Portal - bursting via attribut "e-mail" in InfoObject 0PROJECT

    Hello We are facing a problem in SAP Portal. Via Infoobject 0PROJECT (with customer display attribut zemail) we intend to burst a workbook to the appropriate user entries in the project. After executing we get the error message  in  a separate window

  • WebLogic On Demand pricing??

    Is there any area that has info on WebLogic hosting pricing??  I cannot locate that specific section in the info you sent and was hoping you could help. I see the DB, but not the application server section?? Thank you!

  • Recovery and DMI

    So, I have a Portege M400.  I ordered recovery media which is Win XP Tablet Edition on DVD, the 2005/2006 version.  Initially, I kept getting the cannot identify message which would error out to "WRONG MACHINE" on the third try unless I typed in "Por