Replicating database,  a function fails in replica

Hi all,
I'm trying to duplicate a database. I exported/imported some schemas to make it work with no problems, but I have a package function failing in its execution.
The function has a cursor used in a for statement. The query looks like:
SELECT number_field as field1, trim(mun_nom2_part||' '||mun_nom2) AS field2, varchar2_4length_field as field3
from table1 ...
union
SELECT number_field as field1, trim(mun_nom2_part||' '||mun_nom2) AS field2, varchar2_4length_field as field3
from table2 ...
union
SELECT number_field as field1, trim(mun_nom2_part||' '||mun_nom2) AS field2, varchar2_4length_field as field3
from table3 ...
order by field2
Results look like:
     0             ADMINISTRATOR                     0
     8995386    Btenhs je Cas                     7185
     1421397    Hracolters                             7370
     16919       Grntdetf t Xrists                     7446
     1             [Ftwiccpt rs Ryexa]             1
     12683904  Trageà gr Gpm                     7510
     625498      Feng Tguagóz gw Kcgis        8981
     2492617    Hyxte Ivloya ef Plahogtt     8993It executes OK in the original database, but it fails in the replica with an ORA-06502 error. If I execute the select, it's OK on both databases and the result in both is equal, but when looping the cursor it fails in the 7th row in the copy.
Any idea?
Thanks in advance.
Edited by: Eva VL on Jun 2, 2009 6:01 AM

Ok. The complete code looks like:
FUNCTION foo RETURN VARCHAR2 IS
    a_variable VARCHAR2(32000):='';
     b_variable NUMBER:=0;
     c_variable NUMBER;
       CURSOR cEntorns IS
SELECT some_col AS idMun, 'SOME TEXT' AS nom, '0' AS codidep
     FROM A_TABLE, B_TABLE, C_TABLE
     WHERE adm_cu = some_value.defined.outside
        AND ADM_MUN = 0
        AND adm_id=mov_idobj
        AND mov_estat = eob_id
        AND eob_estat_resum='1'
        AND mov_ultim=1
     UNION
SELECT some_col AS idMun, 'OTHER TEXT' AS nom, '1' AS codidep
     FROM A_TABLE, B_TABLE, H_TABLE
     WHERE adm_cu = some_value.defined.outside
        AND ADM_MUN = 1
        AND adm_id=mov_idobj
        AND mov_estat = eob_id
        AND eob_estat_resum='1'
        AND mov_ultim=1
     UNION
SELECT some_col AS idMun, trim(mun_nom2_part||' '||mun_nom2) AS nom, A_COLUMN AS codidep
     FROM A_TABLE, B_TABLE, C_TABLE, D_TABLE,
            E_TABLE, F_TABLE, G_TABLE, H_TABLE
     WHERE adm_cu = some_value.defined.outside
        AND ADM_MUN <> 0
        AND ADM_MUN <> 1
        AND ADM_MUN = MUN_ID
        AND adm_id=mov_idobj
        AND mov_estat = eob_id
        AND eob_estat_resum='1'
        AND mov_ultim=1
        AND    mun_id=adm_mun
         AND mun_codidep=dep_id
        AND ens_codi=dep_codi_origen
        AND ens_codi=egi_ens
        AND mun_prov=ens_codPro
        AND mun_codi=ens_codmun
   UNION
      SELECT some_col AS idMun, trim(mun_nom2_part||' '||mun_nom2) AS nom, A_COLUMN AS codidep
     FROM A_TABLE, B_TABLE, C_TABLE, D_TABLE,
            E_TABLE, F_TABLE, G_TABLE, H_TABLE
     WHERE prf_id=cmp_prf
        AND cmp_equ=equ_id
        AND prf_cu = some_value.defined.outside
        AND prf_id=mov_idobj
        AND mov_estat = eob_id
        AND eob_estat_resum='1'
        AND mov_ultim=1
        AND cmp_actiu='1'
        AND    mun_id=equ_mun
         AND mun_codidep=dep_id
        AND ens_codi=dep_codi_origen
        AND ens_codi=egi_ens
        AND mun_prov=ens_codPro
        AND mun_codi=ens_codmun
    ORDER BY
          nom;
BEGIN
  BEGIN
   a_variable := a_variable || '<VALUES>';
   FOR entorn IN cEntorns LOOP
       a_variable := a_variable || '<VALUE>';
       IF (entorn.idMun = 0) THEN
          a_variable := a_variable ||  '<ID>0</ID>';
          a_variable := a_variable||  '<NOM>SOME TEXT</NOM>';
       ELSIF (entorn.idMun = 1) THEN
          a_variable:= a_variable||  '<ID>1</ID>';
          a_variable:= a_variable||  '<NOM>OTHER TEXT</NOM>';
          b_variable:=1;
       ELSE
              a_variable:= a_variable||  '<ID>' || entorn.idMun || '</ID>';
              a_variable:= a_variable||  '<NOM>' || entorn.nom || '</NOM>';
       END IF;
       a_variable := a_variable|| '</VALUE>';
   END LOOP;
   if b_variable =0 THEN
         SELECT count(*)
         into c_variable
             FROM A_TABLE, B_TABLE, C_TABLE
             WHERE prf_cu = some_value.defined.outside
                and prf_mun=1
                AND prf_id=mov_idobj
                AND mov_estat = eob_id
                AND eob_estat_resum='1'
                AND mov_ultim=1;
         if c_variable <> 0 then
           a_variable := a_variable|| '<VALUE>';
           a_variable:= a_variable||  '<ID>1</ID>';
           a_variable:= a_variable||  '<NOM>OTHER TEXT</NOM>';
           a_variable:= a_variable|| '</VALUE>';
         end if;
   END IF;
   a_variable:= a_variable|| '</VALUES>';
   EXCEPTION
     WHEN OTHERS THEN
       nError:=SQLCODE;
       tError:=SQLERRM;
  END;
  RETURN a_variable;
END;The code does different actions, but the error is in the for loop. As I said, it fails when fetches a row with the value in the column 'nom' exceeds 19 characters.

Similar Messages

  • Moving Exchange 2010 Mailbox replicated databases path in DAG environments.

    Hi there,
    I’m trying to get some feedback on the topic of moving Exchange 2010 Mailbox replicated databases path in DAG environments.
    Here is the situation: I currently have a 3-Node DAG (Node 1 and Node 2 are in my main datacenter, and Node 3 in my Disaster Recovery (DR) site in a remote location.
    I have DB copies in Node 2 and Node 3. The thing is that the DB copies in Node 2 are in an older storage box and since we got a new storage box, I need to move the DBs and related logs of Node 2 to the new storage box
    I have found some information about how to deal with this (below I’m listing a KB link) but I would like to reconfirm a couple of things to make sure I’m understanding this correctly
    Move the Mailbox Database Path for a Mailbox Database Copy:
    https://technet.microsoft.com/en-us/library/dd979782%28v=exchg.141%29.aspx
    According to the KB: “If the mailbox database being moved is replicated to one or more mailbox database copies, you must follow the procedure in this topic to move the mailbox
    database path”
    Would this apply to my case even when I’m moving the BDs copies and Logs on Node 2 as opposed to Node 1 where the source DBs are?
    On step #3 in the procedure, you are supposed to “Remove all mailbox database copies for the database being moved. After all copies are removed, preserve the database and transaction log files from each server from which the database copy is being removed
    by moving them to another location. These files are being preserved so the database copies do not require re-seeding after they have been re-added.”
    Then in Step # 7, you are supposed to “Add all of the database copies that were removed in Step #3”
    As far as I know, when you add a copy of a database, Exchange creates the copy DB and starts to seed the replica servers with an up to date copy of the DB and all the current transaction logs at that point…according to the instructions
    above, you are supposed to re-add the DB copied we preserved...does it mean that we need to wait for the DBs seed process to finish after “adding the DB copy” and then replace the new DBs copies and logs created by the “Add database copy” function with the
    DB and logs preserved in Step #3?
    Thanks in advance for your feedback!
    FT
    FT

    Hi there,
    What the article is stating is that once you have removed the copies you can keep the existing transaction log files and database edb file to allow you not to have to do a full seed. You can do this by using the -seedingpostponed parameter in
    Add-MailboxDatabaseCopy
    However, and quite honestly, if your database isn't that big and your are not worried about performing a full copy of the database again to the other DAG members once you have moved your database to its preferred new location, just add the copy in the normal
    way and remove the legacy files afterwards.
    Oliver Moazzezi | Exchange MVP, MCSA:M, MCITP:Exchange 2010,Exchange 2013, BA (Hons) Anim | http://www.exchange2010.com | http://www.cobweb.com | http://twitter.com/OliverMoazzezi

  • DataSource for Replicated Database

    Hi, first, of all, I don't know if this forum is the right place to post my question, so sorry for bothering you!
    I'm working in a project where I'm thinking about using two Oracle databases one replicating the other. I read somewhere that this using Multimaster Replication is a good way to obtain more availability. But I don't know how to create a DataSource in OC4J that can use both databases and choose the one that's not down. If I were using Weblogic, I could create a connection pool for each database, and then create a MultiPool that uses the already created pools.
    I don't know if I miss something in the documentation of Multimaster Replication, but I don't see how to create a single point of access for the Replicated databases, and neither how to create a DataSource for OC4J that can access more than one database. I'm totally new in Oracle world! Perhaps it isn't the better way to obtain more availabilty, perhaps I need to use a third component to provide a single point of access for the databases. I really don't know!
    Thanks in advance,
    RGB

    Roberto,
    Multi-master replication is for distributed datbase. The best thing to have a better database availability is 9i Real Application Cluster.
    Please follow http://otn.oracle.com/products/oracle9i/content.html to read more about RAC.
    regards
    Debu

  • Multiple processes accessing a replicated database

    Hi
    I am after some help with multiple processes and replicated databases.
    I have a primary and secondary database replicated across a pair of servers and this seems to be working well. I'm trying to run another process on one of the machines that opens the environment and databases to view and/or modify the data.
    The problem is that when I run this process it causes some sort of corruption such that the server process on the same box gets a DB_EVENT_PANIC the next time it accesses the database. I would like to understand what I am doing wrong.
    The servers and standalone process all use the same code to open and close the environment and databases (see below). Just calling
         open_env();
         open_databases();
         close_databases();
         close_env();
    in the utility process causes DB_EVENT_PANIC in the server process.
    Can anybody spot what I am doing wrong? I am using DB Version 4.7
    Thanks
    Ashley
    open_env() {
    db_env_create(&dbenv, 0);
    dbenv->app_private = &my_app_data;
    dbenv->set_event_notify(dbenv, event_callback);
    dbenv->rep_set_limit(dbenv, 0, REPLIMIT);
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT | DB_TXN_NOSYNC, 1);
    dbenv->set_lk_detect(dbenv, DB_LOCK_DEFAULT)
    int flags = DB_CREATE | DB_INIT_LOCK |
              DB_INIT_LOG | DB_INIT_MPOOL |
              DB_INIT_TXN | DB_RECOVER | DB_THREAD;
    flags |= DB_INIT_REP;
    dbenv->repmgr_set_local_site(dbenv, listen_host, port, 0);
    dbenv->rep_set_priority(dbenv, 100);
    dbenv->repmgr_set_ack_policy(dbenv, DB_REPMGR_ACKS_ONE);
    for (x = 0; x < num_peers; x++) {
    dbenv->repmgr_add_remote_site(dbenv, peers[x].name, peers[x].port, &peers[x].eid, 0);
    dbenv->rep_set_nsites(dbenv, num_peers + 1);
    dbenv->open(dbenv, ".", flags, S_IRUSR | S_IWUSR);
    dbenv->repmgr_start(dbenv, 3, DB_REP_ELECTION);
    sleep(SLEEPTIME);
    close_env() {
    dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    dbenv_p->close(dbenv_p, 0);
    open_databases() {
    db_create(&dbp, dbenv_p, 0)
    flags = 0;
    if (app_data->is_master)
    flags |= DB_CREATE;
    dbp->open(dbp, NULL, "primary", NULL, DB_HASH, flags, 0);
    ... Wait for db if slave and ENOENT ...
    primary = dbp;
    dbp->open(dbp, NULL, "secondary", NULL, DB_BTREE, flags, 0);
    ... Wait for db if slave and ENOENT
    secondary = dbp;
    while (app_data->client_sync) {
    sleep(SLEEPTIME);
    close_databases() {
         secondary->close(secondary, 0);
         primary->close(primary, 0);
         dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    }

    Running recovery (DB_RECOVER flag to env->open()) must be done only in the first process to open the environment.
    This is a general rule of Berkeley DB, not specific to replication. You can read more about it in the Reference Guide, on the page entitled "Architecting Transactional Data Store applications".

  • Replicated database

    hi all
    ora 8i on sunsolaris
    I want to replicate the production database with the standby database. Both are having almost equal resources, which is the best option to create replicated database, it should be COST EFFECTIVE. we generate millions of records everyday. Could any one tell me in detail?
    reg
    bala

    Hi,
    You can create your standby database with a cold backup, or with a hot backup. In your case, perhaps the better is :
    1. create a standby controlfile
    2. stop production,
    3. copy datafile on standby site
    4. create your standby database
    5. start your standby database
    6. strat your production
    You can find information about creation of standby database here :
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76995/standbyc.htm
    I created a standby with this support, only problem with a temporary tablespace wtih tempfile (please see metalink note 101627.1).
    Attention about your network and quantity/size of datafile which transit about this network... I must to modify listener.ora from standby site with prespawn process.
    Nicolas.

  • Replicated database deadlocks.

    We have a production database that sits on server1.
    This database has transactional replication. There is a replicated database that sits on server2. On server2 there are other databases that READ from the replicated database.
    Our admins have noticed that there are deadlocks getting created in the replicated database. So the developers have requested for a second replicated instances. This request has been turned down with a note - Another replicated instance would put a load
    on the production database that sits on sqlserver1.
    How do you collect stats to prove or disprove this statement?
    This is SQL Server 2008 (not R2)

    First, you should not have deadlocks on read.  This would be a result of your snapshot isolation level.  Before doing anything, you should look at that.
    Second, having a 2nd subscriber to a database has no impact at all on the source server.  It simply delivers the data to 2 destinations instead of 1.  In addition, this will in no way fix your problem.

  • Moving of EUL from Prod to Replicated Database

    Hi All,
    I have a question, I have to move EUL from PROD Database to the Replicated Database for good, can i do that in R12? version of the ebiz is 12.1.3 and Discovers EUL has to be moved I know it is quite tightly integrated. Is there a way to perform this task. Your comment and view are Appreciated
    Regards
    Younus

    Ah, that old "dynamically". Which means "Some mysterious process which is too complicated for me to understand", at least that's how it's commonly used in Java language forums.
    But it isn't really that mysterious. Given a table, run the query "select * from table". Then use the ResultSetMetaData to find out how many columns you selected. Then create an insert command with that many parameters and build a PreparedStatement from it. For each row in the ResultSet, copy its columns to those parameters and execute the insert.
    Or you could use the database's own features to do the copying. Probably more practical than writing "dynamic" Java code anyway.

  • Can you setup CDC on Replicated Database and not the source database

    I just want to confirm the following:
    Can you setup Change Data Capture on the replicated database. (SQL 2008 R2, SQL 2012)
    To be clear CDC will not be setup on the source server database, it will only be setup on the replicated database.
    Everything I've read so far says you can but there are pit falls and probably is not a good idea.
    What are the pros and cons?
    What is best practice.

    Yes, you can.
    Have you seen this article?
    http://blogs.msdn.com/b/repltalk/archive/2010/04/19/change-data-capture-best-practices.aspx
    I use replication all the way. You can replicate to a different table of a different schema in the same database. In most cases where people do cdc I find that they can use replication to achieve the same goals.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • How to use Logical database in function module?

    I will create a function module in HR.
    but how to use Logical database  in function module ?  Logical database PNP always show screen.in function (RFC) code , it is a matter.

    You cannot attach the LDB to the main program of the function group.
    - So you may [SUBMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=submit&adv=false&sortby=cm_rnd_rankvalue] a report which use the LDB and get back the data (export/import), by default in the syntax of SUBMIT the selection-screen will not be displayed
    - Use [LDB_PROCESS|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ldb_process&cat=sdn_all], fill a structured table for selection, and get data back in another table
    - Use [HR function modules to read Infotypes|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrfunctionmodulestoread+Infotypes&adv=false&sortby=cm_rnd_rankvalue].
    Regards

  • ORA-01122: database file 8 failed verification check

    trc file: "dev_w0", trc level: 1, release: "700"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Apr 29 17:57:51 2014
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' ...
    B  Library 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' loaded
    B  Version of 'D:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.73)
    B  New connection 0 created
    M sysno      00
    M sid        DEV
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    75
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        2816
    M
    M  kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2816) [dpxxdisp.c   1299]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is active
    M  DpShMCreate: sizeof(wp_adm) 18304 (1408)
    M  DpShMCreate: sizeof(tm_adm) 3994272 (19872)
    M  DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
    M  DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm) 528064 (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=2600/8/208056/208064
    M  DpShMCreate: sizeof(file_adm) 208064 (72)
    M  DpShMCreate: sizeof(vmc_adm) 18720 (1440)
    M  DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm) 48
    M  DpShMCreate: SHM_DP_ADM_KEY (addr: 08750040, size: 4880152)
    M  DpShMCreate: allocated sys_adm at 08750040
    M  DpShMCreate: allocated wp_adm at 08751E40
    M  DpShMCreate: allocated tm_adm_list at 087565C0
    M  DpShMCreate: allocated tm_adm at 087565F0
    M  DpShMCreate: allocated wp_ca_adm at 08B25890
    M  DpShMCreate: allocated appc_ca_adm at 08B2B650
    M  DpShMCreate: allocated comm_adm at 08B2D590
    M  DpShMCreate: allocated file_adm at 08BAE450
    M  DpShMCreate: allocated vmc_adm_list at 08BE1110
    M  DpShMCreate: allocated gw_adm at 08BE1150
    M  DpShMCreate: allocated vmc_adm at 08BE1180
    M  DpShMCreate: allocated ca_info at 08BE5AA0
    M  DpShMCreate: allocated wall_adm at 08BE5AA8
    M  DpSesCreateTable: attached session table at 06440040 (len=138424)
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0

    X Tue Apr 29 17:57:52 2014
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  DpVmcInit2: o.k.

    M Tue Apr 29 17:57:53 2014
    M  ThInit: running on host sapecc6

    M Tue Apr 29 17:57:54 2014
    M  calling db_connect ...
    C  Prepending D:\usr\sap\DEV\DVEBMGS00\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06C34308   06C398A4   06C3912C
    C  Attaching to DB Server DEV (con_hdl=0,svchp=06C39078,svrhp=06C4A944)
    C  Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)

    C Tue Apr 29 17:57:55 2014
    C  Now '/@DEV' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=06C39078,usrhp=06C979A8)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06C34308   06C398A4   06C3912C
    C  Starting user session (con_hdl=0,svchp=06C39078,srvhp=06C4A944,usrhp=06C979A8)
    C  Now 'SAPSR3/<pwd>@DEV' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance DEV is running on SAPECC6 with ORACLE version 10.2.0.2.0 since 20140429
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20140429 175754 SAPECC6        
    M  db_connect o.k.
    M  ICT: exclude compression: *.zip,*.cs,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.js,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif
    M  ThVmcSetParam: switch vmcj/vm_auto_restart 0 -> 0 sec

    J Tue Apr 29 17:57:57 2014
    J  extMemCheck is set to disp+work.ThVmcMemCheck(thxxvmemu.c:2756)
    J  extGcMemReserve is set to disp+work.ThVmcGcMemReserve(thxxvmemu.c:2587)
    J  extGcMemCommit is set to disp+work.ThVmcGcMemCommit(thxxvmemu.c:2624)
    J  extGcMemFree is set to disp+work.ThVmcGcMemFree(thxxvmemu.c:2643)
    J  extCreateSharedCodeCache is set to disp+work.ThVmcSharedCodeCacheCreate(thxxvmemu.c:1941)
    J  extSetSharedCodeCachePerm is set to disp+work.ThVmcSharedCodeCacheSetPerm(thxxvmemu.c:2019)
    J  extMalloc is set to disp+work.ThVmcMallocDispatcher(thxxvmemu.c:2070)
    J  extCalloc is set to disp+work.ThVmcCallocDispatcher(thxxvmemu.c:2097)
    J  extRealloc is set to disp+work.ThVmcReallocDispatcher(thxxvmemu.c:2124)
    J  extFree is set to disp+work.ThVmcFreeDispatcher(thxxvmemu.c:2149)
    J  extAddResourceToHeap is set to disp+work.ThVmcAddResourceToHeap(thxxvmemu.c:2662)
    J  extRemoveResourceFromHeap is set to disp+work.ThVmcRemoveResourceFromHeap(thxxvmemu.c:2688)
    J  extGetLocalMemory is set to disp+work.ThJGetLocalMemory(thxxvmemu.c:2833)
    J  extGetLocalMemoryPeak is set to disp+work.ThJGetLocalMemoryPeak(thxxvmemu.c:2845)
    J  extGetLocalAllocatedMemory is set to disp+work.ThJGetLocalAllocatedMemory(thxxvmemu.c:2857)
    J  extGetGlobalMemory is set to disp+work.ThJGetGlobalMemory(thxxvmemu.c:2902)
    J  extGetGlobalMemoryPeak is set to disp+work.ThJGetGlobalMemoryPeak(thxxvmemu.c:2914)
    J  extGetGlobalAllocatedMemory is set to disp+work.ThJGetGlobalAllocatedMemory(thxxvmemu.c:2926)
    J  extGetUsedBytes is set to disp+work.ThVmcGetUsedBytes(thxxvmemu.c:2710)
    J  extGetGuardInfo is set to disp+work.ThVmcGetGuardInfo(thxxvmemu.c:1410)
    J  extWriteMemoryDump is set to disp+work.ThJWriteMemoryDump(thxxvmemu.c:1437)
    J  extGetPid is set to disp+work.ThJGetPid(thxxjava.c:7663)
    J  extRegPtr is set to disp+work.ThJRegPtr(thxxvmemu.c:1178)
    J  extGetPtr is set to disp+work.ThJGetPtr(thxxvmemu.c:1190)
    J  extDeregPtr is set to disp+work.ThJDeregPtr(thxxvmemu.c:1202)
    J  extAbort is set to disp+work.ThVmcJAbortHandler(thxxjava.c:6095)
    J  extExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
    J  extSaveExit is set to disp+work.ThVmcJExitHandler(thxxjava.c:5994)
    J  extSaveErrTxt is set to disp+work.ThVmcJSetVmErrTxt(thxxjava.c:6065)
    J  extSemLock is set to disp+work.ThJSemLock(thxxvmemu.c:545)
    J  extSemUnlock is set to disp+work.ThJSemUnlock(thxxvmemu.c:551)
    J  extMtxOpen is set to disp+work.ThJMtxOpen(thxxvmemu.c:641)
    J  extMtxClose is set to disp+work.ThJMtxClose(thxxvmemu.c:665)
    J  extMtxLock is set to disp+work.ThJMtxLock(thxxvmemu.c:685)
    J  extMtxTrylock is set to disp+work.ThJMtxTrylock(thxxvmemu.c:780)
    J  extMtxUnlock is set to disp+work.ThJMtxUnlock(thxxvmemu.c:853)
    J  extMtxForceUnlock is set to disp+work.ThJMtxForceUnlock(thxxvmemu.c:928)
    J  extMtxLockCount is set to disp+work.ThJMtxLockCount(thxxvmemu.c:975)
    J  extMtxLocked is set to disp+work.ThJMtxLocked(thxxvmemu.c:981)
    J  extMtxLocking is set to disp+work.ThJMtxLocking(thxxvmemu.c:1013)
    J  extMtxWaitingVms is set to disp+work.ThJMtxWaitingVms(thxxvmemu.c:1046)
    J  extMtxIAmOwner is set to disp+work.ThJMtxIAmOwner(thxxvmemu.c:1101)
    J  extOpen is set to disp+work.ThIoJavaOpen(thxxfile.c:381)
    J  extReopen is set to disp+work.ThIoJavaReopen(thxxfile.c:535)
    J  extClose is set to disp+work.ThIoJavaClose(thxxfile.c:665)
    J  extSeek is set to disp+work.ThIoJavaSeek(thxxfile.c:750)
    J  extSetLength is set to disp+work.ThIoJavaSetLength(thxxfile.c:882)
    J  extSync is set to disp+work.ThIoJavaSync(thxxfile.c:910)
    J  extIoAvailable is set to disp+work.ThIoJavaAvailable(thxxfile.c:937)
    J  extFileSizeFd is set to disp+work.ThIoJavaFileSizeFD(thxxfile.c:965)
    J  extPread is set to disp+work.ThIoJavaPRead(thxxfile.c:1074)
    J  extPwrite is set to disp+work.ThIoJavaPWrite(thxxfile.c:1111)
    J  extReadv is set to disp+work.ThIoJavaReadV(thxxfile.c:994)
    J  extWritev is set to disp+work.ThIoJavaWriteV(thxxfile.c:1038)
    J  extFDataSync is set to disp+work.ThIoJavaDataSync(thxxfile.c:1145)
    J  extFixVmToProcess is set to disp+work.ThIoFixVmToWp(thxxfile.c:1230)
    J  extReleaseVmFromProcess is set to disp+work.ThIoRelVmFromWp(thxxfile.c:1239)
    J  extGetOSDescriptor is set to disp+work.ThIoJavaGetOsFd(thxxfile.c:1249)
    J  extDetachIo is set to disp+work.ThIoJavaDetach(thxxfile.c:1273)
    J  extSocket is set to disp+work.ThSoSocketVmc(thxxsock.c:798)
    J  extRecvMsg is set to disp+work.ThSoRecvmsg(thxxsock.c:1147)
    J  extSendMsg is set to disp+work.ThSoSendmsg(thxxsock.c:1569)
    J  extCloseSocket is set to disp+work.ThSoCloseSocket(thxxsock.c:985)
    J  extConnect is set to disp+work.ThSoConnect(thxxsock.c:809)
    J  extBind is set to disp+work.ThSoBind(thxxsock.c:1804)
    J  extAccept is set to disp+work.ThSoAccept(thxxsock.c:1985)
    J  extListen is set to disp+work.ThSoListen(thxxsock.c:2230)
    J  extPoll is set to disp+work.ThSoPoll(thxxsock.c:2381)
    J  extShutdown is set to disp+work.ThSoShutdown(thxxsock.c:2633)
    J  extGetSockOpt is set to disp+work.ThSoGetsockopt(thxxsock.c:2787)
    J  extSetSockOpt is set to disp+work.ThSoSetsockopt(thxxsock.c:2963)
    J  extGetSockName is set to disp+work.ThSoGetsockname(thxxsock.c:3122)
    J  extGetRecvLength is set to disp+work.ThSoGetrecvlength(thxxsock.c:3305)
    J  extSetNonBlocking is set to disp+work.ThSoSetnonblocking(thxxsock.c:3464)
    J  extCreateControlArea is set to disp+work.ThJCreateControlArea(thxxvmemu.c:3099)
    J  extGetControlArea is set to disp+work.ThJGetControlArea(thxxvmemu.c:3113)
    J  extNotifyAboutControlFlagChange is set to disp+work.ThJControlFlagChange(thxxjava.c:6147)
    J  extVmRunningInWp is set to disp+work.ThJVmRunningInWp(thxxjava.c:7500)
    J  extVmRunningOnJavaStack is set to disp+work.ThJVmRunningOnJavaStack(thxxjava.c:7508)
    J  extGetJavaMainStack is set to disp+work.ThJGetJavaMainStack(thxxjava.c:7513)
    J  extAlarm is set to disp+work.ThJAlarm(thxxjava.c:6215)
    J  setGlobalsHook is set to disp+work.ThJSetGlobals(thxxjava.c:6386)
    J  getGlobalsHook is set to disp+work.ThJGetGlobals(thxxjava.c:6374)
    J  getWpIdHook is set to disp+work.ThGetWpId(thxxtool.c:2002)
    J  getWpNoHook is set to disp+work.DpWpAdmEntry(dpxxtool.c:3215)
    J  getVmCount is set to disp+work.ThJGetVmcCount(thxxjava.c:3154)
    J  getEvtConnHdl is set to disp+work.ThJGetEvtConnHdl(thxxjava.c:1099)
    J  selNextHdl is set to disp+work.ThVmcSelNextHdl(thxxvmio.c:335)
    J  rollOut is set to disp+work.ThJRollOut(thxxjava.c:5737)
    J  sleepFunc is set to disp+work.ThJSleep(thxxjava.c:6901)
    J  selTimeout is set to disp+work.ThJSelTimeout(thxxjava.c:7292)
    J  proxyWakeup is set to disp+work.ThJHandleProxyWakeup(thxxjava.c:7610)
    J  extGetProxyActivatedHook is set to disp+work.ThJGetSapProxyActivated(thxxjava.c:7423)
    J  getVmcFlavour is set to disp+work.ThJGetVmcFlavour(thxxjava.c:7675)
    J  getVmType is set to disp+work.ThJGetVmType(thxxjava.c:7687)
    J  getVmMaxNo is set to disp+work.ThJGetVmMaxNo(thxxvmemu.c:3049)
    J  getVmId is set to disp+work.ThJGetActVmc(thxxjava.c:9681)
    J  isValidVmId is set to disp+work.ThJisValidVmId(thxxvmemu.c:3075)
    J  getVmUuid is set to disp+work.ThJGetVmUuid(thxxvmemu.c:3059)
    J  createUniqueId is set to disp+work.ThJCreateUniqueId(thxxvmemu.c:3084)
    J  statisticActive is set to disp+work.ThJStatisticsActive(thxxjava.c:7830)
    J  openStatInterval is set to disp+work.ThJOpenStatInterval(thxxjava.c:7852)
    J  closeStatInterval is set to disp+work.ThJCloseStatInterval(thxxjava.c:7868)
    J  intervalStatActive is set to disp+work.ThJIntervalStatActive(thxxjava.c:7885)
    J  extTrace is set to disp+work.ThJTrace(thxxvmemu.c:3129)
    J  extGetBuiltinLibs is set to disp+work.ThJGetBuiltinLibs(thxxjava.c:6250)
    J  extFindNative is set to disp+work.ThJFindNative(thxxvmemu.c:3150)
    J  extPreloadNativeOpen is set to disp+work.ThJPreloadNativeOpen(thxxjava.c:6264)
    J  extPreloadNativeSym is set to disp+work.ThJPreloadNativeSym(thxxjava.c:6276)
    J  extGetDebugFlags is set to disp+work.ThVmcGetBitmasks(thxxvmc.c:2500)
    J  extStartExternalTimer is set to disp+work.ThJStartExternalTimer(thxxjava.c:6288)
    J  extStopExternalTimer is set to disp+work.ThJStopExternalTimer(thxxjava.c:6309)
    J  extCheckForCleanup is set to <null>
    J  extJvmxInit2 is set to <null>
    J  extJvmxCleanup is set to <null>
    M  ThVmcInitWaitForVm: th_maxWaitForVmTime=30

    I Tue Apr 29 17:58:05 2014
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF (addr: 0BD30040, size: 4400000)
    M  SHM_ROLL_AREA (addr: 59250040, size: 61440000)
    M  SHM_PAGING_AREA (addr: 0C7D0040, size: 32768000)
    M  SHM_ROLL_ADM (addr: 0C170040, size: 615040)
    M  SHM_PAGING_ADM (addr: 0C210040, size: 525344)
    M  ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0C2A0040
    M  ThCreateNoBuffer index size: 3000 elems
    M  ThCreateVBAdm allocated 12160 bytes (50 server) at 0C330040
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    X  ES initialized.

    C Tue Apr 29 17:58:06 2014
    C  *** ERROR => ORA-376 occurred when executing SQL statement (parse error offset=0)
    [dbsloci.c    12548]
    C  sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT                        
    C  SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
    C  sc_p=06198094,no=1,idc_p=06B97F38,con=0,act=1,slen=66,smax=256,#vars=0,stmt=06C5E6B8,table=DDNTT                        
    C  prep=0,lit=0,nsql=0,lobret=0,#exec=1,dbcnt=0,upsh_p=00000000,ocistmth_p=06C51FC0
    C  IN : cols=0,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=-1,rsize=0,vmax=0,bound=0,iobuf_p=00000000,vda_p=00000000
    C       lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
    C  OUT: cols=1,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=0,upto=-1,rsize=4,vmax=32,bound=1,iobuf_p=05637578,vda_p=06C5DB68
    C       lobs=0,lmax=0,lpcnt=0,larr=00000000,lcurr_p=00000000,rret=0
    C  SELECT COUNT(*) FROM DDNTT WHERE TABFORM <> 'J' AND TABFORM <> 'V';
    B  ***LOG BYL=> DBQ action required because of database error            [dbsh#2 @ 1100] [dbsh    1100 ]
    B  SQL code: 376, SQL text: ORA-00376: file 8 cannot be read at this time
    B  ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5'
    B  ***LOG BY4=> sql error 376    performing SEL on table DDNTT      [dbstat#4 @ 693] [dbstat  0693 ]
    B  ***LOG BY0=> ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: 'D:\ORACLE\DEV\SAPDATA1\SR3_5\SR3.DATA5' [dbstat#4 @ 693] [dbstat  0693 ]
    B  init: Got no entries from DDNTT !
    B  init failed
    B  db_stinit failed
    M  *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [thxxtool3.c  260]
    M  *** ERROR => ThIPCInit: hook failed [thxxhead.c   2047]
    M  ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c   1494]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c   10156]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sapecc6_DEV_00 on host sapecc6 (wp 0)
    M  *  ERROR       ThInit: ThIPCInit
    M  *
    M  *  TIME        Tue Apr 29 17:58:06 2014
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          17
    M  *  MODULE      thxxhead.c
    M  *  LINE        10354
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2816) [dpnttool.c   327]
    sql>select status from v$datafile;
    status
    One of my datafile status is 'RECOVER'
    SQL>recover datafile 8;
    ora_00283 recover session cancelled due to errors
    ora_01110:datafile 8:'d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01122:database file 8 failed cerification check
    ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01251:unknown file header version read for file number 8
      Please give me the suggestion..
    Best regards
    nani

    Hi K Nani,
    From your error message
    ora_01122:database file 8 failed cerification check
    ora_01110:datafile 8:d:\oracle\sid\sapdata1\sr3_5\sr3.data5'
    ora_01251:unknown file header version read for file number 8
    Looks like Data file is corrupted.
    You may refer SAP note 696141 - Composite SAP Note: ORA-01122
    10. ORA-01251: Unknown File Header Version read for file number <file_id>
    Reason: The file header cannot be correctly read.
    Solution: If you use Oracle 9.2 on WINDOWS and if you already installed the database with Oracle 7.2 or lower, see Note 636466.
               Otherwise: Restore/recovery
    Only solution here is restore the database from backup.
    Alternate solution If it is a non-production system.
    If the file is corrupted, then take the datafile offline and open the database.
    Hope this helps
    Regards,
    Deepak Kori

  • Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed

    Hello,
    I am trying to install Microsoft SQL Server 2008 R2. I get the error bellow (Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed). I already have a copy of SQL Server 2008 R2 on the machine.
    I want to create a new named instance of SQL Server for some software I'm installing.
    The error is below.
    Any help would be much appreciated, thanks!
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Exit code (Decimal):           -595541211
      Exit facility code:            1152
      Exit error code:               49957
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Start time:                    2014-02-06 09:14:09
      End time:                      2014-02-06 11:18:16
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0x44D4F75E%400xDC80C325
    Machine Properties:
      Machine name:                  BAHPBZ52TY
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      Sql Server 2008 R2   SQLEXPRESS           MSSQL10_50.SQLEXPRESS          Database Engine Services                
    1033                 Express Edition      10.50.1600.1    No        
      Sql Server 2008 R2                                                      
    Management Tools - Basic                 1033                 Express Edition     
    10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      Installation location:         c:\c7ced2c86d6b9813b28186cc831c2054\x64\setup\
      Installation edition:          EXPRESS_ADVANCED
      Slipstream:                    True
      SP Level                       1
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      True
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             
      CUSOURCE:                      
      ENABLERANU:                    True
      ENU:                           True
      ERRORREPORTING:                False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,RS,SSMS,SNAC_SDK,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              c:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           c:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    aedt2bSQL
      INSTANCENAME:                  AEDT2BSQL
      ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     c:\c7ced2c86d6b9813b28186cc831c2054\PCUSOURCE
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           BAH\568385
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Full-Text Search
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Reporting Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Management Tools - Basic
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync Framework
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\SystemConfigurationCheck_Report.htm

    Hello,
    If you see error descriptioon it gives access denied so basically it is because of some access issue.I guess You must be using some domin account for installation make sure it is  added as local administrator also instead of using NT Authority network
    service  as SQL server service account use local system account .
    Below link would help
    http://serverfault.com/questions/212135/access-is-denied-error-installing-sql-server-2008-on-windows-7
    You can also browse to setup.exe file and RK on it and select run as administrator
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to register database plsql function in obiee

    Hi,
    I've a database plsql function which accepts two date arguments - StartDate and EndDate and return Integer.
    I discoverer like we've Plsql function registration tool, where we import function and pass parameter values as arguments in report- how same can be done in Oracle BI Administration tool and BI Answers?
    I tried to create logical column as
    EVALUATE('YOUR_FUNCTION(%1, %2, %3, %4)' as varchar(20),@{p_1},@{p_2},@{p_3},@{p_4})
    it is giving syntax error.
    url: How to store OBIEE presentation level variable values in DB
    Please help. It is really urgent.
    Kind Regards.

    Hi,
    I created 2 session variables p_startym and p_endym of char datatype and called in function(name: RepInitDates). It looks like:
    EVALUATE('INIT_DATES_MONID(%1, %2)' AS INTEGER , VALUEOF(NQ_SESSION."p_startym"), VALUEOF(NQ_SESSION."p_endym")).
    Now I've presentation variables StartMonth and EndMonth in bi answers report, whose value i want to pass to p_startym and p_endym. What should be the syntax of Bi answers column? Please reply.
    Thanks

  • Oracle 11g "Oracle Database Configuration Assistant" failed

    Hi
    am trying to install oracle 10g databse .
    am getting Configuration assistant "Oracle Database Configuration Assistant" failed
    in log file i see
    [Thread-19] [18:32:29:343] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
    [Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
    [Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
    [Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
    [Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
    [Thread-19] [18:32:29:343] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
    i have created microsoft loop back adapator and configured TCP/IP.
    what would be the problem?

    At the Oracle Support site https://support.oracle.com
    To access the document, you will need a valid CSI (Customer Support Identifier), which is given when you purchase a support contract from Oracle.
    If you do not have a CSI, I would recommend that you completely uninstall the product and reinstall again by following the Install Guide at http://www.oracle.com/pls/db102/portal.portal_db?selected=11
    HTH
    Srini

  • 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

  • Configuration assistant "Oracle Database Configuration Assistant" failed

    I install oracle 10g on HP UX 11.23. I got this error :
    hecking for PHSS_33278; found Not found.     Failed <<<<
    Checking for PHSS_33279; found Not found.     Failed <<<<
    Checking for PHSS_33277; found Not found.     Failed <<<<
    Checking for PHSS_33279; found Not found.     Failed <<<<
    , my first question :
    can i pass this step, ?
    after all, my installation form is okey, but everything change become nightmare.
    I installation failed on Configuration Assistant :
    Configuration assistant "Oracle Database Configuration Assistant" failed
    OUI-25031:some of the configureation assistants failed. it is strongly recommended that you retry configuration assistants at this time. not successfully running any "recommended" assistants means your system will not be correctly configured.
    1. check the details panel on the configuration assistant screen to see the error resulting in the failures
    2. fix the errors causing these failures
    3. select the failed assistants and click the retry button to retry the
    Configuration assistant "Oracle Database Configuration Assistant" failed
    The "/oracle/OraHome_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.-----------------------------------------------------------------------------

    But i still get this error. Do you have solution for this ?
    I installation failed on Configuration Assistant :+
    Configuration assistant "Oracle Database Configuration Assistant" failed+
    OUI-25031:some of the configureation assistants failed. it is strongly recommended that you retry configuration assistants at this time. not successfully running any "recommended" assistants means your system will not be correctly configured.+
    *1. check the details panel on the configuration assistant screen to see the error resulting in the failures*
    *2. fix the errors causing these failures*
    *3. select the failed assistants and click the retry button to retry the*
    Configuration assistant "Oracle Database Configuration Assistant" failed The "/oracle/OraHome_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.-----------------------------------------------------------------------------+
    Edited by: user9198604 on Feb 25, 2010 3:37 AM

Maybe you are looking for

  • Unix command in channel

    Hello All, I am trying to rename a file (which is created by channel) using "Run Operating System Command After Message Processing" Following is the command that I mentioned in the channel: mv /tmp/output.txt output_latest.txt When a message is trigg

  • Settings icon

    i have deleted the settings icon from my iphone 5. It is still there when I double click the home button. How can I get the icon back?

  • Rich Client 3.0 Error - File Lost

    in rich client 3.0, a user has been working on the same .wid file for hours.  after about 4 hours, the .wid seems to just disappear when user user tries to save.  we can duplicate the issue every time in 3.0.  in 3.1, we do not experience the problem

  • How to specify dataschema name for oracle data source?

    hi all, I've a following problem: we have specified 2 Oracle dataschemas into a one Oracle SID, choosing of dataschema depends on user login name. So, if I use SQL/Plus then I successful connect with proeprietary database schema, and when I specify t

  • Why are my digital raw files changing color when imported in photoshop and light room?

    when I open my raw files in photoshop, the whites get blown out and the images have green/ yellow tint. I've tried using color sync utilities to correct the issue, but I keep getting this message when I try to repair profiles: Searching for profiles.