Alert log contains ARCH and FRA mount/dismount messages

Hi Guys,
We see messages like:
SUCCESS: diskgroup DBNAME_ARCH was mounted
SUCCESS: diskgroup DBNAME_ARCH was dismounted
SUCCESS: diskgroup DBNAME_FRA was mounted
SUCCESS: diskgroup DBNAME_FRA was dismounted
in our alert.log file for a RAC DB. This message coincides with the creation of archive logs.
Do we know why DB keeps on mounting and dismnounting these diskgroups?
Why not keep them mounted as long as the database(instance) is up? Is it because these diskgroups dont have any live db file that they are dismounted as soon as the archive log is created?
Any suggestions/ideas would be welcome.
Regards.

Hi,
There is a metalink Note:361173.1 which states that this is an expected behavior. So you can ignore these messages.
-Amit
http://askoracledba.wordpress.com

Similar Messages

  • Customize alerts on ALERT.log file? And another question

    We just setup and have started to use Grid Control. So far, I have been very pleased with what I have seen.
    Just some questions though.
    Is there a way to customize the "Generic Alert Log Error Status"?
    Can we have exclusions for that alert? We get are getting messages on alerts for a bug that exists in one of our DB's. If we can some how exclude this particular error, that would be great. That possible?
    Secondly, can you schedule checks on a database to check the state of the database? This is something I would like to do if possible.
    THanks.

    Go to targets - databases - <database>
    On this page on the left side, you'll see a heading "Diagnostic Summary"
    The you'll see something like:Alert Log <date>
    Click on the date, go to the bottom of the page and click on "Generic Alert Log Error Monitoring Configuration"
    Here you can configure exactly what alert log messages you want.
    Yes, depending on what it is you want to do. Look at User Defined Metrics, Reports and possibly Jobs to see what fits best with want you want to do.

  • I try to log in Facebook and I get this message fbapierrordomain

    Wen I try to log into Facebook I get this massage fbapierrordomain

    I've had the same issue all day (it's nearing 5pm on the East Coast)....any word on when Facebook will have this fixed? 

  • Rogue alert log in $ORACLE_HOME/dbs

    Hi there, have looked all over and not yet found the answer to my query. I have a database instance running at 10.2.0.4.0. There is a rougue alert-{ORACLE_SID}.log created in $ORACLE_HOME/dbs directory when an instance is started. Show parameter background_dump_dest points to the correct directory - $ORACLE_ADMIN/$ORACLE_SID/bdump wether using spfile or pfile.  To confirm what is happening I shutdown the instance and deleted both alert logs from the two locations and restarted the instance. Again two alert logs were created. Can anyone please advise why this is happening. I have found threads suggesting that logs are created in $ORACLE_HOME/dbs as default if parameters are not set correctly, but this is creating an alert log in two locations at startup.
    in $ORACLE_ADMIN/$ORACLE_SID/bdump/alert_DBAASS06.log shows -
    [oracle@el64dev03 bdump]$ cat alert_DBAASS06.log
    Wed Jul 24 09:29:19 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =30
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
      processes                = 250
      __shared_pool_size       = 92274688
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      nls_language             = ENGLISH
      nls_territory            = UNITED KINGDOM
      sga_target               = 327155712
      control_files            = /oradata/10.2.0/DBAASS06/DBAASS06ctrl01.ctl, /oradata/10.2.0/DBAASS06/DBAASS06ctrl02.ctl
      db_block_size            = 8192
      __db_cache_size          = 218103808
      compatible               = 10.2.0.4.0
      log_archive_dest_1       = LOCATION=/oradata/10.2.0/DBAASS06/archive
      log_archive_format       = DBAASS06%t_%s_%r.dbf
      db_file_multiblock_read_count= 16
      undo_management          = AUTO
      undo_tablespace          = UNDO
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = bctn.wheatley-associates.co.uk
      utl_file_dir             = *
      job_queue_processes      = 10
      background_dump_dest     = /orahome/app/oracle/admin/DBAASS06/bdump
      user_dump_dest           = /orahome/app/oracle/admin/DBAASS06/udump
      core_dump_dest           = /orahome/app/oracle/admin/DBAASS06/cdump
      session_max_open_files   = 20
      sort_area_size           = 65536
      db_name                  = DBAASS06
      db_unique_name           = DBAASS06
      open_cursors             = 300
      pga_aggregate_target     = 31457280
    PMON started with pid=2, OS id=13977
    PSP0 started with pid=3, OS id=13979
    MMAN started with pid=4, OS id=13981
    DBW0 started with pid=5, OS id=13983
    DBW1 started with pid=6, OS id=13985
    LGWR started with pid=7, OS id=13987
    CKPT started with pid=8, OS id=13989
    SMON started with pid=9, OS id=13991
    RECO started with pid=10, OS id=13993
    CJQ0 started with pid=11, OS id=13995
    MMON started with pid=12, OS id=13997
    MMNL started with pid=13, OS id=13999
    Wed Jul 24 09:29:57 2013
    ALTER DATABASE   MOUNT
    Wed Jul 24 09:30:01 2013
    Setting recovery target incarnation to 2
    Wed Jul 24 09:30:01 2013
    Successful mount of redo thread 1, with mount id 3614370965
    Wed Jul 24 09:30:01 2013
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Wed Jul 24 09:30:01 2013
    ALTER DATABASE OPEN
    Wed Jul 24 09:30:01 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=15, OS id=14163
    Wed Jul 24 09:30:01 2013
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=16, OS id=14165
    Wed Jul 24 09:30:01 2013
    Thread 1 opened at log sequence 14
      Current log# 2 seq# 14 mem# 0: /oradata/10.2.0/DBAASS06/DBAASS06_redo02.log
    Successful open of redo thread 1
    Wed Jul 24 09:30:01 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Wed Jul 24 09:30:01 2013
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    Wed Jul 24 09:30:01 2013
    ARC0: Becoming the heartbeat ARCH
    Wed Jul 24 09:30:01 2013
    SMON: enabling cache recovery
    Wed Jul 24 09:30:01 2013
    Successfully onlined Undo Tablespace 1.
    Wed Jul 24 09:30:01 2013
    SMON: enabling tx recovery
    Wed Jul 24 09:30:01 2013
    Database Characterset is WE8MSWIN1252
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 12
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=17, OS id=14167
    Wed Jul 24 09:30:01 2013
    Completed: ALTER DATABASE OPEN
    [oracle@el64dev03 bdump]$
    There is also a trace file created -
    [oracle@el64dev03 bdump]$ cat dbaass06_lgwr_13987.trc
    /orahome/app/oracle/admin/DBAASS06/bdump/dbaass06_lgwr_13987.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /orahome/app/oracle/product/10.2.0/db_1
    System name:    Linux
    Node name:      el64dev03.bctn.wheatley-associates.co.uk
    Release:        2.6.32-300.39.2.el5uek
    Version:        #1 SMP Wed Dec 19 14:56:59 PST 2012
    Machine:        x86_64
    Instance name: DBAASS06
    Redo thread mounted by this instance: 1
    Oracle process number: 7
    Unix process pid: 13987, image: [email protected]
    *** 2013-07-24 09:30:01.622
    *** SERVICE NAME:() 2013-07-24 09:30:01.622
    *** SESSION ID:(275.1) 2013-07-24 09:30:01.622
    Maximum redo generation record size = 156160 bytes
    Maximum redo generation change vector size = 150676 bytes
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x10)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x10)
    in $ORACLE_HOME/dbs/alert_DBAASS06.log shows -
    [oracle@el64dev03 dbs]$ cat alert_DBAASS06.log
    Wed Jul 24 09:29:19 2013
    Adjusting the default value of parameter parallel_max_servers

    Thanks for the reply. The cloned database source looks like it uses spfile on startup on the test box, but as I hadn't checked this at the time it was cloned, the spfile was not copied over, so I'm assuming it would have used the default init.ora created which had the correct dump dest defined. As for the new database, it was created from scratch, so I don't see why this should not work correctly. Unfortunately as I am new to this establishment, I have no history as to how Oracle was installed on either machine or how any of the other databases were created, though I do understand that many may have been cloned.
    So while I can't speak for the databases that already existed on the Dev box, it seemed weird that they all appeared to be doing the same thing.  So I found one that hadn't been started for a while for which there was no historic alert log in dbs and started it to see what happened. It had no spfile, started with pfile and did not create a rogue log. I created an spfile and restarted and still no rouge log.  I ran show paremeters and compared to another similar database that had a rougue log, DASSEN02 v DASSEN04 and the only differences were with the instance name and all the files (bdump, cdump etc) existed correctly. Had a further look ref RMAN as some but not all databases had snapcf files in the dbs directory, but again some that had snap files had rougue alert files and others didn't. Also double checked file permissions on the bdump directory, no issues there. Unexplained issues really do bug me, but I think I'll just have to live with not knowing for now, till I have a spare few hours to look at again.

  • Alert log/trace file

    alert log file is generated daily or it will be updated daily?
    is trace file part of alert log file or its a seperate file?
    how trace file differ's from alert log file.?
    thankx....

    >>
    alert log file is generated daily or it will be updated daily?
    >
    When oralce starts every first time, oracle does create a alert log file and whenever oracle wants to update the alertlog file, it updates the existing one and in case of missing alert log, it re-create the alert log and updates it.
    >>
    is trace file part of alert log file or its a seperate file?
    >>
    No.
    >>
    how trace file differ's from alert log file.?
    >>
    alert log contains database activities list carried out in the related database.
    trace file can be generated due to number of reasons, like, hardware problems, due to oracle internal errors, user errors, whenever you trace a session and etc.
    Jaffar

  • Memory errors in alert log

    Working on following environment:
    Platform -> Windows Server 2003 Version V5.2 Service Pack 2 32-bit
    Oracle Database -> 10.2.0.1
    My database was going to shutdown(auto) after 5 minutes of database startup. When I investigate alert log got following messages in it:
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 2210K exceeds notification threshold (2048K)
    KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw==
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_ckpt_7024.trc:
    ORA-04030: out of process memory when trying to allocate 8716 bytes (pga heap,Get krha asynch mem)
    CKPT: terminating instance due to error 4030
    Mon Mar 14 11:05:30 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_q001_5816.trc:
    ORA-04030: out of process memory when trying to allocate bytes (,)
    Then I follow metalink note 330239.1 and got the issue resolved related to "shutdown" but getting some new error messages in alert log. Please see the below error messages:
    Thread 1 cannot allocate new log, sequence 77933
    Private strand flush not complete
    Current log# 2 seq# 77932 mem# 0: D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\REDO0_02.LOG
    Thread 1 advanced to log sequence 77933
    Current log# 1 seq# 77933 mem# 0: D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\REDO0_01.LOG
    Mon Mar 14 12:34:08 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_smon_7300.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04030: out of process memory when trying to allocate 404 bytes (Typecheck,seg:kggfaAllocSeg)
    Mon Mar 14 12:49:00 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_j000_7060.trc:
    ORA-12012: error on auto execute of job 27
    ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
    Mon Mar 14 12:49:34 2011
    Process startup failed, error stack:
    Mon Mar 14 12:49:35 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_psp0_6908.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlapped I/O operation is in progress.
    ORA-27302: failure occurred at: skgpspawn
    Mon Mar 14 12:49:35 2011
    Process J001 died, see its trace file
    Mon Mar 14 12:49:35 2011
    kkjcre1p: unable to spawn jobq slave process
    Mon Mar 14 12:49:36 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_cjq0_6280.trc:
    Mon Mar 14 12:53:51 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_j000_7060.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x603F1A55] [ADDR:0xBB] [UNABLE_TO_READ] []
    Mon Mar 14 12:53:53 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_j000_7060.trc:
    ORA-04030: out of process memory when trying to allocate 753120 bytes (pga heap,kco buffer)
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x603F1A55] [ADDR:0xBB] [UNABLE_TO_READ] []
    Mon Mar 14 12:54:53 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_q000_5424.trc:
    ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba)
    Mon Mar 14 13:21:24 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_mmon_7444.trc:
    ORA-00600: internal error code, arguments: [kspcsetsp3], [], [], [], [], [], [], []
    Mon Mar 14 13:21:27 2011
    Errors in file d:\oracle10g\product\10.2.0\admin\ndb\bdump\ndb_mmon_7444.trc:
    ORA-00600: internal error code, arguments: [kmgs_parameter_update_timeout_1], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [kspcsetsp3], [], [], [], [], [], [], []
    Mon Mar 14 13:22:26 2011
    Restarting dead background process MMON
    MMON started with pid=11, OS id=7304
    Mon Mar 14 13:44:51 2011
    Thread 1 advanced to log sequence 77934
    Current log# 3 seq# 77934 mem# 0: D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\REDO0_03.LOG
    Mon Mar 14 13:51:20 2011
    Thread 1 advanced to log sequence 77935
    Current log# 2 seq# 77935 mem# 0: D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\REDO0_02.LOG
    kindly help me out in this, as this is PRODUCTION database.
    Regards,

    Please see the parameter values extracted from the alert log:
    Adjusting the default value of parameter parallel_max_servers
    from 160 to 135 due to the value of parameter processes (150)
    Mon Mar 14 12:18:53 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    sga_max_size = 1577058304
    __shared_pool_size = 125829120
    __large_pool_size = 8388608
    __java_pool_size = 8388608
    __streams_pool_size = 0
    sga_target = 1258291200
    control_files = D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\CONTROL01.CTL, D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\CONTROL02.CTL, D:\ORACLE10G\PRODUCT\10.2.0\ORADATA\NDB\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 1107296256
    compatible = 10.2.0.1.0
    db_files = 600
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = d:\oracle10g\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS2
    kgllarge_heap_warning_threshold= 8388608
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=ndbXDB)
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE10G\PRODUCT\10.2.0\ADMIN\NDB\ADUMP
    background_dump_dest = D:\ORACLE10G\PRODUCT\10.2.0\ADMIN\NDB\BDUMP
    user_dump_dest = D:\ORACLE10G\PRODUCT\10.2.0\ADMIN\NDB\UDUMP
    core_dump_dest = D:\ORACLE10G\PRODUCT\10.2.0\ADMIN\NDB\CDUMP
    db_name = ndb
    open_cursors = 300
    pga_aggregate_target = 838860800
    Regards,
    Edited by: user12194837 on Mar 14, 2011 3:55 AM

  • ORA- errors in alert log file

    I wanted to know when the ORA- errors are reported into the alert.log file?
    And which tye of errors are reported into it?
    And if i wanted to log all the ORA-errors in the alert log then is there any setting for that?

    You can find the type of errors reported in the link above.
    Also, you maynot like to log ORA-00942: table or view does not exist, ORA-00904: : invalid identifier type of errors in alert.log - right? You may want to research at setting up events for generating trace files on specific error numbers you are looking at. That might resolve your problem - hth.

  • Ora Errors in Alert Log:ORA-27508, ORA-27507, ORA-27300, ORA-27301

    Hi All,
    I have a Solaris 5.9 machine with Oracle 9.2.0 installed on it. But the connectivity to the database is lost intermittently.
    I am getting the below mentioned message in the Alert Log:
    ORA-27508: IPC error sending a message
    ORA-27507: IPC error disconnecting from a port
    ORA-27300: OS system dependent operation:DIS: NCON: connect failed: cnh 0 failed with status: 134
    ORA-27301: OS failure message: Transport endpoint is not connected
    ORA-27302: failure occurred at: skgxpdis
    ORA-27303: additional information: DIS: NCON: connect failed: cnh 0x1039208e8, rqh 0x10391bfb8
    After searching a lot on various forums, I could not get any resolution to the above errors.
    Could someone please help me out with this issue.
    Thanks a lot in advance.

    This was already clear from the initial error.
    Your interconnect is functioning badly.
    You need to address the errors 27300 and 27301.
    Sybrand Bakker
    Senior Oracle DBA

  • Find time when DB went down (nothing in alert log).

    hello all,
    is there any way to tell when the DB went down. Yesterday we had some outage in our datacenter and it took down one of our servers. And this morning i started the DB and they went up fine with no problem. But is there any way to find out when the DB went down (there was nothing written in the alert log)...and our sysadmin is on Vac...and the management wants me to find out when the server/database went down...does oracle record this thing any place in the DB besides the alert log ?? we are on 10.2.0.3 on hp-ux. We can look at the OS to find this out, but as mentioned our sysadmin is out and dont have access to root...

    Hello user630084,
    Pls try this. I had to check the same on one of our client boxes without unix access and I used the below to find. it worked for me.
    (10.2.0.4 version)
    SELECT SCN_TO_TIMESTAMP(TIMESTAMP_TO_SCN(startup_time)) "DB Shutdown Time" , startup_time "DB Startup Time" FROM v$instance
    Hope this works for u aswell.
    Krishna

  • Settinggs for Generic Alert Log Metric, OEM GC 10204

    OS: AIX Grid Control Version: 10204
    Agent:10204, Repository DB:10204
    This is the setting on a 9208 DB I was testing for Generic Alert Log Error Metric (I had to change [ (square bracket with { curly brackets on the post).
    Warning Metric: ORA-*
    Critical Metric: ORA-0*(60{0-9}|1157|1562|1628|1650|1653|1654|1655|1656|4031|7445|16014|29740){^0-9}
    The Warning metric (ORA-*) is set to a catch all else if not found in the critical metric. Not sure if there's an order the warning vs critical is read, but so far this has worked for our purposes.
    In GC 10204, we can add an ORA- error to the 'Alert Log Filter Expresion' and this would prevent a metric from being sent out if matched, so if there's a particular ORA-0600 error we do not want to be sent out as critical, we could add it to to the filter to be ignored. In the Advance Setting GC example , we want to ignore "ORA-00600: internal error code, arguments {qerfxFetch_01}, {}, {}, {}, {}, {}, {}" , so we would added it to the filter as ".*ORA-00600:.*\{qerfxFetch{^\}}*\}.*"
    My question - Instead of ignoring the error "ORA-00600: internal error code, arguments {qerfxFetch_01}, {}, {}, {}, {}, {}, {}", I want to move it to be a Warning, can anyone suggest any way of doing this? I've tried adding to the Warning metric {.*ORA-00600:.*\{qerfxFetch{^\}}*\}.*}|ORA-*, but this does not work, as the alert still comes out as a critical.
    All suggestions are welcome.

    Hi,
    You did not mention database version. in 11g, the generic alert log metric will not work. For 10g, you can set this from metrics and policy settings page bu setting warning and critical thresholds for this metric to "ORA-*". And then create a notification rule for this metric.
    For 11g, you need to check MOS note 949858.1
    Salman

  • Error in alert log files

    Hi,
    I am working on oracle10.2.0.4 and o/s is HP-UX .
    In alert log ifle of database i found follwoing messages.
    ksvcreate: Process(m000) creation failed
    Wed Sep  1 09:09:02 2010
    Process m000 died, see its trace file
    Wed Sep  1 09:09:02 2010
    ksvcreate: Process(m000) creation failed
    By using TOP command checked that load on database server was very high...
    383 processes: 347 sleeping, 35 running, 1 zombie
    Cpu states:
    CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
    0 1.67 *97.2%* 0.0% 6.8% 0.0% 0.0% 0.0% 0.0% 0.0%
    1 1.68 *96.6%* 0.0% 10.4% 0.0% 0.0% 0.0% 0.0% 0.0%
    avg 1.67 *97.4%* 0.0% 8.6% 0.0% 0.0% 0.0% 0.0% 0.0%
    Memory: 11087320K (6724692K) real, 12604944K (7680860K) virtual, 924024K free Page# 1/19
    CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
    1 ? 16530 oracle10 235 20 8969M 5180K run 0:52 27.80 27.75 oraclePROD2
    0 ? 16536 oracle10 241 20 8969M 5116K run 2:55 20.57 20.53 oraclePROD2
    1 ? 16523 oracle10 234 20 8969M 5116K run 0:27 20.18 20.15 oraclePROD2
    This time application was down .....and we restarted applicaiton ...
    IS this issue is realted to database .... ?
    How to reolve this ...?
    Edited by: oradba11 on Sep 1, 2010 1:00 PM
    Edited by: oradba11 on Sep 1, 2010 1:00 PM

    Yes , database was up and running ...
    but in alert log file i got messages ...
    and load on server was very high .. i put out put of top command ...
    is this is realted to database ...?

  • Alert Log Management

    Hi All
    My database is on Windows machine OS version MS Windows 2003 SP2 64 bit with genuine intel processor from EM 64T family. The alert log is expected to capture all error messages and for a DBA it points one of the most important trouble shooting areas if any problem with the database is referred to .. also does it grow continuously as the database ages in time ..
    Earlier on UNIX machines I used to backup the alert log file for future referance and then would trim the file size so that it wont grow beyond manageable limits.. I was using vi editor, cp command and other unix filters like head etc..
    but on windows we do not have the filters .. neither could I open the alert log file trim the top few lines and save it so that its size is still manageable by the os.. I am at the moment clueless as to how could I do this activity.. I was doing some google offlate and learnt that for listener log, we have some options like
    lsnrctl set file_name <NEW LOG FILE_NAME>
    to refresh the listener log to a new file and thus avoid it growing huge in size. Do we have any such fascility for managing alert log as well? It would not always be possible to shut down the database just to trim the alert log file.. and on windows I am not sure about other options..
    Thank you ..
    Sarat.

    Here is from a previous post:
    I've been managing Oracle database mostly on Linux for years. Now I'm in an all windows shop and need a script to check my alert logs. Batch programming is junk, can't be trusted, errorlevel is worthless, so I wrote this little program.
    This is the begining of alert_log_checker.vbs
    ' Check the alert log for errors, then send email and rename file
    ' takes the alert log location as the 1st parameter
    Set oArgs = WScript.Arguments
    ' Set this to the log you want to check for or pass it in. currently its passed in
    v_alert_log = oArgs(0)
    ' Set this to the text pattern you want to grep for
    v_pattern = "ORA-"
    v_mail_to = "[email protected]"
    Set objNet = CreateObject("WScript.NetWork")
    v_computername = objNet.ComputerName
    v_mail_from = v_computername & "@someplace.com"
    ' Check if the file exists
    if FileExists(v_alert_log) = FALSE then
    'wscript.echo "No log file" & v_alert_log
    Wscript.quit(0)
    end if
    ' Grep the log
    v_grepResults = GrepFile(v_alert_log,v_pattern)
    if v_grepResults = "" then
    'wscript.echo "Log is empty"
    wscript.quit(0)
    else
    ' send email concerning alert
    Set WshShell = WScript.CreateObject("WScript.Shell")
    Return = WshShell.Run("sendmail.vbs -t "& chr(34) & v_mail_to & chr(34) &" -f "& chr(34) & v_computername & "@crocentral.com "& chr(34) &" -s "& chr(34) & "Oracle Alerts in Log on "& v_computername & chr(34) & " -a "& v_alert_log & " -b "& chr(34) & v_grepresults & chr(34), 1, true)
    Set WshShell = Nothing
    ' rename file prepending date time YYYYMMDD_HHMM
    renameLogFile(v_alert_log)
    wscript.quit(0)
    end if
    '*********************** FileExists
    Function FileExists(filespec)
    Dim fe, msg
    Set fe = CreateObject("Scripting.FileSystemObject")
    If (fe.FileExists(filespec)) Then
    msg = TRUE
    Else
    msg = FALSE
    End If
    FileExists = msg
    End Function
    '*********************** GrepFile
    Function GrepFile(p_txtFile, p_pattern)
    Dim v_txtTemp, objFS, objFL, v_lineTemp
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Set objFL = objFS.OpenTextFile(p_txtFile)
    Do While Not objFL.AtEndOfStream
    v_lineTemp=objFL.ReadLine
    if instr(1,v_lineTemp,p_pattern,1) > 0 then
    v_txtTemp = v_txtTemp & v_lineTemp & vbCrLf
    end if
    Loop
    objFL.Close
    Set objFS = Nothing
    GrepFile = v_txtTemp
    End Function
    '*********************** renameLogFile
    sub renameLogFile(p_file)
    dim v_file, v_path, v_filename, v_newname, v_yyyymmdd
    v_dtNow = Now()
    v_YYYYMMDD24hhMM = Right("0" & Year(v_dtNow), 4) & Right("0" & Month(v_dtNow), 2) & Right("0" & Day(v_dtNow), 2) & "_" & replace(FormatDateTime(v_dtnow,4),":","")
    Set fso = CreateObject("Scripting.FileSystemObject")
    set v_file=fso.GetFile(p_file)
    v_path=v_file.ParentFolder
    v_filename = v_file.name
    v_newname = v_path & "\" & v_YYYYMMDD24hhMM & "_" & v_filename
    'wscript.echo v_newname
    v_file.Move v_newname
    end sub
    *** this is the end of alert_log_checker.vbs
    alert_log_checker.vbs calls sendmail.vbs is is below, which I didn't write (just hacked) and am including for the whole package.
    *** begin sendmail.vbs
    ' Sends email from the remote SMTP service using CDO objects
    ' Usage:
    ' sendmail -t <to> -f <from> -s "<subject>" -b "<message>"
    ' sendmail [-help|-?]
    'Option Explicit
    'On Error Resume Next
    Dim objSendMail, oArgs, ArgNum
    Dim strTo, strFrom, strSubject, strBody, strAttachFile, strBodyFile
    strBodyFile=FALSE
    Set oArgs = WScript.Arguments
    ArgNum = 0
    While ArgNum < oArgs.Count
    Select Case LCase(oArgs(ArgNum))
    Case "-to","-t":
    ArgNum = ArgNum + 1
    strTo = oArgs(ArgNum)
    Case "-from","-f":
    ArgNum = ArgNum + 1
    strFrom = oArgs(ArgNum)
    Case "-subject","-s":
    ArgNum = ArgNum + 1
    strSubject = oArgs(ArgNum)
    Case "-body","-b":
    ArgNum = ArgNum + 1
    strBody = oArgs(ArgNum)
    Case "-bf":
    ArgNum = ArgNum + 1
    strBodyFile=TRUE
    strBody = oArgs(ArgNum)
    Case "-attachfile","-a":
    ArgNum = ArgNum + 1
    strAttachFile = oArgs(ArgNum)
    Case "-help","-?":
    Call DisplayUsage
    Case Else:
    Call DisplayUsage
    End Select
    ArgNum = ArgNum + 1
    Wend
    'WScript.Echo strto & strFrom & strsubject & strbody
    If oArgs.Count=0 Or strTo="" Or strFrom="" Or strSubject="" Then
    Call DisplayUsage
    Else
    Set objMessage = CreateObject("CDO.Message")
    objMessage.Subject = strsubject
    objMessage.From = strFrom
    objMessage.To = strto
    if strBodyFile = TRUE then
    objMessage.TextBody = ReadFile(strbody)
    else
    objMessage.TextBody = strbody
    end if
    if strAttachFile <> "" then
    'wscript.echo "attaching file"
    objMessage.AddAttachment(strAttachFile)
    end if
    end if
    '==This section provides the configuration information for the remote SMTP server.
    objMessage.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    'Name or IP of Remote SMTP Server
    objMessage.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "jupiter"
    'Server port (typically 25)
    objMessage.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
    objMessage.Configuration.Fields.Update
    '==End remote SMTP server configuration section==
    objMessage.Send
    ' Display the usage for this script
    Sub DisplayUsage
    WScript.Echo "Usage:"
    WScript.Echo " sendmail -t <to address> -f <from address> -s " & _
    Chr(34) & "<subject>" & Chr(34) & " -b " & Chr(34) & _
    "<message body>" & Chr(34)
    WScript.Echo " -a <attachment file name>"
    WScript.Echo " sendmail [-help|-?]"
    WScript.Echo ""
    WSCript.Quit
    End Sub
    Function ReadFile(txtFile)
    Dim txtTemp, objFS, objFL
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Set objFL = objFS.OpenTextFile(txtFile)
    Do While Not objFL.AtEndOfStream
    txtTemp = txtTemp & objFL.ReadLine
    txtTemp = txtTemp & vbCrLf
    Loop
    objFL.Close
    Set objFS = Nothing
    ReadFile = txtTemp
    End Function
    *** end sendmail.vbs

  • Cloud Control 12c monitoring Oracle 11g Standard Edition alert.log

    Hi guys.
    I just installed Cloud Control 12c3 and added my cluster database, I have readed many papers, tech docs and tech discuss and now i have a huge confussion about packs, licensing and other fruits. Please help...
    I have four Oracle 11g databases (differents hosts) Standard Edition, and i want monitoring and notificate alert.log errors. For example, if alert.log says "ORA-01438, blablabla" i want a email notification. 
    I read about packs, and says that "diagnostic pack" is needed for alert.log monitoring in Cloud Control 12c. But my version database is Standard Edition without packs, so I CAN'T MONITORING ALERT LOG!!!.
    Question:
      Do I really need Diagnostic Pack for monitoring alert.log with Cloud Control?
      If Diagnostinc Pack is not necessary, how can i monitoring alert.log?
    Thanks

    I do not think you require any pack for alert.log content monitoring but you might need to check with Oracle rep. I am saying so because if you go to the "Alert log content" page and click on management pack for this page, Grid will display a message that this page does not require any pack.
    Go to the Alert log content by "oracle database -> logs -> alert log contents"
    then
    go to SETUP -> management packs -> packs for this page
    You will see the message will be displayed " this pages does not require any pack"
    Can you also provide the doc where it says that this pae needs diagnostic pack?

  • Alert log rotation/OS Audit log rotation

    Hi all,
    Is there away  that I can fix of my audit and alert log size to 100Mb and it will just reuse or rotate around it?
    Or can manipulate it thru  OS programs?
    Thanks,
    zxy

    You can limit the OS audit file size using the package called DBMS_AUDIT_MGMT
    Refer http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_audit_mgmt.htm
    However, for limitting alert log file size, you need to setup a OS job, which periodically checks the alert log file size and then does a rename of the alert log file.

  • Errors in alert log and listener log and "alter database mount exclusive"

    Hello!
    I need a help.
    Database 11R2 works under MS Windows Server.
    Whwn I start it using Services, according alert log it is started by command "alter database mount exclusive".
    Next - alter database open.
    After this, it seams that program, which should put data into database, can not work with it, because I see errors in alert log: ora-12537, 12560, 12535, 12570, 12547.
    What does itmean and what to do?
    This is extract from alert_log
    ORACLE_BASE from environment = C:\Oracle
    Mon Feb 04 14:54:53 2013
    alter database mount exclusive
    Successful mount of redo thread 1, with mount id 1458539517
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Thread 1 opened at log sequence 3105
    Current log# 3 seq# 3105 mem# 0: C:\ORACLE\ORADATA\xxx\REDO03.LOG
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is AL32UTF8
    No Resource Manager plan active
    Mon Feb 04 14:55:04 2013
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Feb 04 14:55:06 2013
    QMNC started with pid=20, OS id=2860
    Completed: alter database open
    Mon Feb 04 14:55:11 2013
    Starting background process CJQ0
    Mon Feb 04 14:55:11 2013
    CJQ0 started with pid=25, OS id=2000
    Mon Feb 04 14:55:11 2013
    db_recovery_file_dest_size of 4977 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Feb 04 15:00:29 2013
    Starting background process SMCO
    Mon Feb 04 15:00:29 2013
    SMCO started with pid=32, OS id=3212
    Edited by: kogotok1 on Feb 4, 2013 4:54 PM

    Thank you.
    But in the same time - when I see in alert log those error messages ora -12560, 12537,12535,12570 and so on - clients programs, whiie try to connect, hang up.
    For sql plus takes 20 minutes to connect.
    lsnrctl status gives the following
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-FEB-2013 16:01
    :46
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx-BD.mosxxx
    .elektra.net)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 01-FEB-2013 10:22:48
    Uptime 3 days 5 hr. 39 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\xxx-BD\listener\alert\l
    og.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx-BD.mosxxx.elektra.net)
    (PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XXX" has 2 instance(s).
    Instance "XXX", status UNKNOWN, has 1 handler(s) for this service...
    Instance "xxx", status READY, has 1 handler(s) for this service...
    Service "XXXDB" has 1 instance(s).
    Instance "xxx", status READY, has 1 handler(s) for this service...
    The command completed successfully
    To tell the truth I am confuse - I thought I have only 1 service "XXXDB" and 1 instance - "xxx".
    May be I have wrong entries in tnslsnr.ora?

Maybe you are looking for

  • How can I use two tabular forms on the same page.

    I have create one tabular form in page and try to create second tabular form so it gives below error. 1 error has occurred Updatable SQL Query already exists on page XXXXX. You can only add one updatable SQL query per page. Select a different page.

  • Javascript code needed for "Add to Favorites" icon in Webhelp using RH8

    Hi,   I have a huge problem in making the add to favorites icon click event associate with the appropriate code. This was the code i used in the Inline Javascript tab: <script type="text/javascript" language="JavaScript" src="showhide.js"></script> <

  • SharePoint 2013 Community members list is not working properly.

    Hello All, We have a community site at our office. It is having a discussion list which has almost 2000 discussion. The problem is the members who have raised questions or discussions should get added in community members list. But its not happening.

  • Check duplicate record in array

    suppose i have an array int a[]={1,2,3,4,4,5,6,7,7}; how should i check duplicate record and remove them? thanks...

  • How to edit repository.properties

    How to edit repository.properties. I want to edit the file http://<host>:<httpPort>/dtr/ws/system/config/active/registry/repository.properties Kindly give me the step by step procedure. Precisely how can i  check out this file using NWDS. Appreciate