purge alerts

Hello

in Foglight 5.6.4 is it possible of scheduel purge alerts in a regulare way? For example, serving every day any more warning of 15 days.

If yes how?

Only kou.

The ClearAndDeleteAlarms cartridge has two rules for DISABLED for:

Erase all FATAL alarm NOT after 7 days, then delete them after 90 days

-AlarmClearAfterDays

Only alarms that are not deleted will be deleted

-AlarmDeleteAfterDays

Unlikely, but before the deletion, alarms will be canceled if they are not cleared for any reason any

The rules use two Reg Vars to control 7 and 90

-AlarmClearAfterDays = 7

-AlarmDeleteAfterDays = 90

The rules are driven calendar, start of the day, which is by default: 00:00 every day

Tags: Dell Tech

Similar Questions

  • OSB SB Console - Operations Dashboard/Monitoring/Dashboard/Server Health - Purge alerts/errors

    OSB SB Console - Operations Dashboard/Monitoring/Dashboard/Server health

    has a lot of errors/alerts/warnings which have not been purged. I see no provision to purge these alerts/messages?

    1 > how to purge these messages of errors/alerts.

    2 > how to set up these

    Thank you!

    Fact are based on the domain log file. A reboot must turn the log file.

    Log rotation can also be configured in the weblogic console.

    servers-> osb_server1-> log tab-> general tab-> advanced options.

  • How to purge system OAM alerts and metrics in 11i

    Hello

    How to purge alerts system OAM and metric.

    I see a lot of alerts.

    Critical 51 0
    881 error 0
    WARNING 0


    OS: Linux OEL
    EBS: 11.5.10.2

    Hello

    You can purge using the simultaneous program "purge Logs and closed alerts system" in R12 and simultaneous program "Purge Debug Log and system alerts ' in 11i

    How to debug various components in the Applications Dashboard, tab Overview OAM 2.2 [ID 290023.1]
    Debugging of purge log and system alerts program does not Purge any record [ID 361523.1]
    Procedure to Purge FND_LOG_MESSAGES in Oracle Application 11i version and Release 12? [735138.1 ID]
    Log debug purge and alerts [ID 332103.1] system performance issues

    Thank you
    Hussein

  • Alert & Audit Log purge script example

    Hi Experts,

    Can someone point to examples of scripts for

    1 alert & purge the audit log?

    2. rotation of log listener?

    I'm sorry if issues look too naïve, I'm new to DBA activities; pls let me know if more details are needed.

    From now the script must be independent of the versions/platforms

    Kind regards

    34MCA2K2 wrote:

    Thank you very much for your answer!

    If auditing is enabled in Oracle, it generates newspapers or she inserts into a SYS. Table?

    Well, that your settings initialization of the 'check' show?

    For the newspaper of the listener "rotation", just rename listener.log to something else (there is an OS command for that), then bounce the listener.

    You don't want to purge the log of alerts you want to 'rotate' as well.  Just rename the existing file to something else. (there is an OS command for this)

    So this has to be managed at the level of operating system instead of having a utility. Also if this is the case, this must be done when the database is stopped in right?

    No, the database doesn't have to be stopped to rotate the log of the listener.  The database does not give a flying fig on the log of the listener.

    No, the database doesn't have to be stopped to rotate the log of alerts.  If the alert log is not there when he needs to write for her, it will just start a new.  BTW, since 11g, there are two newspapers to alert... the old familiar, now located in $ORACLE_BASE/diag/rdbms / $ORACLE_SID / $ORACLE_SID/trace and the xml file used by adrci.  There are orders adrci and configurations to manage it.

    Yet once again, I leave the details as exercise for the student to exercise his research skills.

    Please confirm my interpretation.

    Thanks in advance!

  • How to purge the old workflow alerts

    We made the clone of the EBS to new server, customers getting old workflow alerts email which are very old may be more years.

    EBS 11i
    OEL5
    DB: 11g

    Hi again;

    Please also see below for notes:

    FAQ on the purge of the Oracle Workflow database [ID 277124.1]
    Speed up and purge Workflow [ID 132254.1]
    Quick reference: how to purge the data of obsolete Runtime of Workflow for Applications [ID 264191.1]

    Respect of
    HELIOS

  • Automated alerts log purge

    Hi all

    Is there a mechanism by which I can purge my log log and listener alert automatically after a set period?

    Platform - Windows
    -Oracle database 9i

    Hi Santosh,

    Have a look here, you do not need to purge you can rotate the:

    -http://www.dotcomsolutionsinc.net/products/installgen/win_920_32bit_files/installgen_win920_11_.html
    -http://www.dotcomsolutionsinc.net/products/installgen/win_920_32bit_files/installgen_win920_13_.html

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Purge of ISE MnT node running for 6 consecutive days

    Hi all

    Our ISE 1.1.4 patch 2 MnT node seems to be stuck in the purge of the DB. I get e-mail alerts that say "hourly purge jumped as purge has started execution." Also, when I try to run a backup of the node MnT I get the message. "Cannot submit the full backup when the purge of the data is ongoing."

    We received the error 'cursors open maximum exceeded. " When I arrived I have re-synchronized deployment who handed running the services on the node of NCDs. This cleared the error of open cursors but we left where we are now. I was hoping he would liberate itself over time, but it didn't.

    All I can think to do is to restart the services of EHT on the terrain node, but I'm a little worried about what could happen if I do this in the middle of a purge. Of course we do not have a recent backup of the terrain (see above), and I wouldn't want to lose historical data.

    I did not open a TAC again, if not answers here. We cannot patch or upgrade above 1.1.4 patch 2 because we're waiting on a fix for a bug unrelated.

    Any ideas appreciated, thank you.

    Hi Leroy Plock,

    Let me explain the root cause of the experience, the "hourly purge jumped as purge is already running."

    While the hourly purge process is triggered the Terrain node has experienced the problem of open cursors and so as there is no open thread / update a communication of the complete process from purge to purge logic, the hourly purge is hit in the running state.

    Her can be solved by changing the people who runs already serving the process to completed status. By cela the next hourly purge process will be triggered automatically.

    The alarm you see that purging process is already running is the side effect of the default of the said above CSCuh70984.

    Please open a SR with TAC and they help you to address the fix for the purge running alarms.

    The reason for seeking to prosecute TAC is that the difficulty is by running the database of SQL queries on your database of NTMS and once that is done, you must restart the services on the node MNT.

  • Purge the Archivelogs Dataguard

    Hi all

    11.2.0.3

    How can I set up my database PRIMARY and STANDBY auto purge all archivelogs (both primary and standby) already applied in waiting?

    While I don't have to worry about full archivelog in my FRA.

    Thank you all,

    pK

    Hello

    You should not care about people not confident in this respect.

    See the blog post I linked above. There is a bug in 11.2 and there is a solution. And there is a request to check when the archivelogs recoverable or not.

    I put in place that to several customers, where there is no 'archivelog delete' at all and Oracle manages the FRA. Just be sure that one of the following is executed frequently

    either RMAN > sql "begin dbms_backup_restore.refreshagedfiles; end; « ; or rerun the CONFIGURE ARCHIVELOG

    In any case, it is good to monitor the use of FRA of space, then you should be alerted if they are not purged as you want.

    Kind regards

    Franck.

  • Purge perfstat tables

    Hi all

    My tablespace perfstat is already 99% full. Can I purge old data table associated with it?

    Thank you

    pK

    As mentioned by others, $ORACLE_HOME/rdbms/admin/sppurge.sql will allow you to delete data in the tables.  Make sure you read the script to see what he does and what to call it - it has an option which is by default not to remove old SQL information.

    Alert - Check the size of your story and serve only a small amount of data at once. the process uses foreign keys 'on delete cascade', can be very slow and can generate a large number of undo and redo.

    This release, however, the space of the storage space.  If you dump enough story SQL execution by statspack should re-user the empty space created in perfstat's tables; But if you think that's not good, enough you will begin to move tables and index rebuild to generate a free space in the tablespace.  (If you delete a very large amount of history you can do that anyway to allow snapshots and reports to run more efficiently).

    Concerning

    Jonathan Lewis

  • ITA 8.1 location of alert logs

    Hello

    I've got ITA 8.1 installed and monitoring of 500 Dell servers.  I see that the log settings are defined for a maximum size of 20,000 entries.  After that, he is serving.

    Instead of purge, I would like to copy the log files to a different location and create new logs in.

    I can't find out where these alerts log files are stored?

    Can someone tell me where they are?

    See you soon.


  • adrci works not by trying to purge the listener newspapers

    Version of the grid: 11.2.0.3

    Platform: Oracle Linux 6.3

    I wanted to purge a log listener of analysis (listener_scan2.log), which is 2.7 GB in size and many .xml files in the directory of the trace listener.

    So, I thought to use adrci for this.

    As always, it did not work

    How you guys do purge listeners node and SCAN logs?

    Here's what I tried.

    [oracle@mspfh234 ~] $ pwd

    / home/oracle

    [oracle@mspfh234 ~] $ ls - alrdth /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    -rw - r - 1 oracle oinstall 2.7G 13 Dec 11:33 /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ export ORACLE_SID = + ASM1

    [oracle@mspfh234 ~] $ export ORACLE_HOME=/app/11.2.0/grid

    [oracle@mspfh234 ~] $ export PATH = $PATH: $ORACLE_HOME/bin

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ adrci

    ADRCI: Version 11.2.0.3.0 - Production on Fri dec 13 11:34:04 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Basis of the ADR = "/ app/oracle '.

    adrci >

    adrci >

    adrci > show houses

    Houses of ADR:

    diag, tnslsnr, mspfh234, earphone

    diag, tnslsnr, mspfh234, prod

    diag/rdbms/bstgprd/BSTGPRD1

    ASM diag/asm / + / + ASM1

    diag/clients/user_oracle/host_1287719203_80

    adrci >

    adrci >

    adrci > set home diag, tnslsnr, mspfh234, earphone

    adrci >

    adrci >

    adrci >

    adrci > exec = "value homepath diag/tnslsnr/mspfh234/listener_scan1;" purge - age type 10080 - ALERT ".

    DIA-48415: Syntax error in string [1] to [column]

    adrci > purge - age 30 - type ALERT

    adrci >

    adrci > purge - age 30 - type TRACK

    adrci >

    adrci > home

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ ls - alrdth /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    -rw - r - 1 oracle oinstall 2.7 G 13 Dec 11:36 /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ adrci

    ADRCI: Version 11.2.0.3.0 - Production on Fri dec 13 11:36:14 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Basis of the ADR = "/ app/oracle '.

    adrci >

    adrci > show houses

    Houses of ADR:

    diag, tnslsnr, mspfh234, earphone

    diag, tnslsnr, mspfh234, prod

    diag/rdbms/bstgprd/BSTGPRD1

    ASM diag/asm / + / + ASM1

    diag/clients/user_oracle/host_1287719203_80

    adrci >

    adrci > set /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2 House

    DIA-48447: The path of entry [/ app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2] contains no which houses the ADR

    adrci > set home diag, tnslsnr, mspfh234, listener_scan2

    DIA-48447: The path of entry [diag, tnslsnr, mspfh234, listener_scan2] does not contain what houses the ADR

    adrci > set homepath diag, tnslsnr, mspfh234, listener_scan2

    DIA-48447: The path of entry [diag, tnslsnr, mspfh234, listener_scan2] does not contain what houses the ADR

    adrci > output

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ adrci

    ADRCI: Version 11.2.0.3.0 - Production on Fri dec 13 11:38:31 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Basis of the ADR = "/ app/oracle '.

    adrci >

    adrci > show houses

    Houses of ADR:

    diag, tnslsnr, mspfh234, earphone

    diag, tnslsnr, mspfh234, prod

    diag/rdbms/bstgprd/BSTGPRD1

    ASM diag/asm / + / + ASM1

    diag/clients/user_oracle/host_1287719203_80

    adrci > set homepath diag, tnslsnr, mspfh234, listener_scan2

    DIA-48447: The path of entry [diag, tnslsnr, mspfh234, listener_scan2] does not contain what houses the ADR

    adrci >

    adrci > set home diag, tnslsnr, mspfh234, listener_scan2

    DIA-48447: The path of entry [diag, tnslsnr, mspfh234, listener_scan2] does not contain what houses the ADR

    adrci > set home diag, tnslsnr, mspfh234, earphone

    adrci > purge - age 30 - type ALERT

    adrci > purge - age 30 - type TRACK

    adrci >

    adrci > home

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ ls - alrdth /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    -rw - r - 1 oracle oinstall 2.7 G 13 Dec 11:40 /app/11.2.0/grid/log/diag/tnslsnr/mspfh234/listener_scan2/trace/listener_scan2.log

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $ adrci

    ADRCI: Version 11.2.0.3.0 - Production on Fri dec 13 11:40:40 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Basis of the ADR = "/ app/oracle '.

    adrci > show houses

    Houses of ADR:

    diag, tnslsnr, mspfh234, earphone

    diag, tnslsnr, mspfh234, prod

    diag/rdbms/bstgprd/BSTGPRD1

    ASM diag/asm / + / + ASM1

    diag/clients/user_oracle/host_1287719203_80

    adrci >

    adrci >

    adrci > set home diag, tnslsnr, mspfh234, earphone

    adrci >

    adrci > display the trace file

    diag/tnslsnr/mspfh234/listener/trace/listener.log

    adrci >

    adrci >

    adrci > output

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    [oracle@mspfh234 ~] $

    This is a bug, the logs and trace files will not get automatically purged. You must manually delete them when they are no longer needed.

    Also, see Notes MOS:

    Bug 13495885 : THE AUTOMATIC PURGE DOES NOT WORK FOR THE REPOSITORY of DIAG LISTENER

    How to purge the listener Log.Xml file? (Doc ID 816871.1)

    Why is my interlocutor connects & traces not served by ADR? (Doc ID 1438242.1)

    Adrci Purge did not clear the Alert. Log in text format in the Trace folder (Doc ID 751082.1)

  • EM12cR2 - "purge jobs' repository (?) falsely reported down job scheduler

    EM12cR2 on Linux x 86-64 with a 11.2.0.3 database repository. This arose after my upgrade to 12.1.0.1 + BP1 yesterday.

    On the Repository page (Setup-> manage Cloud Control-> repository), in the Planner receiving section job status, the work of "Purge jobs" is shown as down with a white and red arrow for the next time the request and last run on demand. All other works seem to be good and are running successfully.

    It also appears as an incident stating "UpDown DBMS job for job Purge has exceeded the critical threshold (BOTTOM). "Current value: down.

    The framework for this (http://docs.oracle.com/cd/E24628_01/em.121/e25162/oracle_emrep.htm#autoId20) metric metric reference manual indicates that this measure is equivalent to the "broken" DBMS_JOB status and suggests recovering the job_id argument and present again, but the instructions do not find something useful.
    SQL> sho user                            
    USER is "SYSMAN"
    SQL> select dbms_jobname from mgmt_performance_names where display_name = 'Job Purge';
    
    DBMS_JOBNAME
    --------------------------------------------------------------------------------
    MGMT_JOB_ENGINE.apply_purge_policies()
    
    SQL> select job from all_jobs where what='MGMT_JOB_ENGINE.apply_purge_policies()';
    
    no rows selected
    
    SQL> select count(*) from all_jobs;
    
      COUNT(*)
    ----------
             0
    No message ORA-12012 found in the alert/trace logs.

    Repvfy is also reported as missing scheduler jobs:
    2. Missing DBMS_SCHEDULER jobs
    ------------------------------
    
    DISPLAY_NAME                             DBMS_JOBNAME
    ---------------------------------------- -----------------------------------------------------
    Job Purge                                MGMT_JOB_ENGINE.apply_purge_policies()
    The MGMT_JOB_ENGINE package is no longer contains apply_purge_policies. It seems to have moved to EM_JOB_PURGE.

    According to dba_scheduler_jobs, EM_JOB_PURGE. APPLY_PURGE_POLICIES works very well:
    SQL> select job_action, enabled, state, failure_count, last_start_date, last_run_duration
      2  from dba_scheduler_jobs where job_name = 'EM_JOB_PURGE_POLICIES';
    
    JOB_ACTION                               ENABL STATE      FAILURE_COUNT
    ---------------------------------------- ----- ---------- -------------
    LAST_START_DATE
    ----------------------------------------
    LAST_RUN_DURATION
    ----------------------------------------
    EM_JOB_PURGE.APPLY_PURGE_POLICIES();     TRUE  SCHEDULED              0
    14-SEP-12 05.00.00.010318 AM US/EASTERN
    +000000000 00:00:09.464552
    It seems to me this is a kind of metadata incompatibility between mgmt_performance_names and DBMS Scheduler and is probably not something to worry about. Any thoughts?

    Edited by: BrianP on Sep 14, 2012 10:38 (line typo, missed, the word "job" object)

    It is a 10.2.0.5 remains that was not cleaned for a reason any. Please run the following SQL as SYSMAN to correct the problem.

    UPDATE MGMT_PERFORMANCE_NAMES SET display_name = NULL,
    dbms_jobname = NULL, is_dbmsjob = 'n', is_deleted = 'Y '.
    WHERE AS UPPER (DBMS_JOBNAME) ' MGMT_JOB_ENGINE. APPLY_PURGE_POLICIES %';
    COMMIT;

  • Purge the rman backup

    Hello, since the alert.log file find this error:

    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc3_25352.trc file:
    ORA-19809: limit exceeded for file recovery
    ORA-19804: cannot retrieve 12582912 bytes limit 59055800320 disk space
    ARC3: 19809 creation error archive log file ' DATA01'+.
    Sea 25 09:51:58 Jan 2012
    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc0_25306.trc file:
    ORA-19815: WARNING: 59055800320 bytes db_recovery_file_dest_size is 100.00% used and has 0 bytes remaining available.
    ************************************************************************
    You have choice to free up space in the recovery area:
    + 1. Consider changing the RMAN RETENTION POLICY. If you are using Data Guard +.
    then consider changing POLICY of DELETE ARCHIVELOG RMAN.
    + 2. Back up files on a tertiary device such as a tape using RMAN.
    SAFEGUARDING RECOVERY AREA command.
    + 3. Add disk space and increase the db_recovery_file_dest_size setting to +.
    reflect the new space.
    + 4. Delete unnecessary files by using the RMAN DELETE command. If operation +.
    the system control has been used to remove the files, and then use the RMAN DUPLICATION and
    Commands DELETE has EXPIRED.
    ************************************************************************
    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc0_25306.trc file:
    ORA-19809: limit exceeded for file recovery
    ORA-19804: cannot retrieve 12582912 bytes limit 59055800320 disk space
    ARC0: error creating 19809 archive log file ' DATA01'+.

    So I'm trying to purge the rman backup, but I have an error message:


    rman target = oratest@oraprdlnx1:~$ /+.
    Recovery Manager: release 11.2.0.1.0 - Production on sea Jan 25 09:47:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TEST (DBID = 2044700519)

    + RMAN > show all; +.

    using the control file of the target instead of recovery catalog database
    RMAN settings for database with db_unique_name TEST are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/oratest/product/11.2.0/dbhome_1/dbs/snapcf_TEST1.f'; # by default

    + RMAN > allocate channel for maintenance of type; disc +.

    allocated channel: ORA_MAINT_DISK_1
    channel ORA_MAINT_DISK_1: SID = 237 instance = type of TEST1 = DISK

    + RMAN > crosscheck backup; +.

    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle piece = RECID = 68 = 758320264 STAMP DATA01/test/autobackup/2011_08_04/s_758320263.794.758320265 +.
    Cut objects 1

    RMAN > delete obsolete; ** +

    RMAN retention policy apply to the order
    RMAN retention policy is set to 1 redundancy
    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    -------------------- ------ ------------------ --------------------
    Backup Set 25 July 4, 11
    Backup total 25 4 July 11 1omgk64v_1_1
    Backup Set 26 July 4, 11
    Backup total 26 July 4, 11 1pmgk650_1_1
    Backup Set 24 July 4, 11
    Total backup, 24 4 July 11 1qmgk650_1_1
    Backup Set 21 July 4, 11
    Backup total 21 4 July 11 1rmgk650_1_1
    Backup Set 28 July 4, 11
    28 1vmgk69v_1_1 July 4, 11 total backup
    Save game 29 July 4, 11
    Backup total 29 July 4, 11 20mgk6a0_1_1
    Backup Set 30 July 4, 11
    Backup total 30 4 July 11 21mgk6a0_1_1
    Save game 31 July 4, 11
    Backup total 31 July 4, 11 22mgk6a0_1_1
    Backup Set 34 4 July 11
    Backup total 34 4 July 11 c-2044700519-20110704-07
    Backup Set 35 July 4, 11
    Total backup, 35 26mgk8ib_1_1 4 July 11
    Backup Set 36 4 July 11
    Backup total 36 4 July 11 c-2044700519-20110704-08
    Backup Set 41 4 July 11
    Backup total 41 4 July 11 28mgk94i_1_1
    Backup Set 42 4 July 11
    Backup total 42 4 July 11 29mgk94j_1_1
    Backup Set 37 July 4, 11
    Backup total 37 4 July 11 2amgk94j_1_1
    Backup Set 40 July 4, 11
    Backup total 40 July 4, 11 2bmgk94j_1_1
    Backup Set 38 July 4, 11
    Backup total 38 4 July 11 2cmgk95c_1_1
    Backup Set 39 July 4, 11
    Backup total 39 4 July 11 2dmgk95k_1_1
    Backup Set 43 July 4, 11
    Backup total 43 July 4, 11 c-2044700519-20110704-09
    Backup Set 46 4 July 11
    Backup total 46 4 July 11 2fmgk99f_1_1
    Backup Set 47 July 4, 11
    Backup total 47 4 July 11 2gmgk99g_1_1
    Backup Set 44 4 July 11
    Backup total 44 4 July 11 2hmgk99g_1_1
    Backup Set 48 4 July 11
    Backup total 48 4 July 11 2imgk99g_1_1
    Backup Set 45 4 July 11
    Backup total 45 4 July 11 2jmgk9a9_1_1
    Backup Set 50 4 July 11
    Backup total 50 4 July 11 2kmgk9aq_1_1
    Backup Set 49 July 4, 11
    Backup total 49 4 July 11 2lmgk9aq_1_1
    Backup Set 51 4 July 11
    51 4 July total backup has 11 c-2044700519-20110704-0
    Backup Set 56 4 July 11
    Total backup 56 2rmgk9qb_1_1 July 4, 11
    Backup Set 55 July 4, 11
    Backup total 55 4 July 11 2smgk9qb_1_1
    Backup Set 58 4 July 11
    Backup total 58 4 July 11 b c-2044700519-20110704-0
    Backup Set 60 4 July 11
    Total backup 60 2umgk9tb_1_1 July 4, 11
    Backup Set 61 4 July 11
    Backup total 61 4 July 11 2vmgk9tc_1_1
    Backs up the entire 62 4 July 11
    Backup total 62 4 July 11 30mgk9tc_1_1
    Backup Set 66 4 July 11
    Backup total 66 4 July 11 34mgk9ua_1_1
    Backs up the entire 65 4 July 11
    Backup total 65 4 July 11 35mgk9ua_1_1
    Backup Set 67 4 July 11
    Total backup, July 4, 11 c-2044700519-20110704-0 67C
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the delete command to the 25/01/2012 09:48:42
    RMAN-06091: any string allocated for maintenance (of a suitable type)

    How can I purge the db dest file recovery?

    Thank you!!!

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the delete command to the 25/01/2012 09:48:42
    RMAN-06091: any string allocated for maintenance (of a suitable type)

    There is a metalink note that talks about this error.

    Met RMAN-03002 and RMAN-06091 when deleting obsolete backups [567555.1 ID]
    RMAN could not remove obsolete in right Backupsets change Sbt_tape to disk and again Server [ID 1287755.1]

    HTH

    Kind regards
    Nagendra Chillale

    Published by: NC on January 25, 2012 17:00

  • Database purge/clean BAM

    Can someone ' a please guide me on * "how purging and cleaning of the BAM database? * We are looking for 1 month only data and delete the rest. I tried to look for scripts to purge such as those that exist for BPEL but did not find anything.

    Hello

    You can do this:

    'Clear the contents of the data object manually in Oracle BAM architect' OR ' build an alert for help of remove lines of action of the data object.

    Reference: [http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10230/bam_purge.htm#BAMUG1350 | http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10230/bam_purge.htm#BAMUG1350]

    HTH

    Luciano Gomes

  • How to move the ends of the lines slanted towards the limits of the purge

    Hi all

    I developed a script that deletes the page elements to the purge. To achieve this, that I collect all the elements of the page (with the exception of text blocks) located partially on the editing table, create a temporary mask and 'trim' with subtraction of Pathfinder function. However, this approach does not work with graphic lines so I'm trying to move the ends of the lines to the limits of the substantive area lost. (I guess these are simple straight lines consisting of two end points).

    screengrab.png

    I knew how to deal with orthogonal lines - it's pretty easy:

    if (theItem.constructor.name == "GraphicLine" && theItem.paths.length === 1) {
         path = theItem.paths[0];
         if (path.pathPoints.length === 2) {
              ep = path.entirePath;
              w = ep[1][0]-ep[0][0];
              h = ep[1][1]-ep[0 ][1];
              
              if (w > h) {
                   newEp = [ [ spreadWithBleedBounds[1], ep[0][1] ], [ spreadWithBleedBounds[3], ep[1][1] ] ];
                   path.entirePath = newEp;
              }
              else if (h > w) {
                   newEp = [ [ ep[0][0], spreadWithBleedBounds[0] ], [ ep[1][0], spreadWithBleedBounds[2] ] ];
                   path.entirePath = newEp;
              }
         }
    }
    

    This moves A1 - A2, B1 , B2, C1 , C2, D1 to D2.

    But how to treat skewed lines? How to calculate the coordinates of the point E2 and F2? Y at - it a magic formula? Or can someone point me to the right direction: for example a book to read?

    I assume this has something to do with geometry/trigonometry, but I haven't studied this kind of things at school. (I graduated from an art school - designed to draw naked models instead).

    If someone will answer my question, please do it on basic level since I'm a total noob in the present.

    Here's the script:

    if (Number(String(app.version).split(".")[0]) == 7) ErrorExit("This script can't work with InDesign CS5 so far.", true);
    
    var doc = app.activeDocument;
    var spreadBounds, spreadWithBleedBounds, gPartiallyOutOfSpreadItems;
    var ungroupErrors = 0;
    
    var originalHorUnits =  doc.viewPreferences.horizontalMeasurementUnits;
    var originalVerUnits =  doc.viewPreferences.verticalMeasurementUnits;
    doc.viewPreferences.horizontalMeasurementUnits = doc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.INCHES;
    doc.viewPreferences.rulerOrigin = RulerOrigin.spreadOrigin;
    doc.zeroPoint = [0, 0];
    
    if (doc.layers.itemByName("Temporary Layer") == null ) {
         var tempLayer = doc.layers.add({name:"Temporary Layer"});
    }
    else {
         var tempLayer = doc.layers.itemByName("Temporary Layer");
    }
    
    UngroupAllGroups(doc.groups);
    
    DeleteObjectsOnPasteboard();
    ProcessSpreads(doc.spreads);
    ProcessSpreads(doc.masterSpreads);
    
    tempLayer.remove();
    
    doc.viewPreferences.horizontalMeasurementUnits = originalHorUnits;
    doc.viewPreferences.verticalMeasurementUnits = originalVerUnits;
    
    var msg = (ungroupErrors > 0) ? " Failed to ungroup " + ungroupErrors + " groups since they are too large." : "";
    alert("Done." + msg, "Trim Pages Script");
    
    //================================== FUNCTONS ===========================================
    function ProcessSpreads(spreads) {
         var spread, path, ep, w, h;
         for (var s = 0; s < spreads.length; s++) {
              spread = spreads[s];
              spreadBounds = GetSpreadBound(spread, false);
              spreadWithBleedBounds = GetSpreadBound(spread, true);
              
              gPartiallyOutOfSpreadItems = GetPartiallyOutOfSpreadItems(spread);
              
              var theItem, theMask, newItem;
              for (var i = gPartiallyOutOfSpreadItems.length-1; i >= 0; i--) {
                   theItem = gPartiallyOutOfSpreadItems[i];
                   if (theItem.constructor.name == "GraphicLine" && theItem.paths.length === 1) {
                        path = theItem.paths[0];
                        if (path.pathPoints.length === 2) {
                             ep = path.entirePath;
                             w = ep[1][0]-ep[0][0];
                             h = ep[1][1]-ep[0 ][1];
                             
                             if (w > h) {
                                  newEp = [ [ spreadWithBleedBounds[1], ep[0][1] ], [ spreadWithBleedBounds[3], ep[1][1] ] ];
                                  path.entirePath = newEp;
                             }
                             else if (h > w) {
                                  newEp = [ [ ep[0][0], spreadWithBleedBounds[0] ], [ ep[1][0], spreadWithBleedBounds[2] ] ];
                                  path.entirePath = newEp;
                             }
                        }
                   }
                   else {
                        theMask = CreateMask(spread);
                        try {
                             newItem = theMask.subtractPath(theItem);
                        }
                        catch (err) {
                             $.writeln("2 - " + err);
                             theMask.remove();
                        }
                   }
              }
         }
    }
    //--------------------------------------------------------------------------------------------------------------
    function IsPartiallyOutOfSpread(pageItem) {
         var result = false;
         if (pageItem.constructor.name == "TextFrame" ||
              pageItem.constructor.name == "Group" ||
              pageItem.parent.constructor.name == "Group")
         {
              return result;
         }
    
         var visBounds = pageItem.visibleBounds;
         if (visBounds[0] < spreadBounds[0] && visBounds[2] > spreadBounds[0] ||
              visBounds[1] < spreadBounds[1] && visBounds[3] > spreadBounds[1] ||
              visBounds[2] > spreadBounds[2] && visBounds[0] < spreadBounds[2] ||
              visBounds[3] > spreadBounds[3] && visBounds[1] < spreadBounds[3]  ) {
              result = true;
         }
         return result;
    }
    //--------------------------------------------------------------------------------------------------------------
    function GetSpreadBound(spread, bleed) { // including bleed -boolean
         if (bleed == undefined) bleed = false;
         
         with (doc.documentPreferences) {
              var topBleed = documentBleedTopOffset
              var leftBleed = documentBleedInsideOrLeftOffset;
              var bottomBleed = documentBleedBottomOffset;
              var rightBleed = documentBleedOutsideOrRightOffset;
         }
    
         var bFirst = spread.pages.item(0).bounds; // bounds of the first page
         var bLast = spread.pages.item(-1).bounds; // bounds of the last page
         return [     ((bleed) ? bFirst[0]-topBleed : bFirst[0]), 
                        ((bleed) ? bFirst[1]-leftBleed : bFirst[1]), 
                        ((bleed) ? bLast[2]+bottomBleed : bFirst[2]), 
                        ((bleed) ? bLast[3]+rightBleed : bLast[3])
                        ];
    }
    //--------------------------------------------------------------------------------------------------------------
    function CreateMask(spread) {
         var unitValue = new UnitValue (app.pasteboardPreferences.minimumSpaceAboveAndBelow, "mm");
         var unitValueAsInch = unitValue.as("in");
         var outerRectangleBounds = [spreadWithBleedBounds[0]-unitValueAsInch, 
                                                                spreadWithBleedBounds[1]-8.07, 
                                                                spreadWithBleedBounds[2]+unitValueAsInch, 
                                                                spreadWithBleedBounds[3]+8.07
                                                                ]; 
    
         var outerRectangle = spread.rectangles.add(tempLayer, undefined, undefined, {geometricBounds:outerRectangleBounds});
         var innerRectangle = spread.rectangles.add(tempLayer, undefined, undefined, {geometricBounds:spreadWithBleedBounds, fillColor:doc.swatches.item("Black"), fillTint:30});
         var mask = outerRectangle.excludeOverlapPath(innerRectangle);
         return mask;
    }
    //--------------------------------------------------------------------------------------------------------------
    function GetPartiallyOutOfSpreadItems(spread) {
         var allPageItems = spread.allPageItems;
         var partiallyOutOfSpreadItems = [];
         var currentItem;
         
         for (var i = 0; i < allPageItems.length; i++) {
              currentItem = allPageItems[i];
              if (IsPartiallyOutOfSpread(currentItem)) partiallyOutOfSpreadItems.push(currentItem);
         }
         
         return partiallyOutOfSpreadItems;
    }
    //--------------------------------------------------------------------------------------------------------------
    function DeleteObjectsOnPasteboard() {
         var objs = app.documents[0].pageItems.everyItem().getElements();
         while (obj=objs.pop()) {
              try {
                   if(obj.parent instanceof Spread || obj.parent instanceof MasterSpread){ obj.remove() }
              }
              catch(err) {
                   //$.writeln("2 - " + err);
              }
         }
    }
    //--------------------------------------------------------------------------------------------------------------
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, "Trim Pages Script", myIcon);
         exit();
    }
    //--------------------------------------------------------------------------------------------------------------
    function UngroupAllGroups(groups) {
         for (var i = groups.length-1; i >= 0; i--) {
              var gr = groups[i];
              if (gr.groups.length > 0) {
                   var subGroups = [];
                   for (var j = gr.groups.length-1; j >= 0; j--) {
                        subGroups.push(gr.groups[j].id);
                   }                    
                   try {
                        gr.ungroup();
                   }
                   catch(err) {
                        //$.writeln("1 - " + err);
                        ungroupErrors++;
                   }
              
                   for (var k = subGroups.length-1; k >= 0; k--) {
                        try {
                             doc.groups.itemByID(subGroups[k]).ungroup();
                        }
                        catch(err) {
                             //$.writeln("2 - " + err);
                             ungroupErrors++;
                        }
                   }
              }
              else {
                   try {
                        gr.ungroup();
                   }
                   catch(err) {
                        //$.writeln("1 - " + err);
                        ungroupErrors++;
                   }
              }
         }     
    }
    //--------------------------------------------------------------------------------------------------------------

    Thanks in advance.

    Kasyan

    Hi Kasyan!

    I was not trying to integrate this into your script, so you may need to adjust a little. The trick is to define a function that detects the point of intersection of two lines - and, of course, you must call it for lines that will not fail to cross the border of the page! (Otherwise, it would simply expand * any * the line upward and on the border.)

    I think it would be wise to predict a small mistake for lines that seem to run "up to" the edge of the page - I tested a line for 'x '.<= 0"="" on="" a="" line="" that="" appeared="" to="" start="" on="" 0;="" the="" control="" panel="" told="" me="" so.="" however,="" i="" didn't="" type="" that="" 0="" in;="" i="" dragged="" the="" line="" to="" the="" edge.="" apparently,="" it="" was="" *not*="" at="" precisely="" "0mm",="" but="" something="" like="" "0.001mm",="" because="" the="" script="" simply="" didn't="" "see"="" the="">

    My function comes from this page: http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline2d/ and I did not test it does of orthogonal lines

    (but of course, you could add this in exceptional cases), and it's my script extending the line, with a small wrapper to configure things.

    The function tests * any * tail against * any * other line, so if we meet the page bounding box, I get the intersection with the purge of the side area where it crosses the bbox page.

    line = app.selection[0];
    // pg size in "regular" [y1,x1, y2,x2] format
    pagebbox = [0,0, app.activeDocument.documentPreferences.pageHeight,app.activeDocument.documentPreferences.pageWidth ];
    bleedDist = 5; //
    bleedbbox = [ pagebbox[0] - bleedDist, pagebbox[1] - bleedDist, pagebbox[2] + bleedDist, pagebbox[3] + bleedDist ];
    pt1 = line.paths[0].pathPoints[0].anchor;
    pt2 = line.paths[0].pathPoints.lastItem().anchor;
    // Start point:
    if (pt1[0] <= pagebbox[1] || pt1[0] >= pagebbox[3] ||
     pt1[1] <= pagebbox[0] || pt1[1] >= pagebbox[2])
    {
     if (pt1[0] <= pagebbox[1])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[1], bleedbbox[2] ] ] );
    
     if (pt1[0] >= pagebbox[3])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[3], bleedbbox[0]], [bleedbbox[3], bleedbbox[2] ] ] );
    
     if (pt1[1] <= pagebbox[0])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[3], bleedbbox[0] ] ] );
     if (pt1[1] >= pagebbox[2])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[2]], [bleedbbox[3], bleedbbox[2] ] ] );
     line.paths[0].pathPoints[0].anchor = intersectPt;
    }
    // End point:
    if (pt2[0] <= pagebbox[1] || pt2[0] >= pagebbox[3] ||
     pt2[1] <= pagebbox[0] || pt2[1] >= pagebbox[2])
    {
     if (pt2[0] <= pagebbox[1])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[1], bleedbbox[2] ] ] );
    
     if (pt2[0] >= pagebbox[3])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[3], bleedbbox[0]], [bleedbbox[3], bleedbbox[2] ] ] );
    
     if (pt2[1] <= pagebbox[0])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[3], bleedbbox[0] ] ] );
     if (pt2[1] >= pagebbox[2])
      intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[2]], [bleedbbox[3], bleedbbox[2] ] ] );
     line.paths[0].pathPoints.lastItem().anchor = intersectPt;
    }
    
    function IntersectionPt (ln1, ln2)
    {
     var ua;
     var x1 = ln1[0][0], x2 = ln1[1][0], x3 = ln2[0][0], x4 = ln2[1][0];
     var y1 = ln1[0][1], y2 = ln1[1][1], y3 = ln2[0][1], y4 = ln2[1][1];
     ua = ((x4 - x3)*(y1 - y3) - (y4 - y3)*(x1 - x3))/((y4 - y3)*(x2 - x1) - (x4 - x3)*(y2 - y1));
    
     return [ x1 + ua*(x2-x1), y1 + ua*(y2-y1) ];
    }
    

Maybe you are looking for

  • NB200-10Z - WLan and Lan connection problems

    Hello all I bought the NB200 & I'll put up the wireless connection. Everything seemed fine, but now I'm in trouble.On the network connections page, it shows the network connection wireless as "not connected". On the Network Setup Wizard, it shows the

  • Formula node problem

    Community salvation OR I am currently working on a VI where I run primarily calculations. I use the structure of noda formula I have some experience with. I insert some quiet easy formulas, but when I run the VI there are something that I don't under

  • translation of a foreign language

    Ive sent a wiring diagram for my work except the diagram, the details are in German y at - it a way to translate English

  • YouTube videos that I take with my HTC Desire have no sound when I download on my computer

    YouTube videos that I take with my HTC Desire have no sound when I download it to my computer, what should I do to change this?  It is only on videos taken with the phone not my camera.

  • I scanned a brochure and have not been able to copy or e-mail

    I try to send a message/attachment of my documents or my pictures.  Microsoft Word displays a screen that he cannot send this file but I click send anyway.  It is not sent.  I usually set up an email, click on an attachment, click the attachment and