ORA-29868: cannot issue the DOF on a field marked as LOAD index

When I try to delete a text index I get the message: ORA-29868: cannot issue the DOF on a field marked as LOAD index

Here are all of the command I use to drop it:

Start

ctx_ddl.drop_preference ('"IDX_SO_DST" ');

end;

/

Start

ctx_ddl.drop_preference ('"IDX_SO_FIL" ');

end;

/

Start

ctx_ddl.drop_section_group ('"IDX_SO_SGP" ');

end;

/

Start

ctx_ddl.drop_preference ('"IDX_SO_LEX" ');

end;

/

Start

-ctx_ddl.unsetset_attribute ('"IDX_SO_WDL" ', 'STEMMER');

-ctx_ddl.unset_attribute ('"IDX_SO_WDL" ', 'FUZZY_MATCH');

ctx_ddl.drop_preference ('"IDX_SO_WDL" ');

end;

/

Start

ctx_ddl.drop_stoplist ('"IDX_SO_SPL" ');

end;

/

Start

ctx_ddl.unset_attribute ('"IDX_SO_STO" ', 'R_TABLE_CLAUSE');

ctx_ddl.unset_attribute ('"IDX_SO_STO" ', 'I_INDEX_CLAUSE');

ctx_ddl.drop_preference ('"IDX_SO_STO" ');

end;

/

Drop index "ACQUISITIONS." "" IDX_SO ".

When I try to get command of the force

ALTER INDEX "ACQUISITIONS." "' IDX_SO ' DROP FORCE

I get the message:

ORA-14004: lack of keyword SCORE

I don't know how to get this table partitions

Can you advise how to find partitions?

or how to remove the particular index successful? This is a test environment.

I run 11.2 under windows.

Thank you

It looks that it is locally partitioned index, so "alter index" will not work without a partition name. But you can try simply

DROP INDEX FORCE;

If this does not work, try to restart the database and repeat the index fall. Do not use FORCE unless you have to.

If it still does not work, you will need to login as SYS and run

ctxsys.ctx_adm.mark_failed ("", "")

that resets any clue to 'FAIL' status and allow to delete the index (even once, do not use FORCE unless you have to).

Tags: Database

Similar Questions

  • ORA-19846: cannot read the header of the data file of the remote site 21

    Hello

    I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).

    Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.

    After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.

    Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:

    RMAN > recover database service prim noredo using backupset compressed;

    To go back to November 8, 15

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 70 = device = DISK stby type instance

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015

    ORA-19846: cannot read the header of the data file of the remote site 21

    The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.

    Thank you.

    I tried like below:

    1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.

    2 copy the backup of the watch parts, catalogged them on the day before.

    3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.

    OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.

    Make it like:

    1. take incremental backup of primary SNA, also ensures the backup controlfile format.

    2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.

    3. Since you are using OMF, the path of primary and standby data file will be different. (/). If you require catalog data from the database files pending.

    (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.

    4. turn the database copy by RMAN. (RMAN > switch database to copy ;))

    5 Catalog backup items that you copied in step 2.

    6. recover the standby database using 'noredo' option.

    7. finally start the MRP. This should solve your problem.

    The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.

    In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.

    HTH

    -Jonathan Rolland

  • ORA-19504: cannot create the file '+ DATA '.

    Hello everyone.

    This is the scenario:

    We have a test server that is used to restore daily backups of the Production database. Restore us the database with the same SID as the production one.

    For specific reasons, we need create a second database (with a different SID) on this server with an older backup from the production one. To realize that I'm trying to use a part of the "DUPLICATE without connection to the target" tutorials on the web.

    I tried the simple guide that I found which is:

    (1) copy the backup files cold /somedirectory

    (2) start OLD database with nomount

    (3) connect RMAN with OLDER as an auxiliary

    (4) run the following: DUPLICATE DATABASE FOR OLD BACKUP LOCATION ' / somedirectory' NOFILENAMECHECK.

    Here's the result (I deleted some lines because of the size of it):

    ----------------------

    RMAN > ProdDB to OlderDB DUPLICATE DATABASE

    2 > LOCATION of BACKUP "/ home/oracle/OlderBackupFiles.

    3 > NOFILENAMECHECK.

    4 >

    From October 1, 14 Db double

    content of Script memory:

    {

    clone of SQL 'alter system set control_files =

    "+DATA/OlderDB/controlfile/current.829.859839217" comment =

    ' Set by RMAN "scope = spfile;

    clone of SQL 'alter system set = db_name

    "ProdDB" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone of SQL 'alter system set db_unique_name =

    "OlderDB" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone to stop immediately;

    Start clone force nomount

    Restore controlfile primary clone of ' / home/oracle/OlderDB/controlfile_ProdDB_20141001_4159.bkp';

    change the clone database mount;

    }

    execution of Script memory

    SQL statement: alter system set control_files = comment "+DATA/OlderDB/controlfile/current.829.859839217" = "defined by RMAN" scope = spfile

    SQL statement: change the system db_name set = comment "ProdDB" = "modified by RMAN duplicate" scope = spfile

    SQL statement: alter system set db_unique_name = comment "OlderDB" = "modified by RMAN duplicate" scope = spfile

    (...)

    From restoration to 1 October 14

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 191 type device = DISK

    channel ORA_AUX_DISK_1: restore the control file

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:03

    output file name=+DATA/OlderDB/controlfile/current.829.859839217

    Restoration finished in October 1, 14

    mounted database

    output channel: ORA_AUX_DISK_1

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 191 type device = DISK

    content of Script memory:

    {

    until the SNA 274262921.

    the value of newname for datafile clone 1 again;

    the value of newname for datafile clone 2 again.

    the value of newname for datafile clone 3 again.

    the value of newname for datafile clone 4 new ones;

    the value of newname for datafile clone 5 again.

    the value of newname for datafile clone 6 again.

    the value of newname for datafile clone 7 again.

    restoration

    database clone;

    }

    (...)

    From restoration to 1 October 14

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: from the restore backup set data file

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00001 to + DATA

    channel ORA_AUX_DISK_1: restore datafile 00002 to + DATA

    channel ORA_AUX_DISK_1: restore datafile 00003 to + DATA

    channel ORA_AUX_DISK_1: restore datafile 00004 in + DATA

    channel ORA_AUX_DISK_1: restore datafile 00005 to + DATA

    channel ORA_AUX_DISK_1: restore datafile 00006 to + DATA

    channel ORA_AUX_DISK_1: restore datafile 00007 to + DATA

    channel ORA_AUX_DISK_1: reading from the backup /home/oracle/OlderDB/database_ProdDB_20141001_4157.bkp piece

    channel ORA_AUX_DISK_1: ORA-19870: error when restoring the backup /home/oracle/OlderDB/database_ProdDB_20141001_4157.bkp piece

    ORA-19504: cannot create the file '+ DATA '.

    ORA-17502: ksfdcre:4 cannot create the file + DATA

    ORA-15041: diskgroup space 'DATA' exhausted

    switch to the previous backup

    Oracle instance started

    (...)

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "OlderDB" comment =

    ' Restore the original value by RMAN "scope = spfile;

    clone of SQL 'alter system reset db_unique_name scope = spfile;

    clone to stop immediately;

    }

    execution of Script memory

    Errors in the script of the memory

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06136: the auxiliary database ORACLE error: ORA-01507: database not mounted

    ORA-06512: at "SYS." "X$ DBMS_RCVMAN ', line 13466

    ORA-06512: at line 1

    RMAN-05556: not all data files have backups can be recovered on SNA 274262921

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06026: some targets not found - abandonment of restoration

    RMAN-06023: no backup or copy of the file 4 found to restore

    RMAN-06023: no backup or copy of datafile 3 found to restore

    RMAN-06023: no backup or copy of datafile 2 found to restore

    RMAN-06023: no backup or copy of datafile 1 found to restore

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command duplicate Db at 15:39:11 01/10/2014

    RMAN-05501: abandonment of duplicate target database

    Complete recovery manager.

    ------------------------------------------------------------------

    The first mistake of the stack was ORA-19504 while trying to restore the backup of the database.

    First thing I took a glance was ASM occupation but it enough available space.

    The second was a permission problem, but it doesn't seem to be the case because RMAN can correctly write the controlfile to ASM.

    One have some advice on what I should look for?

    Thanks in advance sorry for my English.

    Select this option.

    Hello.

    Thanks, but is not the case. As I have said, that the DATA diskgroup has space enough he uses only a single disk in a RAID.

    But I solved my problem... To the auxiliary database, I added the following to the spfile:

    DB_FILE_NAME_CONVERT = '+ DATA/ProdDB', '+ DATA/OlderDB ".

    LOG_FILE_NAME_CONVERT = '+ DATA/ProdDB', '+ DATA/OlderDB ".

    I don't know why, but with these two clauses, it worked well. Perhaps RMAN was trying to restore it to the wrong place?

  • ORA-00313: cannot open the online newspaper

    Hi all!!!

    Help, please

    % sqldba startup

    SQL * DBA: Version 6.0.33.1.1 - Production sea Jul 11 15:40:37 2013

    Copyright (c) Oracle Corporation, 1979, 1989.  All rights reserved.

    RDBMS ORACLE v6.0.33.1.1, option - Production of transactional processing

    ORACLE instance started.

    Mounted database.

    ORA-00313: cannot open the online journal "/ u1/oradata/orac/log2orac.dbf" (log # 2, log)

    ORA-00320: cannot read the log file header

    ORA-07362: sfifi: error, cannot open the file open.

    UNIX System V 386/486: 13 error: permission denied

    Attempt to disassemble the database... The database is dismounted.

    Attempt to stop instance... ORACLE instance stops.

    SQL * DBA complete.

    %

    Idea?

    987301 wrote:

    Hi all!!!

    Help, please

    % sqldba startup

    SQL * DBA: Version 6.0.33.1.1 - Production sea Jul 11 15:40:37 2013

    Copyright (c) Oracle Corporation, 1979, 1989.  All rights reserved.

    RDBMS ORACLE v6.0.33.1.1, option - Production of transactional processing

    ORACLE instance started.

    Mounted database.

    ORA-00313: cannot open the online journal "/ u1/oradata/orac/log2orac.dbf" (log # 2, log)

    ORA-00320: cannot read the log file header

    ORA-07362: sfifi: error, cannot open the file open.

    UNIX System V 386/486: 13 error: permission denied

    Attempt to disassemble the database... The database is dismounted.

    Attempt to stop instance... ORACLE instance stops.

    SQL * DBA complete.

    %

    Idea?

    ANCIENT Oracle (V6)?

    the file u1/oradata/orac/log2orac.dbf' actually exist?

    When the last time Oracle began you it without error.

    What has happened since?

  • ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

    I'm trying to recover the database in waiting, but it gives the error below.

    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
    ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

    When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

    "media recovery has not started.

    It seems that the recovery was stuck between the two.
    Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

    Thanks in advance.

    Dataguard and MRP, you run a script before.

    In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

    In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

    Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

    What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
    Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

    Hemant K Collette

    Published by: Hemant K Collette on May 29, 2013 17:47

  • Cannot start db > ORA-09925: cannot create the audit trail file

    version 10.1.0.5.0
    AIX 3 5 00C9CEA04C00 dcxnim01

    When I'm trying to start db, getting this message any idea?

    SQL > connect virtue sysdba;
    ERROR:
    ORA-09925: cannot create the audit trail file
    IBM AIX RISC System/6000 error: 89: invalid file system control data detected
    Additional information: 9925
    ORA-09925: cannot create the audit trail file
    IBM AIX RISC System/6000 error: 89: invalid file system control data detected
    Additional information: 9925


    Here's the tail of the log of alerts

    3 Private_strands to the log command
    Thread 1 Advanced for you connect to sequence 3923
    Currently journal # 1, seq # 3923 mem # 0: /db01/oradata/ldapdcx1/ldapdcx1/redo01.log
    Fri 6 Aug 16:48:34 2010
    Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_j001_991348.trc file:
    [ORA-07445: exception encountered: core dump [] [] [] [] []]
    Fri 6 Aug 16:48:35 2010
    Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_mmnl_508106.trc file:
    [ORA-07445: exception encountered: core dump [] [] [] [] []]
    Fri 6 Aug 16:48:38 2010
    Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_ckpt_839714.trc file:
    [ORA-07445: exception encountered: core dump [] [] [] [] []]
    ORA-27072: IO file error
    IBM AIX RISC System/6000 error: 5: i/o error
    Additional information: 9
    Additional information: 3
    Fri 6 Aug 16:48:38 2010
    Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_lgwr_905470.trc file:
    [ORA-07445: exception encountered: core dump [] [] [] [] []]
    ORA-27063: number of bytes read or written is incorrect
    IBM AIX RISC System/6000 error: 5: i/o error
    Additional information:-1
    Additional information: 1024
    Fri 6 Aug 16:49:07 2010
    Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_pmon_848078.trc file:
    ORA-00470: LGWR process ended with the error

    IBM AIX RISC System/6000 error: 5: i/o error
    Additional information:-1

    Problem of the OS.
    What is the problem at the level of the BONE with the disc?

    unpacking of tail - 100

  • ORA-12054: cannot set the ON COMMIT...

    Hello
    can someone please tell me what am I missing here?
    I can't create a materialized view, but I can't understand why is this?
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE    9.2.0.7.0       Production
    TNS for HPUX: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production
    
    
    SQL> r
      1* select master,primary_key from user_mview_logs where MASTER='CIS_CASE' or master='CCR_ACTION_DEF'
    
    MASTER                         PRI
    ------------------------------ ---
    CCR_ACTION_DEF                 NO
    CIS_CASE                       NO
    
    
    
    SQL> r
      1  SELECT a.table_name, a.constraint_name, a.constraint_type, b.column_name
      2    FROM user_constraints a, user_cons_columns b
      3   WHERE a.constraint_name = b.constraint_name
      4*    AND a.table_name IN ('CIS_CASE', 'CCR_ACTION_CASES')
    
    TABLE_NAME                     CONSTRAINT_NAME                C COLUMN_NAME
    ------------------------------ ------------------------------ - ----------------
    CCR_ACTION_CASES               ID_PK                          P ID
    CIS_CASE                       PK_CIS_CASE                    P ID
    CIS_CASE                       SYS_C008496                    C ID
    
    
    
    SQL> CREATE MATERIALIZED VIEW mv
      2    REFRESH FAST ON COMMIT
      3  AS
      4  SELECT c.ID,
      5         CASE
      6            WHEN (c.script_id IS NULL OR c.queue_id IS NULL)
      7               THEN 1
      8            WHEN c.script_id IS NOT NULL AND c.queue_id IS NOT NULL
      9               THEN 2
     10         END TYPE,
     11         c.datum + a.due_time / 24 - a.alarm_due_time_1 / 24 alarm1,
     12         c.datum + a.due_time / 24 - a.alarm_due_time_2 / 24 alarm2,
     13         c.datum + a.due_time / 24 due_date
     14    FROM ccr_action_def a, cis_case c                                  --users u
     15   WHERE NVL (a.queue_id, NVL (c.queue_id, 0)) = NVL (c.queue_id, 0)
     16     AND NVL (a.type_id, NVL (c.case_code_type_id, 0)) =
     17                                                    NVL (c.case_code_type_id, 0)
     18     AND NVL (a.code_id,
     19              NVL (NVL (NVL (c.code_id_4, code_id_3), code_id_2), code_id_1)
     20             ) = NVL (NVL (NVL (c.code_id_4, code_id_3), code_id_2), code_id_1)
     21     AND (c.datum + a.due_time / 24 < SYSDATE)
     22     AND state IN (1, 2)
     23  UNION
     24  SELECT c.ID, 3 TYPE, a.due_date - a.alarm_due_time_1 / 24 alarm1,
     25         a.due_date - a.alarm_due_time_2 / 24 alarm2, a.due_date
     26    FROM ccr_action_cases a, cis_case c
     27   WHERE c.ID = a.cis_case_id
     28     AND (a.due_date < SYSDATE)
     29     AND state IN (1, 2);
      FROM ccr_action_cases a, cis_case c
           *
    ERROR at line 26:
    ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view

    Vili Dialis wrote:
    Rob, if you have any comments on my last query operation, I would be greatfull.

    Vili,

    You must start with a join view which does not contain any aggregate. Just a join of the ccr_action_def and cis_case. And don't forget to include the two table rowid to make quickly updatable. Then create a full blown newspaper on top of the join mv materialized view and create mv aggregation, selecting in the mv to join.

    Kind regards
    Rob.

    Published by: Rob van Wijk on 14-dec-2009 12:09

    And two boards that are not linked mv:

    (1) as has said, use a.id and c.id in a group by clause for the query itself work
    (2) do not use the string ' 14.12.09", use a date but you compare it with a date. So use: date "2009-12-14'

  • ORA-19504 cannot create the file "+ FRA/test1".

    Hi all

    OPERATING SYSTEM:-RHEL5

    DB version: GR 2-11

    I'm trying to save a tablespace in the slot path mentioned using the script below

    RMAN > backup tablespace users of devices type disk;

    But what exactly is the error I get: -.

    RMAN > backup tablespace users of devices type disk;

    From backup 2014-01 - 09:12:37:44

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 23 type of device = DISK

    channel ORA_DISK_1: starting full datafile from backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    Enter a number of file datafile = name=+DATA/orcl/datafile/users.259.836129771 00004

    channel ORA_DISK_1: starting piece 1 at 2014-01 - 09:12:37:44

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03009: failure of the backup command on the 09/01/2014 12:37:45 channel ORA_DISK_1

    ORA-19504: could not create the file "+ FRA/test1".

    ORA-17502: ksfdcre:4 cannot create the file + FRA/test1

    ORA-15005: name "test1" is already used by an existing alias

    Configure it order what I did is: -.

    RMAN > CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT "+ FRA/test1";

    and I create the destination required "+ FRA/test1".

    Thanks in advance

    How about using below

    Set UP the FORMAT of DISC TYPE CHANNEL DEVICE "+ FRA/orcl/test1_t%t_s%s_p%p";

    Concerning

    Anurag

  • ORA-06565: cannot run the ROLE VALUE from stored procedures

    Hello!

    I'm trying to call a procedure from a function. Among the statements in the procedure stored is of dbms_session.set_role ('HAVE');

    I get the error "Cannot run a DEFINED ROLE less stored proceduers". I joined the call in an anonymous block above, but the error still exists.

    Any idea will really help me.

    Thank you

    >
    I'm trying to call a procedure from a function. Among the statements in the procedure stored is of dbms_session.set_role ('HAVE');

    I get the error "Cannot run a DEFINED ROLE less stored proceduers". I joined the call in an anonymous block above, but the error still exists.

    Any idea will really help me.
    >
    This will work only if the procedure is defined for the APPELLANT's rights.

    Roles are disabled in named PL/SQL blocks unless you use of the APPELLANT's rights by setting the code with AUTHID CURRENT_USER.

    The Oracle documentation provides a very clear explanation - based restriction is for the NAMED PL/SQL blocks rights DEFINER of this use (the default):
    >
    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.
    >
    The database Security Guide has the information in the section "operation of the roles in PL/SQL blocks (which, of course, wouldln was necessary if they didn't work.).
    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/authorization.htm#i1007304
    >
    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.

    Roles used in the appointed with rights to define blocks
    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with DEFINER SESSION_ROLES rights issues, the query returns no rows.

    See also:

    Oracle database reference

    Roles used in blocks named with the rights of the plaintiff and anonymous PL/SQL
    Named PL/SQL blocks that run with the rights of the applicant and the anonymous PL/SQL blocks are executed at the end of the privileges granted through active roles. Current roles are used for verification within rights Summoner of privilege the PL/SQL block. You can use dynamic SQL statements to define a role in the session.

  • ORA-12913 cannot create the dictionary managed during import tablespace

    Greetings,
    I'm a newbie om moving databases between servers.

    I get the following error: "ora-12913 cannot create tablespace dictionary managed" when executing the data pump import. It is a 10.2.0.4 database that I'm moving from HP - UX PA-RISC to HP-UX-Itanium. It seems that all managed tablespaces locally were ok. Some of the successful dictionary tablespaces had problems (DRSYS, INDX, RBS, TOOLS)

    Should I convert all tablespaces dictionary managed locally managed tablespaces before data pump export/import? Note that this is a very small database with little use, then what better practical performance I'd like to hear.

    Thanks colin

    Published by: YJC on Aug 17, 2010 15:16

    >
    (1) should all be converted to Locall managed?
    (2) can the RBS safely deleted, given that an UNDO tablespace that uses the DB.
    >

    Only the SYSTEM will have to be migrated to managed locally. The RBS tablespace can be deleted if there is a separate UNDO tablespace and the database uses undo automatic management.

    HTH
    Srini

  • 10gr 2-Sybase15-ORA-28545: cannot retrieve the text of the message from NETWORK/NCR

    Hi all

    I am trying to establish connectivity between Oracle 10 g 2 (Win XP Pro 2002) and Sybase ASE 15.0.2 (Sun Solaris 5.9) by using the transparent gateway for Sybase (TG4SYBS), but encountered the following error. I have looked for a solution quite well in all directions, but so far have been quite unlucky. This is my last resort. I don't really know what I'm doing wrong as I followed the steps of installation and configuration correctly. Please note:
    -Oracle transparent gateway software and database are installed in different homes; and,
    -J' created and tested the ODBC DSN connectivity with the Sybase server.

    The only thing that I have real concern about is the version of the Sybase server 64-bit OS; Windows Oracle server is 32-bit. Are going to count this could be the problem?

    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT


    I am enclosing also any of the configuration system below:

    ------------------------------------------------------------------------------

    Database server
    ===============

    V Windows XP Professional 2002 SP2

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0

    Sybase Adaptive Server ODBC Driver 15.00.00.152


    C:\ > echo %path%
    C:\oracle\product\10.2.0\tg_1\bin; E:\OracleHomes\agent10g\jlib; E:\OracleHomes\ag
    ent10g\bin; E:\OracleHomes\oms10g\bin; E:\OracleHomes\oms10g\jlib; C:\Program Files
    Company \Business Objects\BusinessObjects 6\bin\orb\asp\6.0\bin. C:\Program Fi
    les\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin; C:\Program Files\B
    usiness Objects\BusinessObjects Enterprise 6\bin; C:\sybase\DataAccess\OLEDB\dll;
    C:\sybase\DataAccess\ODBC\dll; C:\sybase\Shared\Sybase Central 4.3; C:\sybase\OCS-
    15_0\lib3p; C:\sybase\OCS-15_0\dll; C:\sybase\OCS-15_0\bin; C:\sybase\JS-12_5\bin; C
    : \sybase\ADO.NET\dll; C:\sybase\ODBC; C:\Program WinRAR; C:\Windows\System32;
    C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\sybase\DBISQL\bin

    ------------------------------------------------------------------------------

    Sybase server
    =============

    Er1min01 of SunOS 5.9 Generic_122300-11 sun4u sparc SUNW, Sun-Fire-V440

    Adaptive Server Enterprise/15.0.2/EBF 14328, P, Sun_svr4, OS 5.8/ase1502/2486/64-b
    IT/FBO/Thursday 24 May 12:18:26 2007

    ------------------------------------------------------------------------------

    Sybase SQL.ini
    ==============

    [MINSAT]
    Master = TCP, 192.168.1.150, 5002
    Query = TCP, 192.168.1.150, 5002

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\tg_1 > tg4sybs

    Oracle Corporation - WEDNESDAY SEP 23 2009 02:43:29.406

    Heterogeneous Agent Release 10.2.0.1.0 - Production built with
    Driver for SYBASE

    ------------------------------------------------------------------------------

    inittg4sybs.ora
    ===============

    # This is an example of initialization file of the agent that contains the HS settings
    # needed for the transparent gateway for Sybase

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = MINSAT.csstat
    HS_FDS_TRACE_LEVEL = OFF
    HS_FDS_RECOVERY_ACCOUNT = RECOVERY
    HS_FDS_RECOVERY_PWD = RECOVERY
    #HS_FDS_TRANSACTION_MODEL = READ_ONLY

    #
    # Required for Sybase environment variables
    #
    SYBASE the value = "C:\\sybase".

    ------------------------------------------------------------------------------

    Listener.ora
    ============

    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = tg4sybs)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    )
    )

    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER = OFF

    ------------------------------------------------------------------------------

    tnsnames.ora
    ============

    tnsnames.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    TEMP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TEMP)
    )
    )

    csstat =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.123.49)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = csstat)
    )
    (HS = OK)
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > lsnrctl status CSSTAT

    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-SEP-2009 02:47
    : 10

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=192.168.123.49) (PORT = 152
    ((1)) (CONNECT_DATA = (Server = Dedicated) (service_name = csstat))(HS=OK))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
    ction
    Start date 23 - SEP - 2009 01:48:54
    Uptime 0 days 0 h 58 min 16 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.o
    RA
    Listener log file C:\oracle\product\10.2.0\db_1\network\log\listener.log

    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=FH) (PORT = 1521)))
    Summary of services...
    Service 'OEMREP_XPT' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'TEMPXDB' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'TEMP_XPT' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'csstat' has 1 instance (s).
    Instance of 'csstat', status UNKNOWN, has 1 operation for this service...
    Service 'oemrep' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    'Temp' service has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    The command completed successfully

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > tnsping CSSTAT

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production 23-SEP-2
    009 02:48:12

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.
    123.49)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cssta
    (t)) (t)) (HS = OK))
    OK (20 ms)

    ------------------------------------------------------------------------------

    SQL > create database link csstat connect to the 'fw' identified by ' * ' using 'csstat ';

    Database link created.

    ------------------------------------------------------------------------------

    SQL > select * from sys.hs_fds_class;

    FDS_CLASS_NAME
    FDS_CLASS_COMMENTS
    FDS_CLASS_ID

    BITE
    Integrated Test environment
    1

    ------------------------------------------------------------------------------

    SQL > show parameter global_names;

    VALUE OF TYPE NAME
    global_names boolean FALSE

    ------------------------------------------------------------------------------

    SQL > select * from SIMSwap@csstat;
    Select * from SIMSwap@csstat
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT

    ------------------------------------------------------------------------------

    you use the Oracle Listener database in C:\oracle\product\10.2.0\db_1\ to spawn TG4SYBS installed in a different House: C:\oracle\product\10.2.0\tg_1. This works when you specify the full path in the listener.ora to tg4sybs executable file. The section of SID might look like:
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = C:\oracle\product\10.2.0\tg_1\tg4sybs)
    )

    Then STOP and START the listener and try again.

  • ORA-09925, cannot create the audit trail file

    OS: Linux to Oracle 7

    DB: Oracle 12.1.0.2.0

    When I try to start the database in Sqlplus I get the error: ORA-09925, please see the screen capture below.  Please let me know if I can provide more information.

    Thanks for your help.

    ORA-09925.png

    It seems that your name is db12c, so just change the name of initcdb1.ora to initdb12c.ora just to have a regularity.

    The most important thing is that the name of your instance defined as ORACLE_SID owes much to a model.

    In the example

    db_name = WHATEVR (in your init*.ora file)

    ORACLE_SID = SOMETHING (at the level of the BONE)

    If your init.ora file must be called initSOMETHING.ora. It has nothing to do with your db_name

  • Cannot issue the open disk

    Hi all

    I have ESXi installed on our server. I received a few VM folders with our test WHAT VM inside our office in europe. Using the vSphere Client I downloaded the files for the virtual machine for the farm data store, but when I try to start the virtual machine, I get one:

    Cannot open disk ' / vmfs/volumes/xxxxxxxx-xxxxxxxx-xxx-xxxxxxxxxxx/VM_files/BASE_VM_xxxxxxxx/xxxxxxxx/theapparentlymissingfile.vmdk ' or one of the snapshot disks it depends on.
    The system cannot find the specified file.

    I have gone through the forums here and on Google and tried several of the corrections proposed such as the removal of the. VMDK.lck file. There was another who proposed changing the vmx file and change the name of the file that is the same as the one I had.

    The file is there, but for some reason, he doesn't see it. y at - there something I am missing being new to VMware. I have to start from scratch, if I can't get these working locally.

    Thanks in advance

    You can download the http://kb.vmware.com/kb/1023856 tool (see "Accessories").

    To convert the virtual disk to an ESXi supported format run

    VMware - vdiskmanager.exe - r 'Digipos book PC SP1.vmdk' t 4 "Digipos book PC SP1 - new.vmdk.

    then download the two newly created files ("Digipos book PC SP1 - new.vmdk ' and Digipos book PC SP1-new - flat hard') on the ESXi host and change the settings for the virtual machine, i.e. to remove the bad virtual disk and add the right pair.

    Please be aware that the resulting virtual disk will have a size of 40GB.

    André

  • Error:... Cannot open the image, a unknown jpeg marker is located. Can it be fixed or is my trash image?

    When I try to open an image I created in Photoshop at the time to edit it, I get the message that it cannot open it because an unknown jpeg marker is found. Can it be fixed or is my trash image? Thank you. Kimberly WhiteFox

    WhiteFox Logo 192x192.jpegGeneral discussion of Photoshop

    WhiteFox, salvation

    Please follow the link below to fix this problem.

    Not valid error JPEG marker | Pictures of the opening

    Let us know if it helps.

    ~ Mohit

  • It will frequently commit resolve ora-30036 (cannot extend the undo tablespace)

    I use 11.2.0.3 database. I confused on the use of validation to resolve ora-30036.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace) .

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    We would commit determination ORA-30036 in my case? If not why? Is there a better solution to solve it.


    When I say commit frequent, I won't commit after each line, I just want to commit after may be million lines, so that my active cancellation extend turn into cancellation remaining will extend and Oracle will be able to use it in case of pressure of space.


    Note:

    UNDO_MANAGEMENT: AUTO

    UNDO_RETENTION: 2700

    Undo tablespace retention is NOGAURANTEE.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace).

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    Why don't you increase it?

    You must use the correct size of UNDO necessary for the work that will be done.

    A lot of shops to create a for big lots new UNDO tablespace and then switch to it for batch processing. Once the task is completed, they switch back to the normal UNDO. That prevents the normal RETURN of autoextending far where it is normally necessary:

    ALTER SYSTEM SET UNDO_TABLESPACE

Maybe you are looking for