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

Tags: Database

Similar Questions

  • 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-09925: cannot create the audit trail file / RCONFIG

    Hello

    I tried to convert a single DB instance named TESTDB in a RAC - DB named CARS on two nodes stb & dwh with rconfig!

    After running I got following error messages on one of the two nodes:
    /u01/app/oracle/product/11.2.0.2/db_1/dbs>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.2.0 Production on Tue Mar 8 15:17:09 2011
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    ERROR:
    ORA-09925: Unable to create audit trail file
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 9925
    ORA-01075: you are currently logged on
    
    
    Enter user-name:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    I tried to change the setting audit_file_dest on the instance of execution yet.

    And now I get the same errors on both instances.

    Help, please.

    hqt200475

    you do not need to change your spfile, create a valid directory for AUDIT_FILE_DEST

    If you do not know the value necessary relating to alert.log
    or take a look at your spfile
    or connect as a system with the parameter checking
    or find your spfile by see the spfile parameter
    or find your spfile in your alert.log
    or find with the trial obviously ist started and open.

    RN

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

  • KB2628259 doesn't install, cannot create the directory or file. Anyone know of a solution?

    KB2628259 doesn't install, cannot create the directory or file. Anyone know of a solution?

    Hi dakota25,

    ·         Did you do changes on the computer before the show?

    ·         You are able to install other updates successfully?

    ·         You get the error message?

    Follow these methods.

    Method 1: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: You can also manually install updates (KB number) by downloading from the Microsoft Download Center.

    http://www.Microsoft.com/downloads/en/default.aspx

    Method 4: Follow the steps in the article.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

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

  • Cannot create the folder of files of creative cloud.

    I get this message when I try to synchronize files with creative cloud folder:

    creative_cloud_problem.jpg

    I tried the options and close the program and restart the computer, but not luck.

    I had the same problem. SOLVED

    Looking at the lines CoreSync-YYYY-MM - DD.log , I noticed about corruption .db messages in the CoreSync directory.

    I resolved to rename

    \AppData\Roaming\Adobe\CoreSync C:\Users\

    in

    \AppData\Roaming\Adobe\CoreSync.old C:\Users\

    Before to rename you must be sure that the creative cloud application is not running.

    Then, turned off the option "Start connecting" in the preferences, then longin again.

    After the connection, rename and then manually start the creative Application of cloud.

    The application creates a new directory CoreSync, and it starts the sync!

    If this work for you, then you can remove safely the CoreSync.old directory.

    Ivano.

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

    8.1 window

    Cloud creative version 2.1.3.121

    Photoshop CC 2015

  • ORA-20100: error: failure FND_FILE. Cannot create the file

    Hi all
    Simultaneous application of Bellow error

    We using ORACLE 10 g. R12
    OS: RHEL 4.4 (LINUX)





    ---------------------------------------------------------------------------
    Execution of the expedition: Version: 12.0.0

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

    Module WSHINTERFACES: Interface travel Stop - SRS
    ---------------------------------------------------------------------------

    Current system time is January 27, 2013 09:58:58

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

    * Starts * January 27, 2013 09:58:58
    Error ORACLE 20100 in FDPSTP

    Cause: FDPSTP failed due to the ORA-20100: error: failure FND_FILE. Cannot create the file, l0633393.tmp in the directory/usr/tmp.
    You can find more information in the applications log.
    ORA-06512: at the 'APPS '. FND_FILE', line 554
    ORA-06
    ---------------------------------------------------------------------------
    Beginning of the FND_FILE log messages
    ---------------------------------------------------------------------------
    ---------------------------------------------------------------------------
    End of the FND_FILE log messages
    ---------------------------------------------------------------------------


    ---------------------------------------------------------------------------
    Options, AutoComplete, the request for enforcement.


    End of query options AutoComplete.

    ---------------------------------------------------------------------------
    Simultaneous request ended
    Current system time is January 27, 2013 09:58:58

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

    This issue is related to the Oracle EBS, mark it as here the answer and open it

    Oracle Discussion forums' E-Business Suite

  • 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 file when using rman

    Hello
    on 10g bR2 on windows machine my rman backup failed on a drive mapped with following error message:
    ORA-19504: cannot create file when using rman

    What do you suggest me?

    I heard that RMAN cannot write to the mapped file system. Is this true? Some people proposed:

    OracleService must be run by OS user with permissions

    But what oracle service? Target or RMAN catalog database database?

    Thank you.

    You must change your environment, on metalink:

    How to configure RMAN to write about readers shared on Windows NT/2000
    DOC - ID: Note: 145843.1

    Werner

  • Error message: cannot copy... Failed to create the directory or file.

    I get the Error Message ' cannot copy (a file USB Store n Go): failed to create the directory or file.»  All of a sudden I started getting error message is when I tried to copy to the USB mass storage: "F:" copy on the removable key worked for a proor very long in this message. And there are a lot of empty space.  The diagnosis says that everything works correctly.

    Dear Clarence

    Try first to unplug the mass storage device, then reconnect and format it by Righ click on Format.

    Then try to paste these files on this USB key again.

    If it fails this time then format your USB using HP USB stick formatting to http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-UNITY-I23839 tool

    Click Download on the page above. Install it and run it. This will guide you through the steps of formatting your USB drive in a few seconds...

    It is also useful for the repair of the almost dead usb keys.

    Concerning

    Zeeshan Ahmad

  • Cannot create the C:\WINDOWS\system32\drivers\drive.sys file

    Cannot create the file 'C:\WINDOWS\system32\drivers\drive.sys '. The process cannot access the file because it is being used by another process.

    I get this error message all the time on my desk. No matter what I do, internet research, watch videos, listen to music, work offline, it does not apply to just be online. I really want to know how to solve this problem, I searched everywhere I could, and I can't find again no anwer. Please reply and if you want more information, then I'll be happy to provide.
    Thanks for your time.

    Hello

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the above article.

    It will be useful.

  • Error in retrieving the metadata of HFM. Cannot create the file

    In our HFM 11.1.2.3.503, we get an error when we try to extract metadata from any application of HFM. The States of error message failed to create the file.

    We are on hfm.501 but I tried with connecting to 503 to see if it solved the problem, but there was no solution in sight.

    {796CEDB3-FC01-4A9C-856F-06FEDBF035F2}

    Cannot create the file.

    Error reference number: {796CEDB3-FC01-4A9C-856F-06FEDBF035F2}; User name: BI-DEMOS5$
    NUM: 0 x 80040230; Type: 1; DTime: 16/12/2015-21:27:04; SVR: BI-DEMOS5; File:; Line: 0; Worm:;

    There is no indication where he tries to put all the files so that I could try to find out if there is a setting somewhere pointing to a folder that does not exist or similar.

    Try the revision of the following document:

    • Hyperion Financial Management (HFM) error "unexpected error: 80040230 has occurred" trying to to Scan, load or extract meta-data (Doc ID 1282089.1)
  • ORA-04089: cannot create triggers on the objects belonged to SYS

    I did a google on this error and it say that I should never get to anything to do with the system and also to make another account when executing my script, I did this, but I still get the error code and the error is less than

    REM **********************************************************************

    CREATE TABLE gam_attribute_bin (/ * gam_ab * /)

    attribute_owner_type char (1) NOT NULL, / * player Att, Att User Instance Att Att class.

    Class criteria, client static/Gulp * /.

    ATTRIBUTE_NAME VARCHAR2 (20) NOT NULL,

    owner_id NUMBER (10) NOT NULL, / * specific check-in attribute_owner * /.

    LONG RAW NULL binary_value

    ) TABLESPACE gam_lgtab STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    /

    ALTER TABLE gam_attribute_bin ADD)

    CONSTRAINT gam_attribute_bin_pk

    UNIQUE (attribute_owner_type, owner_id, attribute_name)

    USING INDEX

    TABLESPACE gam_ind

    STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    )

    /

    Suppression of REM binary attribute when necessary

    CREATE TRIGGER gam_att_delete

    AFTER YOU REMOVE gam_attribute

    FOR EACH LINE

    BEGIN

    IF (: old.attribute_data_type = 'B')

    THEN

    DELETE FROM gam_attribute_bin

    WHERE attribute_owner_type =: old.attribute_owner_type

    AND attribute_name =: old.attribute_name

    AND owner_id =: old.owner_id;

    END IF;

    END;

    /

    ERROR on line 1:

    ORA-04089: cannot create triggers on the objects belonged to SYS

    hope someone can help me clear this up thanks

    Hello

    You code works very well for me.  I had to change to run on my system tablespaces, but otherwise, what you posted worked for me when I tried (in a different schema than SYS, of course).

Maybe you are looking for