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

Similar Messages

  • Oracle 10g Enterprise Manager console giving Alert log

    Dear all
    I have One HP server running Oracle 10g on Redhat Enterprise Linux 3.0 and two other systems with Oracle 9i and 8i. I have written sql query in my Oracle10g system which updates the database in 9i.
    The sql statement is
    CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM ADA@WCMMISLINK;
    CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM BGTAB@WCMMISLIN;
    The above query is sheduled to run every day .
    and i get the following Alert log in 10g enterprise manager console
    Generic Alert log ORA-12012: error on auto execute of job 54
    ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
    ORA-00604: error occured at recursive SQL level 3
    ORA-12514: tns no listener
    ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
    can you guid me why the above error are occuring
    the ORA-12514: tns no listener
    the above error why it is occuring , then listener is running on oracle 10g server and other 8i and 9i server also and i am able to connect from oracle10g to other oracle 8i and 9i from sql plus and viceversa..
    what could be the problem with tns listener
    Regards
    Niranjan

    Hi Ugonic
    Sorry both are same, it's spelling mistake it's " WCMMISLINK". Acutally, my database is getting updated but this alert log is getting generated in enterprise manager console of 10g.
    The sql statement is
    CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM ADA@WCMMISLINK;
    CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM BGTAB@WCMMISLINK;
    The above query is sheduled to run every day .
    and i get the following Alert log in 10g enterprise manager console
    Generic Alert log ORA-12012: error on auto execute of job 54
    ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
    ORA-00604: error occured at recursive SQL level 3
    ORA-12514: tns no listener
    ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
    can you guid me why the above error are occuring
    Regards
    Niranjan

  • Enterprise Manager Database Control Errors in Alert.log

    Hi all
    I'm posting it this forum because i think it is the best place to get some help, i suspect it is something in Entreprise Manager Database Console
    sometimes i get errors in Alert.log
    Errors in file e:\admin\orapd\udump\orapd_ora_3456.trc:
    ORA-25254: time-out in LISTEN while waiting for a message
    ORA-06512: at "SYS.DBMS_AQ", line 577
    ORA-06512: at "SYSMAN.EMD_NOTIFICATION", line 492
    ORA-06512: at line 1
    Generally this error is generated when the database is shutdow for backup (3 AM)
    In the shutdown script i terminate the DatabaseConsole service before i shutdown the database:
    Shutdown Script:
    @echo off
    REM Script de shutdown base de dados orapd
    REM Rui Madaleno , 2004/11/23
    echo Shutdown consola de administracao ...
    net stop oracledbconsoleorapd
    echo Parar o servico OracleCSService ...
    net stop oracleCSService
    echo Parar o servico OracleOraApacheProcessManager
    net stop OracleOraApacheProcessManager
    echo Parar o Listener da base de dados
    e:\oracle\bin\lsnrctl.exe stop
    echo Shutting down database ORAPD ....
    e:\oracle\bin\oradim.exe -shutdown -sid orapd -syspwd XXXX -shuttype srvc,inst -shutmode immediate
    My environment:
    Windows 2003 Server
    Compaq Proliant DL580 G2 Server
    Oracle Database 10.0.1.0.2
    How can i avoid this errors ???
    Thanks in Advance
    Rui Madaleno

    Dear ,
    I am facing same problem, detail is
    Errors in file d:\oracle\product\10.1.0\admin\oracle\udump\oracle_ora_2952.trc:
    ORA-25254: time-out in LISTEN while waiting for a message
    ORA-06512: at "SYS.DBMS_AQ", line 577
    ORA-06512: at "SYSMAN.EMD_NOTIFICATION", line 492
    ORA-06512: at line 1
    this problem is happen suddenly and user are not get new connection with database.
    thanks in advance

  • Managing Alert log files : Best practices?

    DB Version : 10.2.0.4
    Several of our DBs' alert logs have become quite large. I know that oracle will create a brand new alert log file if i delete the existing one.
    But i just want to know how you guys manage your alert log files. Do you guys archive (move to a different directory) and recreate a brand new alert log. Just want to know if there any best practices i could follow.

    ScottsTiger wrote:
    DB Version : 10.2.0.4
    Several of our DBs' alert logs have become quite large. I know that oracle will create a brand new alert log file if i delete the existing one.
    But i just want to know how you guys manage your alert log files. Do you guys archive (move to a different directory) and recreate a brand new alert log. Just want to know if there any best practices i could follow.Every end of day (or every periodic time) archive your alert.log and move other directory then remove alert.log.Next time Database instance will automatically create own alert.log

  • Seeking comments about managing Oracle's Alert log

    Good morning,
    Alert logs can often be very useful.
    I am forming the opinion that it would probably be a good idea to keep a backup of the alert logs for, maybe, a 3 to 6 months sliding window.
    I would like to know the views of the forum members on the subject of alert log backups, including how long the backups (if any) are kept. Actual practice on the subject in production environments is greatly appreciated.
    Thank you for taking the time to comment on the subject,
    John.

    Hello Asif,
    >
    Yes , may be you need to open a SR in metalink and they may ask something old incident. For this reason you need to check the old alert log content. That's why I suggest to keep the alert log for production environment for 3/4 years.
    >
    I had not thought about someone asking for an incident that would be over a year old but, I can see that on occasion having the records might be useful.
    >
    Now a days storage are cheap so it's not that critical to store the alert log files.
    >
    I completely agree. I was more concerned about managing that many logs... on the other, they are just flat files, not that hard to manage.
    Thank you,
    John.

  • Errors in alert log

    Hi,
    we have Oracle 11.2.0 standard running under Windows Xp 32
    At last time alert log is full of error? like
    Tue Dec 18 11:14:26 2012
    Errors in file c:\oracle\diag\rdbms\ \trace\ratik_j000_4448.trc:
    Errors in file c:\oracle\diag\rdbms\ \trace\ratik_j000_4448.trc:
    and Db is open and in read/write mode
    each trace file is over 4 GB size and new trace files appear and they all are like <sid>j000<>.trc
    all trace files contains following messages
    Trace file c:\oracle\diag\rdbms\ \trace\<sid>j0003300.trc
    Oracle Database 11g Release 11.2.0.1.0 - Production
    Windows XP Version V5.1 Service Pack 3
    CPU : 4 - type 586, 4 Physical Cores
    Process Affinity : 0x0x00000000
    Memory (Avail/Total): Ph:705M/2986M, Ph+PgF:3533M/6914M, VA:978M/2047M
    Instance name: ratik
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Windows thread id: 3300, image: ORACLE.EXE (J000)
    *** 2013-03-12 09:07:08.906
    *** SESSION ID:(192.5) 2013-03-12 09:07:08.906
    *** CLIENT ID:() 2013-03-12 09:07:08.906
    *** SERVICE NAME:(SYS$USERS) 2013-03-12 09:07:08.906
    *** MODULE NAME:(EM_PING) 2013-03-12 09:07:08.906
    *** ACTION NAME:(AGENT_STATUS_MARKER) 2013-03-12 09:07:08.906
    --------Dumping Sorted Master Trigger List --------
    Trigger Owner : SYSMAN
    Trigger Name : MGMT_JOB_EXEC_UPDATE
    --------Dumping Trigger Sublists --------
    trigger sublist 0 :
    trigger sublist 1 :
    Trigger Owner : SYSMAN
    Trigger Name : MGMT_JOB_EXEC_UPDATE
    trigger sublist 2 :
    trigger sublist 3 :
    trigger sublist 4 :
    what it can be and whow can I fix it?
    Thank's

    There are no ora-00600 errors not in aler not in treace file. And it is not a standby, it is a standalone Db server
    full trace files are over 4GB
    so again the alert log
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Release 11.2.0.1.0 - Production.
    Using parameter settings in server-side spfile C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILERATIK.ORA
    System parameters with non-default values:
    processes = 150
    nls_language = "AMERICAN"
    nls_territory = "AMERICA"
    memory_target = 1200M
    control_files = "C:\ORACLE\ORADATA\RATIK\CONTROL01.CTL"
    control_files = "C:\ORACLE\FLASH_RECOVERY_AREA\ \CONTROL02.CTL"
    Wed Mar 13 11:32:52 2013
    db_block_size = 8192
    compatible = "11.2.0.0.0"
    db_recovery_file_dest = "C:\oracle\flash_recovery_area"
    db_recovery_file_dest_size= 3852M
    undo_tablespace = "UNDOTBS1"
    max_enabled_roles = 148
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = ""
    dispatchers = "(PROTOCOL=TCP) (SERVICE=ratikXDB)"
    utl_file_dir = "*"
    job_queue_processes = 100
    audit_file_dest = "C:\ORACLE\ADMIN\ \ADUMP"
    audit_trail = "DB"
    db_name = " SID "
    open_cursors = 300
    optimizer_mode = "ALL_ROWS"
    query_rewrite_enabled = "TRUE"
    query_rewrite_integrity = "TRUSTED"
    aq_tm_processes = 1
    diagnostic_dest = "C:\ORACLE"
    Deprecated system parameters with specified values:
    Wed Mar 13 11:33:02 2013
    max_enabled_roles
    End of deprecated system parameter listing
    Wed Mar 13 11:33:03 2013
    PMON started with pid=2, OS id=2484
    Wed Mar 13 11:33:03 2013
    MMAN started with pid=9, OS id=2176
    Wed Mar 13 11:33:04 2013
    DBW0 started with pid=10, OS id=2896
    Wed Mar 13 11:33:04 2013
    SMON started with pid=13, OS id=2380
    Wed Mar 13 11:33:03 2013
    GEN0 started with pid=4, OS id=1056
    Wed Mar 13 11:33:03 2013
    DBRM started with pid=6, OS id=2188
    Wed Mar 13 11:33:04 2013
    RECO started with pid=14, OS id=3452
    Wed Mar 13 11:33:04 2013
    MMNL started with pid=16, OS id=2588
    Wed Mar 13 11:33:03 2013
    VKTM started with pid=3, OS id=2492 at elevated priority
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Wed Mar 13 11:33:03 2013
    DIA0 started with pid=8, OS id=2180
    starting up 1 shared server(s) ...
    Wed Mar 13 11:33:04 2013
    MMON started with pid=15, OS id=1640
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Wed Mar 13 11:33:03 2013
    PSP0 started with pid=7, OS id=2504
    Wed Mar 13 11:33:04 2013
    CKPT started with pid=12, OS id=2544
    Wed Mar 13 11:33:04 2013
    LGWR started with pid=11, OS id=3228
    ORACLE_BASE from environment = C:\oracle
    Wed Mar 13 11:33:03 2013
    DIAG started with pid=5, OS id=2488
    Wed Mar 13 11:33:10 2013
    alter database mount exclusive
    Successful mount of redo thread 1, with mount id 327119926
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Wed Mar 13 11:33:21 2013
    Beginning crash recovery of 1 threads
    Started redo scan
    Completed redo scan
    read 463 KB redo, 146 data blocks need recovery
    Started redo application at
    Thread 1: logseq 517, block 72654
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 517 Reading mem 0
    Mem# 0: C:\ORACLE\ORADATA\RATIK\REDO01.LOG
    Completed redo application of 0.35MB
    Completed crash recovery at
    Thread 1: logseq 517, block 73581, scn 11916940
    146 data blocks read, 146 data blocks written, 463 redo k-bytes read
    Wed Mar 13 11:33:32 2013
    Thread 1 advanced to log sequence 518 (thread open)
    Thread 1 opened at log sequence 518
    Current log# 2 seq# 518 mem# 0: C:\ORACLE\ORADATA\RATIK\REDO02.LOG
    Successful open of redo thread 1
    Wed Mar 13 11:33:35 2013
    SMON: enabling cache recovery
    Wed Mar 13 11:33:36 2013
    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 CL8MSWIN1251
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Wed Mar 13 11:33:45 2013
    QMNC started with pid=20, OS id=4012
    Wed Mar 13 11:33:49 2013
    Completed: alter database open
    Wed Mar 13 11:33:56 2013
    Starting background process CJQ0
    Wed Mar 13 11:33:56 2013
    CJQ0 started with pid=22, OS id=2540
    Wed Mar 13 11:33:57 2013
    db_recovery_file_dest_size of 3852 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.
    Wed Mar 13 11:34:23 2013
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:34:29 2013
    Trace dumping is performing id=[cdmp_20130313113429]
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:34:39 2013
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:34:41 2013
    Trace dumping is performing id=[cdmp_20130313113441]
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Trace dumping is performing id=[cdmp_20130313113448]
    Wed Mar 13 11:34:53 2013
    Errors in file c:\oracle\diag\rdbms\k\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:35:01 2013
    Trace dumping is performing id=[cdmp_20130313113501]
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:35:07 2013
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Trace dumping is performing id=[cdmp_20130313113509]
    Errors in file c:\oracle\diag\rdbms\ratik\ratik\trace\ratik_j000_632.trc:
    Wed Mar 13 11:35:20 2013
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Wed Mar 13 11:36:20 2013
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    Errors in file c:\oracle\diag\rdbms\\trace\_j000_632.trc:
    and this message goes on till server is restarted after server is up that message appear again
    in trace file
    Trace file c:\oracle\diag\rdbms\ \trace\<sid>j0003300.trc
    Oracle Database 11g Release 11.2.0.1.0 - Production
    Windows XP Version V5.1 Service Pack 3
    CPU : 4 - type 586, 4 Physical Cores
    Process Affinity : 0x0x00000000
    Memory (Avail/Total): Ph:705M/2986M, Ph+PgF:3533M/6914M, VA:978M/2047M
    Instance name: ratik
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Windows thread id: 3300, image: ORACLE.EXE (J000)
    *** 2013-03-12 09:07:08.906
    *** SESSION ID:(192.5) 2013-03-12 09:07:08.906
    *** CLIENT ID:() 2013-03-12 09:07:08.906
    *** SERVICE NAME:(SYS$USERS) 2013-03-12 09:07:08.906
    *** MODULE NAME:(EM_PING) 2013-03-12 09:07:08.906
    *** ACTION NAME:(AGENT_STATUS_MARKER) 2013-03-12 09:07:08.906
    --------Dumping Sorted Master Trigger List --------
    Trigger Owner : SYSMAN
    Trigger Name : MGMT_JOB_EXEC_UPDATE
    --------Dumping Trigger Sublists --------
    trigger sublist 0 :
    trigger sublist 1 :
    Trigger Owner : SYSMAN
    Trigger Name : MGMT_JOB_EXEC_UPDATE
    trigger sublist 2 :
    trigger sublist 3 :
    trigger sublist 4 :
    *** 2013-03-12 09:07:14.046
    oer 8102.3 - obj# 86174, rdba: 0x00810e2c(afn 2, blk# 69164)
    kdk key 8102.3:
    ncol: 8, len: 47
    key: (47):
    01 80 05 41 44 4d 34 36 02 c1 02 0b 78 70 0a 10 08 2c 32 28 f2 c9 c0 02 c1
    04 01 80 01 80 10 c0 89 b8 fe e0 85 45 5a 8d 44 5f 2f 1c b6 ea bb
    mask: (2048):
    05 09 80 54 00 00 00 00 00 4c 00 00 00 88 70 9e 3e 00 00 00 00 00 00 00 00
    40 00 00 00 c8 78 34 0d 94 d1 aa 06 a0 03 8d 0b 00 00 00 00 ed d4 aa 06 9c
    70 9e 3e 00 00 00 00 38 00 00 00 0d 00 00 00 01 00 00 00 03 00 00 00 01 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0 79 9e 3e 00 00 00 00 ed d4 aa
    06 e8 70 9e 3e 00 00 00 00 38 00 00 00 00 00 00 00 38 00 00 00 00 00 00 00
    4c 00 00 00 00 00 00 00 9c 70 9e 3e 00 00 00 00 00 00 00 00 14 00 00 00 00
    40 00 00 00 00 00 00 a0 79 9e 3e 6c 00 00 00 c8 1c e4 3e 68 b6 3d 0d 7c 79
    34 0d fc f5 c4 62 a0 03 8d 0b a0 79 9e 3e 38 00 00 00 ff ff ff 7f 00 00 00
    00 00 00 00 00 00 40 00 01 00 00 00 00 38 ca f4 62 00 00 00 00 00 00 00 00
    00 00 00 00 02 00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 c4 b0 3d 0d 08 76 9e 3e 16 00 00 00 f0 1c e4 3e 00 00 00 00 64 81
    34 0d 00 00 00 00 44 79 34 0d 8c 2c 20 07 17 00 00 00 c4 b0 3d 0d 4c 79 34
    0d 28 23 ea 06 5c 79 34 0d 8c 2c 20 07 17 00 00 00 c4 b0 3d 0d 64 79 34 0d
    28 23 ea 06 b4 79 34 0d a5 d2 ec 62 5c 88 34 0d 80 79 34 0d 8c 2c 20 07 17
    00 00 00 6c 00 00 00 88 79 34 0d 28 23 ea 06 ac 79 34 0d 58 14 cd 62 08 76
    9e 3e a0 03 8d 0b 00 00 00 00 00 00 00 00 02 00 00 00 0c 7e 34 0d c4 b0 3d
    0d 80 ff 8c 0b 6c 00 00 00 d4 79 34 0d 36 a4 c2 62 c8 1c e4 3e 06 00 00 00
    0c 7e 34 0d 02 00 00 00 84 00 00 00 c4 b0 3d 0d 10 7e 34 0d ef 5f 3b 02 c8
    1c e4 3e 06 00 00 00 0c 7e 34 0d 02 00 00 00 84 00 00 00 c4 b0 3d 0d 06 00
    00 00 40 7e 34 0d 02 00 00 00 84 00 00 00 c4 b0 3d 0d 44 7e 34 0d ef 5f 3b
    and those memory blocks till the end of log file
    NO SR is raised.

  • Not clearable : 1 distinct types of ORA- errors have been found in the alert log.

    ( Correct me if I'm wrong.)
    What could be the reason for the fact that the event "1 distinct types of ORA- errors have been found in the alert log." is not clearable?
    Even if the problem is solved, the ORA- error will still be in the alert.log.
    Therefore the event would eventually only disappear after 7 days.
    Doesn't sound very logical to me.

    - The event page showing a warning event for "Generic Alert Log Error Status" metric,
    - "Generic Alert Log Error Status" event is a statefull metric,
    - On each evaluation of the metric defined as 'Statefull', the Cloud Control Agent recalculates the severity,
    - This means, EM Agent scans the alert log for ORA errors, "Generic Alert Log Error Status" will return the number of ORA error found,
    - Whenever the returned number is grater than the assigned thresholds of "Generic Alert Log Error Status", an alert is raised on EM console,
    - On the next scan of alert log file, this alert will be cleared ONLY if the collected value is less than the assigned threshold,
    - By checking your system, the warning threshold of "Generic Alert Log Error Status" is 0, so whenever a single ORA error is found in alert log, a warning event will be raised and you will not be able to clear it manually as this is a stateful metric.
    There are three cases where this alert can be cleared:
    1. The agent found 0 ORA errors in Alert log, then the alert will be cleared automatically
    2. Manual clear: By disabling/enabling the metric
    3. Manual clear and further not receiving similar alerts frequently: By assigning higher thresholds values
    So, I suggest to disable the metric, then, enable it after some time as follows as follows:
    - Go to the problematic database home page >> open the 'Oracle Database' drop-down menu >> 'Monitoring' >> 'Metric and Collection Settings',
    - Choose 'All metrics' from the 'View' drop-down list >> search for the 'Generic Alert Log Error Status' metric,
    - Click the pencil icon under 'Edit' column opposite to the above metric >> remove the Warning Threshold (make it empty) >> 'Continue' >> 'OK'.
    - Wait for the next collection schedule in order for the warning events to be cleared, then, enable the metric again with the same steps (setting Warning Threshold=0).
    References:
    Note 604385.1 Receiving "Clear" Notifications Unexpectedly for 'Generic Alert Log Error Status' Metric
    Note 733784.1 What are Statefull and Stateless Metrics in Enterprise Manager - Explanation and Example
    HTH
    Mani

  • Alert log.xml or alert.log errors do not appear in EM

    Little puzzled here. Using 11.1.0.6 to test if alert errors will appear on 11.1.0.1 EM Grid pages. Simple ORA-1653 triggered via sql insert and then waited and waited. Nothing. I can use EM to open log file and to display the errors but no alerts are flagged on any of the pages.
    Is this a another bug?
    Roman

    You can read all about how the 11g alert log is monitored in: Monitoring 11g Database Alert Log Errors in Enterprise Manager [ID 949858.1]
    Yes, it describes some bugs (and workarounds) too.
    Eric

  • After 10.2.0.2 Upgrade Errors in Alert log

    After upgrading the database to 10.2.0.2 - I am receiving the following errors during database database startup and shutdown in the alert log:
    Errors in file /upgdb19/oracle/apgl19udb/10.2.0/admin/apgl19u_rosexdevpgl2/udump/apgl19u_ora_692308.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06521: PL/SQL: Error mapping function
    ORA-06512: at "DMSYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    Wed Mar 7 18:47:58 2007
    Completed: ALTER DATABASE OPEN
    I am running the Enterprise Edition Database and according to the OUI the OLAP option is installed.
    Any ideas?

    DMSYS relates to Data Mining. You may have installed the pure software components, but check for invalid database components and run
    @$ORACLE_HOME/rdbms/admin/utlu102s.sql TEXT . You should see something like this:
    Oracle Database 10.2 Upgrade Status Utility 04-20-2005 05:18:40
    Component Status Version HH:MM:SS
    Oracle Database Server VALID 10.2.0.1.0 00:11:37
    JServer JAVA Virtual Machine VALID 10.2.0.1.0 00:02:47
    Oracle XDK VALID 10.2.0.1.0 00:02:15
    Oracle Database Java Packages VALID 10.2.0.1.0 00:00:48
    Oracle Text VALID 10.2.0.1.0 00:00:28
    Oracle XML Database VALID 10.2.0.1.0 00:01:27
    Oracle Workspace Manager VALID 10.2.0.1.0 00:00:35
    Oracle Data Mining VALID 10.2.0.1.0 00:15:56
    Messaging Gateway VALID 10.2.0.1.0 00:00:11
    OLAP Analytic Workspace VALID 10.2.0.1.0 00:00:28
    OLAP Catalog VALID 10.2.0.1.0 00:00:59
    Oracle OLAP API VALID 10.2.0.1.0 00:00:53
    Oracle interMedia VALID 10.2.0.1.0 00:08:03
    Spatial VALID 10.2.0.1.0 00:05:37
    Oracle Ultra Search VALID 10.2.0.1.0 00:00:46
    Oracle Label Security VALID 10.2.0.1.0 00:00:14
    Oracle Expression Filter VALID 10.2.0.1.0 00:00:16
    Oracle Enterprise Manager VALID 10.2.0.1.0 00:00:58
    ========================
    Werner

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

  • Errors in alert log PROD

    Dear all,
    Oracle 10.2 on AIX 5.3
    I am getting these errors in my alert log.
    ORA-12012: error on auto execute of job 42568
    ORA-04063: ORA-04063: package body "EXFSYS.DBMS_RLMGR_DR" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "EXFSYS.DBMS_RLMGR_DR"
    I first uninstalled the EXFSYS schema and then installed it again. Then I tried to install the Rule Manager. and I get another error
    SQL> @ ?/rdbms/admin/catrul.sql
    begin
    ERROR at line 1:
    ORA-20000: XDB component not found. XDB should be installed prior to Rules
    Manager installation.
    ORA-06512: at line 3
    How can I install XDB component. Please help

    Maybe due to forum bug, thisthread is duplicate :
    Errors in alert log PROD
    Nicolas.

  • "unable to spawn jobq slave process"  in alert.log

    I had these errors in my alert.log Sunday morning right after the oracle export pump. It had detail in two trace files
    ORA-00610: Internal error code
    ORA-00610: Internal error code
    Died during process startup with error 447 (seq=94168)
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    and
    Dumping diagnostic information for J000:
    OS pid = 815310
    loadavg : 0.20 0.29 0.39
    swap info: free_mem = 0.00M rsv = 24.50M
    alloc = 2489.02M avail = 6272.00M swap_free = 3782.98M
    F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
    240001 A oracle 815310 1 1 60 20 10682400 87756 01:34:44 - 0:00 ora_j000_BAAN
    open: The file access permissions do not allow the specified action.
    procstack: 815310 is not a process
    From several online informations I found, it seems that there is a problem of memory in my Oracle 10g R2 (10.2.0.1) on AIX5.3L. The server has 4 G memory, 4 CPU. I allocated 1904 M for the SGA, 512M for PGA.
    How do I handle this problem? It happened before but not quite often.

    If this error is reproducible, and constant, the reason is under control. You state this error shows up when a backup task is performed.
    Is this task programmed using the enterprise manager job frame? Increase the value of job_queue_processes parameter. And check the value of processes parameter.
    It could be that when the export task is lauched it exhausts the maximum number of instance processes and a new job queue process can't be launched, or the number of job queue processes has reached a top limit and a new task cannot be started.

  • Alert Log file

    Hi,
    I'm new at administrating a database (11.2.0.2 on OEL).
    1) How often one need to see the alert log file?
    2) Why are some Oracle errors not logged in the Alert Log?

    Hello,
    I wouldn't look in the alert log for performance problems either. At least not immediately, but I would take a quick look in there to see if there were any major problems. The alert log is a good place to look first to check the overall health of the DB because any major errors will be written there.
    You can use the Enterprise Manager to automatically email you if certain errors are raised in the alert log.
    Also, you can search through the alert log using the [url http://www.ora00600.com/wordpress/scripts/databaseconfig/adrci/]ADRCI utility which can be pretty useful.
    Rob

  • Alert log filtering examples

    Hello.
    Following the Oracle Note Monitoring 10g Database Alert Log Errors in Enterprise Manager [ID 976982.1], I am trying to include some exceptions in the alert log filtering tool but I was looking for more examples. Does anyone have any?
    Oracle Enterprise Manager 10g Release 5 Grid Control     10.2.0.5.0

    For example, if I want to filter out any 0600 errors that contain the qctVCO:csform argument, would this be appropriate?
    .*ORA-0*(54|1142|1146)\D.*|.*ORA-00600:.*\[qctVCO:csform][^\]]*\].*
    Do we need to pipe for each successive ORA error, as above?
    Thanks,

  • OEM doesn't display alert log

    Enterprise Manager stopped displaying alert log information. It displays the following:
    Number of Lines Displayed Error processing Alert Log
    The alert log is growing on the servers. This happened in both out production and development areas.
    Any feedback would be useful.
    thank you

    I have been going in and manually looking at the alert log. Our department has gotten used to using OEM. Starting and stopping both the agent and dbconsole have not worked. Our dev enviornment is Windows and I tried both starting and stopping by command line and Windows Services and neither have worked.

Maybe you are looking for

  • G4 and microphone suitable for sound input port

    I'm looking into getting started with podcasting and I need help with selecting a microphone. I'm on a G4 desktop machine with a sound input port, any suggestions as to the tech spec or manufacturer of a suitable microphone would be most appreciated.

  • WHere is Org unit stored from standard selection screen

    I am using a report category HRBEN0004. I fill up org unit, but PNPORGEH is blank in my report. Where does this Org unit get stored if I want to do something in the report based on selected org unit? Thanks in adv.

  • Applet trouble

    Hi, I am no good at applets but i thorught i would make one. Wel, i made one that works lovely in Applet viewer but when i run it in Opera it has no animation! I do have java 2 installed, hence that i can see the applet. But i get no annimation as yo

  • Datawarehouse model with 9i and 10g

    Hi guys, Where can I find documentations about a typical model for datawarehouse model : init parameters; sizing redo logs, rbs, db_block_size, (...); dedicated ou shared server; ... Best regards, AL

  • How GRR is Possible after Tick on Delivery Completed in PO

    Hi, We have a PO with 10 Qty. and do GRR of 4 Qty. in respect of PO. After that we want to short close that PO. For it, we change the PO and click on Delivery Complete check box. After that see in ME2N and found, there is no Qty pending for delivery.