Oracle streams configuration problem

Hi all,
i'm trying to configure oracle stream to my source database (oracle 9.2) and when i execute the package DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS'); i got an error bellow:
ERROR at line 1:
ORA-01353: existing Logminer session
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2238
ORA-06512: at line 1
When checking some docs, they told i have to destraoy all logminer session, and i verify to v$session view and cannot identify logminer session. If someone can help me because i need this sttream tools for schema synchronization of my production database and datawarehouse database.
That i want is how to destroy or stop logminer session.
Thnaks for your help
regards
raitsarevo

Thanks Werner, it's ok now my problem is solved and here bellow the output of your script.
I profit if you have some docs or some advise for my database schema synchronisation, is using oracle sctrems is the best or can i use anything else but not Dataguard concept or standby database because i only want to apply DMl changes not DDL. If you have some docs for Oracle streams and especially for schema synchronization not tables.
many thanks again, and please send to my email address [email protected] if needed
ABILLITY>DELETE FROM system.logmnr_uid$;
1 row deleted.
ABILLITY>DELETE FROM system.logmnr_session$;
1 row deleted.
ABILLITY>DELETE FROM system.logmnrc_gtcs;
0 rows deleted.
ABILLITY>DELETE FROM system.logmnrc_gtlo;
13 rows deleted.
ABILLITY>EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS');
PL/SQL procedure successfully completed.
regards
raitsarevo

Similar Messages

  • Oracle streams configuration

    Hi,
    Our organization is planning to implement Oracle streams. I have couple of fundamental questions:
    1. Can you configure Oracle Streams while the source database is up and running?
    2. I think the answer is yes, but please confirm that the LCR data can be extracted and transformed before applying to the target
    3. Is there any performance impact on the source database if Oracle Streams is enabled? If yes, how much?
    That’s all for now…
    Thanks…

    See my answers inline.
    1. Can you configure Oracle Streams while the source database is up and running?
    YES. Your database must be up and running to create streams processes.
    2. I think the answer is yes, but please confirm that the LCR data can be extracted and transformed before applying to the target
    You have to instantiate the target database so that there source and target are in sync.
    3. Is there any performance impact on the source database if Oracle Streams is enabled? If yes, how much?
    There is a minimal overhead of running the capture process on the source. But this should be negligable. This also depends upon what is being streamed i.e. LOB's are being streamed, high transaction volume etc.

  • Oracle streams running problems

    Hello
    Can anybody tell me pls, what was wrong ?.
    i just created the oracle streams on the both sides ( db1 und db2 ) via example on the metalinks. It worked , everthing looks well. But in the next day, after i updated a row on the source side, it 's been not transfern to another side.
    In the streams_queue of the scheme strmadmin the start_time still stayed in the past. There is not the currenday . ??
    Do i missed something ?
    thk
    duc

    Please ask your question in oracle streams forum.
    Streams

  • Oracle iplanet configuration problem

    I am trying to run a batch script through the web server. But I get this error. The same configuration runs on Sun one 6.1 , but did not work since I migrated to 7 Update 9.
    [14/Dec/2010:17:39:31] info ( 9240): CORE3274: successful server startup
    [14/Dec/2010:17:39:54] failure ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, cgi_scan_headers reports: HTTP4044: the CGI program E:\path\RESTAR~4.BAT did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    [14/Dec/2010:17:39:54] warning ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, E:\path\RESTAR~4.BAT reports: CORE4385: stderr: The filename, directory name, or volume label syntax is incorrect.
    obj.conf:
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    #AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    #NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="E:/Sun/WebServer7/lib/icons" name="es-internal"
    NameTrans from="/se" fn="pfx2dir" dir="e:/path" name="shellcgi"
    NameTrans fn=document-root root="e:/admin"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    #Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service fn="send-shellcgi" type="magnus-internal/shellcgi"
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Service method=TRACE fn=service-trace
    #Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="shellcgi">
    ObjectType fn="force-type" type="magnus-internal/shellcgi"
    Service fn="send-shellcgi"
    </Object>
    server.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    -->
    <server>
    <temp-path>C:/Windows/TEMP/httpd-se-809-fda731df</temp-path>
    <access-log>
    <file>E:/netscape_logs/access_hb809</file>
    <format>%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% "%Req->headers.referer%" "%Req->headers.user-agent%" %Req->reqpb.method% %Req->reqpb.uri% %Req->reqpb.query% "%Req->reqpb.protocol%"</format>
    </access-log>
    <http-listener>
    <name>ls1</name>
    <port>811</port>
    <server-name>https-httpd-se-809</server-name>
    <default-virtual-server-name>https-httpd-se-809</default-virtual-server-name>
    </http-listener>
    <dns-cache>
    <enabled>false</enabled>
    </dns-cache>
    <stats>
    <enabled>false</enabled>
    </stats>
    <file-cache>
    <enabled>false</enabled>
    <max-age>30</max-age>
    <max-entries>1024</max-entries>
    <sendfile>false</sendfile>
    <copy-files>true</copy-files>
    <copy-path>C:/Windows/TEMP/httpd-se-809-file-cache</copy-path>
    <cache-content>false</cache-content>
    </file-cache>
    <http>
    <server-header>""</server-header>
    </http>
    <dns>
    <enabled>false</enabled>
    </dns>
    <thread-pool>
    <max-threads>128</max-threads>
    </thread-pool>
    <event>
    <time>
    <time-of-day>00:00</time-of-day>
    </time>
    <interval>86400</interval>
    <rotate-access-log>true</rotate-access-log>
    <rotate-log>true</rotate-log>
    </event>
    <virtual-server>
    <name>https-httpd-se-809</name>
    <host>httpd-se-809</host>
    <http-listener-name>ls1</http-listener-name>
    <object-file>obj.conf</object-file>
    <search-app>
    <uri>/search</uri>
    </search-app>
    <document-root>e:/admin</document-root>
    </virtual-server>
    <mime-file>mime.types</mime-file>
    <auth-db>
    <name>default</name>
    <url>null:///none</url>
    </auth-db>
    <jvm>
    <java-home>E:/Sun/WebServer7/jdk</java-home>
    <server-class-path>E:/Sun/WebServer7/lib/webserv-rt.jar;E:/Sun/WebServer7/lib/pwc.jar;E:/Sun/WebServer7/lib/ant.jar;${java.home}/lib/tools.jar;E:/Sun/WebServer7/lib/ktsearch.jar;E:/Sun/WebServer7/lib/webserv-jstl.jar;E:/Sun/WebServer7/lib/jsf-impl.jar;E:/Sun/WebServer7/lib/jsf-api.jar;E:/Sun/WebServer7/lib/webserv-jwsdp.jar;E:/Sun/WebServer7/lib/container-auth.jar;E:/Sun/WebServer7/lib/mail.jar;E:/Sun/WebServer7/lib/activation.jar</server-class-path>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    </jvm>
    <servlet-container>
    <dynamic-reload-interval>-1</dynamic-reload-interval>
    <anonymous-role>ANYONE</anonymous-role>
    </servlet-container>
    <cluster>
    <local-host>cafrfd1attplw01.itservices.sbc.com</local-host>
    <instance>
    <host>cafrfd1attplw01.itservices.sbc.com</host>
    </instance>
    </cluster>
    <log>
    <log-level>info</log-level>
    <log-file>E:/NetScape_Logs/errors-se-809</log-file>
    </log>
    <variable>
    <name>dir</name>
    <value/>
    </variable>
    <variable>
    <name>nice</name>
    <value/>
    </variable>
    <variable>
    <name>group</name>
    <value/>
    </variable>
    <variable>
    <name>chroot</name>
    <value/>
    </variable>
    <variable>
    <name>accesslog</name>
    <value>E:/Netscape_Logs/access_se809</value>
    </variable>
    <variable>
    <name>user</name>
    <value/>
    </variable>
    <auth-realm>
    <name>file</name>
    <class>com.iplanet.ias.security.auth.realm.file.FileRealm</class>
    <property>
    <name>file</name>
    <value>E:/Sun/WebServer7/https-httpd-se-809/config/keyfile</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>fileRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>native</name>
    <class>com.iplanet.ias.security.auth.realm.webcore.NativeRealm</class>
    <property>
    <name>jaas-context</name>
    <value>nativeRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>ldap</name>
    <class>com.iplanet.ias.security.auth.realm.ldap.LDAPRealm</class>
    <property>
    <name>directory</name>
    <value>ldap://localhost:389</value>
    </property>
    <property>
    <name>base-dn</name>
    <value>o=isp</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>ldapRealm</value>
    </property>
    </auth-realm>
    <default-auth-realm-name>native</default-auth-realm-name>
    <audit-accesses>false</audit-accesses>
    </server>

    you could look to see if the server returned any useful information within the log file . also, you could increase the server log level to fine to get more information.

  • Adobe Access Server for Protected Streaming Configuration Problem

    I cannot get the Adobe Access Server for Protected Streaming sample implementation up and running.  Could somebody help me figure out where I'm going wrong?
    I've configured the license server with the correct PFX files and when I run the validation tool, I get the following output.  This is a clean install with only the license server configuration (the content server is a separate machine).  I also get a similar error in the tomcat logs when I try to access a piece of content licensed to this server. 
    $ java -jar libs/flashaccess-validator.jar -g -r /var/lib/tomcat6/licenseserver/
    Validating global deployment ...
            Validating partition deployment - flashaccessserver...
                    Validating tenant deployment - flashaccessserver/mediafly...Failed to validate tenant deployment 'flashaccessserver/mediafly' - Error reading key server certificate for partition='flashaccessserver', tenant='mediafly'
    See log for details:
    (/tmp/temp281722781181937073071254678876423/flashaccessserver/flashaccess-partition.log)
    $ cat /tmp/temp281722781181937073071254678876423/flashaccessserver/flashaccess-partition.log
    [] 2013-02-12 15:37:26,383 INFO  [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] Creating class loader for partition 'flashaccessserver' with libraries '[file:/var/lib/tomcat6/licenseserver/flashaccessserver/libs/, file:/var/lib/tomcat6/licenseserver/flashaccessserver/libs/flashaccess-license-server-ext -sample.jar]'
    [] 2013-02-12 15:38:41,247 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.tools.Validator] Failed to validate tenant deployment 'flashaccessserver/mediafly'
    com.adobe.flashaccess.server.common.configuration.ConfigurationException: Error reading key server certificate for partition='flashaccessserver', tenant='mediafly'
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $ServerCertsImpl.readCerts(TenantConfigurationImpl.java:720)
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $ServerCertsImpl.<init>(TenantConfigurationImpl.java:705)
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl .<init>(TenantConfigurationImpl.java:115)
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.CommonsConfigurationBas edFactory.getTenantConfiguration(CommonsConfigurationBasedFactory.java:90)
            at com.adobe.flashaccess.server.license.tools.Validator.validateTenantDeployment(Validator.j ava:255)
            at com.adobe.flashaccess.server.license.tools.Validator.validatePartitionDeployment(Validato r.java:283)
            at com.adobe.flashaccess.server.license.tools.Validator.validateGlobalDeployment(Validator.j ava:301)
            at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:173)
            at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:117)
    Caused by: java.security.cert.CertificateException: java.lang.IllegalArgumentException: unknown object in factory: org.bouncycastle.asn1.DERInteger
            at org.bouncycastle.jce.provider.JDKX509CertificateFactory.engineGenerateCertificate(Unknown Source)
            at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322)
            at com.adobe.flashaccess.core.crypto.CertUtil.loadCert(CertUtil.java:33)
            at com.adobe.flashaccess.sdk.cert.CertificateFactory.loadCert(CertificateFactory.java:45)
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $ServerCertsImpl.readCert(TenantConfigurationImpl.java:739)
            at com.adobe.flashaccess.server.license.configuration.commonsadapter.TenantConfigurationImpl $ServerCertsImpl.readCerts(TenantConfigurationImpl.java:718)
            ... 8 more
    Some additional information:
    $ uname -s -r -v -m
    Linux 2.6.32-350-ec2 #59-Ubuntu SMP Mon Jan 7 14:20:59 UTC 2013 x86_64
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 10.04.4 LTS
    Release:        10.04
    Codename:       lucid
    $ dpkg -l | grep tomcat
    ii  libtomcat6-java                                             6.0.24-2ubuntu1.12                Servlet and JSP engine -- core libraries
    ii  tomcat6                                                     6.0.24-2ubuntu1.12                Servlet and JSP engine
    ii  tomcat6-common                                              6.0.24-2ubuntu1.12                Servlet and JSP engine -- common files
    $ dpkg -l | grep jdk
    ii  openjdk-6-jre-headless                                      6b24-1.11.5-0ubuntu1~10.04.2      OpenJDK Java runtime, using Hotspot JIT (hea
    ii  openjdk-6-jre-lib                                           6b24-1.11.5-0ubuntu1~10.04.2      OpenJDK Java runtime (architecture independe
    $ md5sum AdobeAccessProSDK_4_0_LS1_java.exe
    73068d8348cbdc1c29211a463a58b8df  AdobeAccessProSDK_4_0_LS1_java.exe
    Thanks,
    Bryan

    I found the problem. 
    Certificates/KeyServer/File[@path] needs to be set your license file, but it must be in the ".cer" format.  The server won't start without this fileand it was not mentioned anywhere in the quick start guide but is mentioned in the protected streaming document.
    Bryan

  • Oracle*Terminal configuration problem for Web deployment

    Hello everyone!
    I am a novice in using Oracle Forms 6i. I installed a Forms 6i Developer and Server at Windows 2000, the same machine where 8.1.6 Server is running (of cource I installed DB server and Developer in different Oracle_Home's).
    Everything seems to be going well while trying "Client-Server" model. But I can not suceed in deploying forms to the Web. For example when I try "Run a form on the Web" standard option, after I try to run a standard test form (test.fmx), I get another Browser (IE5) window opened, then an applet loads and after that I get a Java-form inside of IE5 window with red bell picture and an error message: "Error while opening Oracle*Terminal file fmrweb."
    Can anyone help me with an advise what to do in such situation?
    Thank you in advance
    Alexander Ilin

    I can't answer the specific problem about the test, but the resource file is set up as follows:
    The html file that invokes the Forms applet has a server argument showing where the terminal key-mapping file is stored on your forms server. In your case it appears to be looking for fmrweb.res and can't find it.
    Take a look at the html and find the path it is using to look for it (I think you'll find this in the ServerArgs parameter). Then make sure the file is there on your Windows 2000 server.
    If it isn't there, do a search for it in the server's Oracle_home directory, and then copy it to the directory where it is expecting it. Along with fmrweb.res, you can also use fmrpcweb.res - just replace fmrweb.res in your html file.
    Hope that helps.

  • Error during removinf Oracle streams configuration in oracle 10g

    Hi,
    When i am trying to remove stream comfiguration at capture side..it is giving me following error:
    SQL> execute DBMS_STREAMS_ADM.REMOVE_STREAMS_CONFIGURATION();
    BEGIN DBMS_STREAMS_ADM.REMOVE_STREAMS_CONFIGURATION(); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_STREAMS_ADM' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    by connecting which user i need to run this.
    Thanks

    This error is coming
    SQL> execute DBMS_STREAMS_ADM.REMOVE_STREAMS_CONFIGURATION();
    BEGIN DBMS_STREAMS_ADM.REMOVE_STREAMS_CONFIGURATION(); END;
    ERROR at line 1:
    ORA-06564: object "NCM"."BIN$dD1n7UJhZcPgRAAUTxcb/g==$0" does not exist
    ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 82
    ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 115
    ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 490
    ORA-01403: no data found
    ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 395
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 1877
    ORA-06512: at line 1

  • Oracle Filesync Configuration Problem

    hi.
    I installed Oracle File. it was working well.
    OCS R1 single box windows
    I can connect Oracle File using
    1. http://hostname:7779/files/app
    2. ftp://hostname
    now I am trying to use Oracle Filesync
    but after installation, "Web Server URL" is needed at First running Oracle Filesync.
    what's the correct "Web Server URL"?
    thanks in advance

    Thank you very much.
    it works^^ (http://hostname.domain:7779/files/content)
    by the way,
    do you know Web Folder Address of Oracle Files?
    I tried to connect Oracle Files with MS Web Folder.
    http://hostname.domain:7779 is not working
    any idea?
    thanks in advance

  • Problem in configuring Oracle Streams

    Hi Experts,
    I am trying to configure oracle streams on oracle 10g through OEM, among the 5 steps, all steps went smooth, the very last step that asks the host username and host password is giving error "Login Error - oracle.sysman.emSDK.admObj.AdminObjectException: ERROR: Wrong password for user"
    I want one complete schema to be replicated...
    Source :
    Oracle : 10.2.0.1
    OS : Windows
    User : administrator/passwd
    Dest :
    Oracle : 10.2.0.4
    OS : RHEL 4.7
    User : oracle/oracle
    please help me, thanks

    Hello, Pls how did you reset your password. I have changed my password but still is not working. Pls give me step to do that.
    Waiting for your reply.
    Thanks

  • Help on Oracle streams 11g configuration

    Hi Streams experts
    Can you please validate the following creation process steps ?
    What is need to have streams doing is a one way replication of the AR
    schema from a database to another database. Both DML and DDL shall do
    the replication of the data.
    Help on Oracle streams 11g configuration. I would also need your help
    on the maintenance steps, controls and procedures
    2 databases
    1 src as source database
    1 dst as destination database
    replication type 1 way of the entire schema FaeterBR
    Step 1. Set all databases in archivelog mode.
    Step 2. Change initialization parameters for Streams. The Streams pool
    size and NLS_DATE_FORMAT require a restart of the instance.
    SQL> alter system set global_names=true scope=both;
    SQL> alter system set undo_retention=3600 scope=both;
    SQL> alter system set job_queue_processes=4 scope=both;
    SQL> alter system set streams_pool_size= 20m scope=spfile;
    SQL> alter system set NLS_DATE_FORMAT=
    'YYYY-MM-DD HH24:MI:SS' scope=spfile;
    SQL> shutdown immediate;
    SQL> startup
    Step 3. Create Streams administrators on the src and dst databases,
    and grant required roles and privileges. Create default tablespaces so
    that they are not using SYSTEM.
    ---at the src
    SQL> create tablespace streamsdm datafile
    '/u01/product/oracle/oradata/orcl/strepadm01.dbf' size 100m;
    ---at the replica:
    SQL> create tablespace streamsdm datafile
    ---at both sites:
    '/u02/oracle/oradata/str10/strepadm01.dbf' size 100m;
    SQL> create user streams_adm
    identified by streams_adm
    default tablespace strepadm01
    temporary tablespace temp;
    SQL> grant connect, resource, dba, aq_administrator_role to
    streams_adm;
    SQL> BEGIN
    DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE (
    grantee => 'streams_adm',
    grant_privileges => true);
    END;
    Step 4. Configure the tnsnames.ora at each site so that a connection
    can be made to the other database.
    Step 5. With the tnsnames.ora squared away, create a database link for
    the streams_adm user at both SRC and DST. With the init parameter
    global_name set to True, the db_link name must be the same as the
    global_name of the database you are connecting to. Use a SELECT from
    the table global_name at each site to determine the global name.
    SQL> select * from global_name;
    SQL> connect streams_adm/streams_adm@SRC
    SQL> create database link DST
    connect to streams_adm identified by streams_adm
    using 'DST';
    SQL> select sysdate from dual@DST;
    SLQ> connect streams_adm/streams_adm@DST
    SQL> create database link SRC
    connect to stream_admin identified by streams_adm
    using 'SRC';
    SQL> select sysdate from dual@SRC;
    Step 6. Control what schema shall be replicated
    FaeterBR is the schema to be replicated
    Step 7. Add supplemental logging to the FaeterBR schema on all the
    tables?
    SQL> Alter table FaeterBR.tb1 add supplemental log data
    (ALL) columns;
    SQL> alter table FaeterBR.tb2 add supplemental log data
    (ALL) columns;
    etc...
    Step 8. Create Streams queues at the primary and replica database.
    ---at SRC (primary):
    SQL> connect stream_admin/stream_admin@ORCL
    SQL> BEGIN
    DBMS_STREAMS_ADM.SET_UP_QUEUE(
    queue_table => 'streams_adm.FaeterBR_src_queue_table',
    queue_name => 'streams_adm.FaeterBR_src__queue');
    END;
    ---At DST (replica):
    SQL> connect stream_admin/stream_admin@STR10
    SQL> BEGIN
    DBMS_STREAMS_ADM.SET_UP_QUEUE(
    queue_table => 'stream_admin.FaeterBR_dst_queue_table',
    queue_name => 'stream_admin.FaeterBR_dst_queue');
    END;
    Step 9. Create the capture process on the source database (SRC).
    SQL> BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
    schema_name =>'FaeterBR',
    streams_type =>'capture',
    streams_name =>'FaeterBR_src_capture',
    queue_name =>'FaeterBR_src_queue',
    include_dml =>true,
    include_ddl =>true,
    include_tagged_lcr =>false,
    source_database => NULL,
    inclusion_rule => true);
    END;
    Step 10. Instantiate the FaeterBR schema at DST. by doing export
    import : Can I use now datapump to do that ?
    ---AT SRC:
    exp system/superman file=FaeterBR.dmp log=FaeterBR.log
    object_consistent=y owner=FaeterBR
    ---AT DST:
    ---Create FaeterBR tablespaces and user:
    create tablespace FaeterBR_datafile
    '/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
    create tablespace ws_app_idx datafile
    '/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
    create user FaeterBR identified by FaeterBR_
    default tablespace FaeterBR_
    temporary tablespace temp;
    grant connect, resource to FaeterBR;
    imp system/123db file=FaeterBR_.dmp log=FaeterBR.log fromuser=FaeterBR
    touser=FaeterBR streams_instantiation=y
    Step 11. Create a propagation job at the source database (SRC).
    SQL> BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES(
    schema_name =>'FaeterBR',
    streams_name =>'FaeterBR_src_propagation',
    source_queue_name =>'stream_admin.FaeterBR_src_queue',
    destination_queue_name=>'stream_admin.FaeterBR_dst_queue@dst',
    include_dml =>true,
    include_ddl =>true,
    include_tagged_lcr =>false,
    source_database =>'SRC',
    inclusion_rule =>true);
    END;
    Step 12. Create an apply process at the destination database (DST).
    SQL> BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
    schema_name =>'FaeterBR',
    streams_type =>'apply',
    streams_name =>'FaeterBR_Dst_apply',
    queue_name =>'FaeterBR_dst_queue',
    include_dml =>true,
    include_ddl =>true,
    include_tagged_lcr =>false,
    source_database =>'SRC',
    inclusion_rule =>true);
    END;
    Step 13. Create substitution key columns for äll the tables that
    haven't a primary key of the FaeterBR schema on DST
    The column combination must provide a unique value for Streams.
    SQL> BEGIN
    DBMS_APPLY_ADM.SET_KEY_COLUMNS(
    object_name =>'FaeterBR.tb2',
    column_list =>'id1,names,toys,vendor');
    END;
    Step 14. Configure conflict resolution at the replication db (DST).
    Any easier method applicable the schema?
    DECLARE
    cols DBMS_UTILITY.NAME_ARRAY;
    BEGIN
    cols(1) := 'id';
    cols(2) := 'names';
    cols(3) := 'toys';
    cols(4) := 'vendor';
    DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
    object_name =>'FaeterBR.tb2',
    method_name =>'OVERWRITE',
    resolution_column=>'FaeterBR',
    column_list =>cols);
    END;
    Step 15. Enable the capture process on the source database (SRC).
    BEGIN
    DBMS_CAPTURE_ADM.START_CAPTURE(
    capture_name => 'FaeterBR_src_capture');
    END;
    Step 16. Enable the apply process on the replication database (DST).
    BEGIN
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'FaeterBR_DST_apply');
    END;
    Step 17. Test streams propagation of rows from source (src) to
    replication (DST).
    AT ORCL:
    insert into FaeterBR.tb2 values (
    31000, 'BAMSE', 'DR', 'DR Lejetoej');
    AT STR10:
    connect FaeterBR/FaeterBR
    select * from FaeterBR.tb2 where vendor= 'DR Lejetoej';
    Any other test that can be made?

    Check the metalink doc 301431.1 and validate
    How To Setup One-Way SCHEMA Level Streams Replication [ID 301431.1]
    Oracle Server Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6
    Cheers.

  • Problem during installation oracle database configuration assistant FAILED

    Hi Dear,
    The Configurations are :
    VM OS : Oracle enterprise linux 5
    Trying to install : Oracle 11g R1
    I'm having a real problem , so i can't continue my installation during the configuration assistant, oracle net configuration assistant was succeeded but oracle database configuration assistant FAILED
    Here is the long message showed by console :
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Command = /u01/app/oracle/product/11.1.0/db_1/bin/netca /orahome /u01/app/oracle/product/11.1.0/db_1 /orahnam OraDb11g_home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /u01/app/oracle/product/11.1.0/db_1/network/install/netca_typ.rsp
    Parsing command line arguments:
    Parameter "orahome" = /u01/app/oracle/product/11.1.0/db_1
    Parameter "orahnam" = OraDb11g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = /u01/app/oracle/product/11.1.0/db_1/network/install/netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    Listener started at port:1521
    Oracle Net Listener Startup:
    Running Listener Control:
    /u01/app/oracle/product/11.1.0/db_1/bin/lsnrctl start LISTENER
    Listener Control complete.
    Listener started successfully.
    Listener configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Command = oracle.assistants.server.DbcaCfgPlugIn /u01/app/oracle/product/11.1.0/db_1/bin/dbca -progress_only -createDatabase -templateName General_Purpose.dbc -sid DB11G -gdbName DB11G.WORLD -emConfiguration LOCAL -datafileJarLocation /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates -datafileDestination /u01/app/oracle/oradata/ -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema false -oratabLocation /u01/app/oracle/product/11.1.0/db_1/install/oratab -recoveryAreaDestination NO_VALUE -totalMemory 403 -automaticMemoryManagement true -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
    Configuration assistant "Oracle Database Configuration Assistant" failed
    The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Command = oracle.assistants.server.DbcaCfgPlugIn /u01/app/oracle/product/11.1.0/db_1/bin/dbca -progress_only -createDatabase -templateName General_Purpose.dbc -sid DB11G -gdbName DB11G.WORLD -emConfiguration LOCAL -datafileJarLocation /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates -datafileDestination /u01/app/oracle/oradata/ -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema false -oratabLocation /u01/app/oracle/product/11.1.0/db_1/install/oratab -recoveryAreaDestination NO_VALUE -totalMemory 403 -automaticMemoryManagement true -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
    Configuration assistant "Oracle Database Configuration Assistant" failed
    The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 2):
    Command = oracle.assistants.server.DbcaCfgPlugIn /u01/app/oracle/product/11.1.0/db_1/bin/dbca -progress_only -createDatabase -templateName General_Purpose.dbc -sid DB11G -gdbName DB11G.WORLD -emConfiguration LOCAL -datafileJarLocation /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates -datafileDestination /u01/app/oracle/oradata/ -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema false -oratabLocation /u01/app/oracle/product/11.1.0/db_1/install/oratab -recoveryAreaDestination NO_VALUE -totalMemory 403 -automaticMemoryManagement true -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
    Configuration assistant "Oracle Database Configuration Assistant" failed
    The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 3):
    Command = oracle.assistants.server.DbcaCfgPlugIn /u01/app/oracle/product/11.1.0/db_1/bin/dbca -progress_only -createDatabase -templateName General_Purpose.dbc -sid DB11G -gdbName DB11G.WORLD -emConfiguration LOCAL -datafileJarLocation /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates -datafileDestination /u01/app/oracle/oradata/ -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema false -oratabLocation /u01/app/oracle/product/11.1.0/db_1/install/oratab -recoveryAreaDestination NO_VALUE -totalMemory 403 -automaticMemoryManagement true -sysPassword ${S_SYSPASS} -systemPassword ${S_SYSTEMPASS} -dbsnmpPassword ${S_DBSNMPPASS} -sysmanPassword ${S_SYSMANPASS} ${S_SYSASMPASS} ${S_HOSTUSERPASS}
    Configuration assistant "Oracle Database Configuration Assistant" failed
    The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    Please help me it's urgently

    Please help me i can't find any solution to resolve this trouble
    Should i uninstall this version or what exactly, could you please suggest to me something like another release who matches that configuration
    Sorry but i have no idea
    Waiting for the response

  • Having trouble setting up Oracle streams.  Help!

    I'm running Oracle 10g Enterprise server and am trying to set up a streams connection between two databases on the server.
    I'm using the Enterprise Manager grid control console to do this. I log into database_1 and I go to the streams section and pick the "Streams Global, Schema, Table and Subset Replication Wizard" link in the setup options.
    I create my streams admin account. Question: Does the Streams Administrator have to be account with a dba role? I just set my dba Streams Admin the same as my 'sys' account.
    I go on the the Configure Streams: Destination Database.
    I put in the host name, port, sid and streams admin and pwd for database_1
    When i click next i'm getting the following error.
    "There is a problem with the destination connection information. It could be due to invalid host credentials and / or invalid Streams Administrator credentials."
    I'm pretty sure my connection information is correct. I can connect to both databases using SQLdeveloper using the same connection info. And I think i properly set up the streams Admin for my database_2. So i'm not sure why i'm getting the error.
    can anyone help?

    I had a similar problem. Another issue that came along with this was that I was unable to set the credentials for one of the monitored servers in my Stream configuration. It turns out that the agent that I was using wasn't compatible with my GRID installation. I upgraded my agent, verified that I could set the preferred credentials, then successfully set up Streams.
    Hope that this helps.

  • Oracle Streams 9i Database Link Error

    Can anyone be help me regarding Oracle Streams 9i
    Oracle Version: 9.2.0.5.0
    Initial parameters:
    global_name=true
    aq_tm_processes=1
    job_queue_process=10
    log_parallelism=1 scope=spfile
    database is in archivelog;
    I executed the following SQL statements:
    CONNECT sys/xxxxx@db1 AS SYSDBA
    CREATE USER strmadmin IDENTIFIED BY strmadminpw
    DEFAULT TABLESPACE users QUOTA UNLIMITED ON users;
    GRANT CONNECT, RESOURCE, SELECT_CATALOG_ROLE TO strmadmin;
    GRANT EXECUTE ON DBMS_AQADM TO strmadmin;
    GRANT EXECUTE ON DBMS_CAPTURE_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_PROPAGATION_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_STREAMS_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_APPLY_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_FLASHBACK TO strmadmin;
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    CONNECT strmadmin/strmadminpw@db1
    EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
    CREATE DATABASE LINK db2 CONNECT TO strmadmin IDENTIFIED BY strmadminpw USING 'DB2';
    CONNECT sys/xxxxx@db2 AS SYSDBA
    CREATE USER strmadmin IDENTIFIED BY strmadminpw
    DEFAULT TABLESPACE users QUOTA UNLIMITED ON users;
    GRANT CONNECT, RESOURCE, SELECT_CATALOG_ROLE TO strmadmin;
    GRANT EXECUTE ON DBMS_AQADM TO strmadmin;
    GRANT EXECUTE ON DBMS_CAPTURE_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_PROPAGATION_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_STREAMS_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_APPLY_ADM TO strmadmin;
    GRANT EXECUTE ON DBMS_FLASHBACK TO strmadmin;
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    CONNECT strmadmin/strmadminpw@db2
    EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
    CONNECT sys/xxxxx@db2 as sysdba
    GRANT ALL ON scott.dept TO strmadmin;
    CONNECT sys/xxxxx@db1 AS SYSDBA
    CREATE TABLESPACE logmnr_ts DATAFILE 'D:\oracle\oradata\db1\logmnr01.dbf'
    SIZE 25 M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
    EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('logmnr_ts');
    CONNECT sys/xxxxx@db1 AS SYSDBA
    ALTER TABLE scott.dept ADD SUPPLEMENTAL LOG GROUP log_group_dept_pk (deptno) ALWAYS;
    CONNECT strmadmin/strmadminpw@db1
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES(
    table_name => 'scott.dept',
    streams_name => 'db1_to_db2',
    source_queue_name => 'strmadmin.streams_queue',
    destination_queue_name => 'strmadmin.streams_queue@db2',
    include_dml => true,
    include_ddl => true,
    source_database => 'db1');
    END;
    CONNECT strmadmin/strmadminpw@db1
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'scott.dept',
    streams_type => 'capture',
    streams_name => 'capture_simp',
    queue_name => 'strmadmin.streams_queue',
    include_dml => true,
    include_ddl => true);
    END;
    Did this exp/imp
    exp userid=scott/tiger@db1 FILE=dept_instant.dmp TABLES=dept OBJECT_CONSISTENT=y ROWS=n
    imp userid=scott/tiger@db2 FILE=dept_instant.dmp IGNORE=y COMMIT=y LOG=import.log STREAMS_INSTANTIATION=y
    and then
    CONNECT sys/xxxxx@db2 AS SYSDBA
    ALTER TABLE scott.dept DROP SUPPLEMENTAL LOG GROUP log_group_dept_pk;
    CONNECT strmadmin/strmadminpw@db2
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'scott.dept',
    streams_type => 'apply',
    streams_name => 'apply_simp',
    queue_name => 'strmadmin.streams_queue',
    include_dml => true,
    include_ddl => true,
    source_database => 'db1');
    END;
    CONNECT strmadmin/strmadminpw@db2
    BEGIN
    DBMS_APPLY_ADM.SET_PARAMETER(
    apply_name => 'apply_simp',
    parameter => 'disable_on_error',
    value => 'n');
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'apply_simp');
    END;
    CONNECT strmadmin/strmadminpw@db1
    BEGIN
    DBMS_CAPTURE_ADM.START_CAPTURE(
    capture_name => 'capture_simp');
    END;
    Here is my problem:
    After i configured it the streams still cannot replicate. And when I checked the EM GUI for streams monitoring it displays a broken database link.
    Also it says that the database link is not active.
    Can anyone please help?
    Thanks.

    I don't know what Datacomp is, but you should be able
    to connect to any non-Oracle database if there is
    an ODBC driver for it. You would use Generic
    Heterogeneous Services to do this. See the following
    link to the documentation for details:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1656
    There are also several articles on the Net. Do a google
    search on oracle generic heterogeneous services /
    connectivity.
    Hope this helps.
    Kailash.

  • Oracle Streams 'ORA-25215: user_data type and queue type do not match'

    I am trying replication between two databases (10.2.0.3) using Oracle Streams.
    I have followed the instructions at http://www.oracle.com/technology/oramag/oracle/04-nov/o64streams.html
    The main steps are:
    1. Set up ARCHIVELOG mode.
    2. Set up the Streams administrator.
    3. Set initialization parameters.
    4. Create a database link.
    5. Set up source and destination queues.
    6. Set up supplemental logging at the source database.
    7. Configure the capture process at the source database.
    8. Configure the propagation process.
    9. Create the destination table.
    10. Grant object privileges.
    11. Set the instantiation system change number (SCN).
    12. Configure the apply process at the destination database.
    13. Start the capture and apply processes.
    For step 5, I have used the 'set_up_queue' in the 'dbms_strems_adm package'. This procedure creates a queue table and an associated queue.
    The problem is that, in the propagation process, I get this error:
    'ORA-25215: user_data type and queue type do not match'
    I have checked it, and the queue table and its associated queue are created as shown:
    sys.dbms_aqadm.create_queue_table (
    queue_table => 'CAPTURE_SFQTAB'
    , queue_payload_type => 'SYS.ANYDATA'
    , sort_list => ''
    , COMMENT => ''
    , multiple_consumers => TRUE
    , message_grouping => DBMS_AQADM.TRANSACTIONAL
    , storage_clause => 'TABLESPACE STREAMSTS LOGGING'
    , compatible => '8.1'
    , primary_instance => '0'
    , secondary_instance => '0');
    sys.dbms_aqadm.create_queue(
    queue_name => 'CAPTURE_SFQ'
    , queue_table => 'CAPTURE_SFQTAB'
    , queue_type => sys.dbms_aqadm.NORMAL_QUEUE
    , max_retries => '5'
    , retry_delay => '0'
    , retention_time => '0'
    , COMMENT => '');
    The capture process is 'capturing changes' but it seems that these changes cannot be enqueued into the capture queue because the data type is not correct.
    As far as I know, 'sys.anydata' payload type and 'normal_queue' type are the right parameters to get a successful configuration.
    I would be really grateful for any idea!

    Hi
    You need to run a VERIFY to make sure that the queues are compatible. At least on my 10.2.0.3/4 I need to do it.
    DECLARE
    rc BINARY_INTEGER;
    BEGIN
    DBMS_AQADM.VERIFY_QUEUE_TYPES(
    src_queue_name => 'np_out_onlinex',
    dest_queue_name => 'np_out_onlinex',
    rc => rc, , destination => 'scnp.pfa.dk',
    transformation => 'TransformDim2JMS_001x');
    DBMS_OUTPUT.PUT_LINE('Compatible: '||rc);
    If you dont have transformations and/or a remote destination - then delete those params.
    Check the table: SYS.AQ$_MESSAGE_TYPES there you can see what are verified or not
    regards
    Mette

  • Complex Oracle Streams issue - Update conflicts

    This is for Oracle streams replication on 11g r2.
    I am facing update conflicts in a table. The conflict arise due to technical and business logic issue. The business logic will pass through the replication/apply process successfully but we want to arrest and resolve it before replication for our requirements. These are typically a bit complex cases and we are exploring the possibility of having both DML handlers and Error handlers. The DML handlers will take care of business logic conflicts and Error handler for technical issues before pushing it to Error queue by Streams. Based on our understanding and verification, we found a limitation to configure both procedure DML handler and Error handler together for the same table operation.
    Statement handlers can not be used for our conflict scenarios.
    Following are my questions:
    1. Have anyone implemented or faced such a scenario in their real time application? If yes, can you please share some insights or inputs?
    2. Is there a custom way to handle this complex problem of configuring both DML and Error handler?
    3. Is there any alternative possible way to resolve this situation at Oracle streams environment with other handlers?

    Dear All
    I too have a similar requirement. Could anyone help with one?
    We can handle the error-ing transactions via Error Handler procedures.
    But we can not configure the DML handler procedure for transactions that are successfully replicated. STreams does not allow us to configure a handler for this. Is there any other handler / procedures / hooks in streams where we can implement the desired functionality - which includes changing the values in the LCR before invoking lcr.execute() and we should be able to discard the LCR also if required.
    Regards
    Velmurugan
    Edited by: 982387 on Jan 16, 2013 11:25 PM
    Edited by: 982387 on Jan 16, 2013 11:27 PM

Maybe you are looking for