Error in alertlog

Dear All,
Today morning suddenly one of our database instance gone down. So after restart the database when I looked for the alert log file I found the following informations -
Memory Notification: Library Cache Object loaded into SGA
Heap size 2651K exceeds notification threshold (2048K)
Details in trace file /home/oracle/u01/app/oracle/product/10.2.0/Db_1/admin/uat/udump/uat_ora_29577.trc
KGL object name :Select /*+ CHOOSE */ t.*, o.OBJECT_TYPE
from SYS.ALL_tab_privs t, SYS.ALL_objects o
where t.TABLE_SCHEMA = o.OWNER
and t.TABLE_NAME = o.OBJECT_NAME
and o.object_type in ('TABLE','INDEXTYPE','TYPE')
and t.TABLE_SCHEMA = 'LS1'
and TABLE_NAME = 'L_FL_STG'
ORDER BY 4,3,1
Fri Oct 24 11:13:12 2008
Thread 1 advanced to log sequence 3181
Current log# 3 seq# 3181 mem# 0: /db_1/uat/uat/redo03.log
Fri Oct 24 11:27:54 2008
Thread 1 advanced to log sequence 3182
Current log# 1 seq# 3182 mem# 0: /db_1/uat/uat/redo01.log
Fri Oct 24 11:42:34 2008
Thread 1 advanced to log sequence 3183
Current log# 2 seq# 3183 mem# 0: /db_1/uat/uat/redo02.log
Fri Oct 24 11:52:19 2008
Errors in file /home/oracle/u01/app/oracle/product/10.2.0/Db_1/admin/uat/udump/uat_ora_27604.trc:
ORA-07445: exception encountered: core dump [kglrfcl()+612] [SIGSEGV] [Address not mapped to object] [0x800000002] [] []
Fri Oct 24 11:52:32 2008
Errors in file /home/oracle/u01/app/oracle/product/10.2.0/Db_1/admin/uat/bdump/uat_pmon_1546.trc:
ORA-07445: exception encountered: core dump [kggchk()+52] [SIGSEGV] [Address not mapped to object] [0x800000002] [] []
Fri Oct 24 11:52:44 2008
CKPT: terminating instance due to error 472
Instance terminated by CKPT, pid = 1562
Fri Oct 24 11:56:12 2008
Starting ORACLE instance (normal)
So can any one of you let me know why it has happend and what to do ?
Edited by: user606947 on Oct 24, 2008 1:28 AM

Hi Nicolas,
I stated my assumption and I asked him the version if you check the reply, I though that might be the problem, but I am not forcing him to do the things.
Did I ?? I said that undocumented parameter is available but his information sake and did not asked him to use it and given him a suggestion of Upgrade that might solve his issue from my perspective End and I accept what ever you said with out knowing the platform I should not comment out. Coming to the joining of ORACLE Support, as I am not not lucky enough to Join ORACLE Support and not capable enough to hold that Job. There are lot of people who are more capable enough and possessing knowledge compare to me. I am not worth of it Sir.
I sincerely Apologize is any thing by mistake or you got hurted by my words.. I take back. Please Accept my apology and I will try to stop Answering such of Questions with out knowing the things (Asumptions too)
Have a Great Day.. Ahead...
- Pavan Kumar N

Similar Messages

  • How to get ORA errors in alertlog file using shell script.

    Hi,
    Can anyone tell me how to get all ORA errors between two particular times in an alertlog file using shell script.
    Thanks

    Hi,
    You can define the alert log as an external table, and extract messages with SQL, very cool:
    http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
    If you want to write a shell script to scan the alert log, see here:
    http://www.rampant-books.com/book_2007_1_shell_scripting.htm
    #!/bin/ksh
    # log monitoring script
    # report all errors (and specific warnings) in the alert log
    # which have occurred since the date
    # and time in last_alerttime_$ORACLE_SID.txt
    # parameters:
    # 1) ORACLE_SID
    # 2) optional alert exclusion file [default = alert_logmon.excl]
    # exclude file format:
    # error_number error_number
    # error_number ...
    # i.e. a string of numbers with the ORA- and any leading zeroes that appear
    # e.g. (NB the examples are NOT normally excluded)
    # ORA-07552 ORA-08006 ORA-12819
    # ORA-01555 ORA-07553
    BASEDIR=$(dirname $0)
    if [ $# -lt 1 ]; then
    echo "usage: $(basename) ORACLE_SID [exclude file]"
    exit -1
    fi
    export ORACLE_SID=$1
    if [ ! -z "$2" ]; then
    EXCLFILE=$2
    else
    EXCLFILE=$BASEDIR/alert_logmon.excl
    fi
    LASTALERT=$BASEDIR/last_alerttime_$ORACLE_SID.txt
    if [ ! -f $EXCLFILE ]; then
    echo "alert exclusion ($EXCLFILE) file not found!"
    exit -1
    fi
    # establish alert file location
    export ORAENV_ASK=NO
    export PATH=$PATH:/usr/local/bin
    . oraenv
    DPATH=`sqlplus -s "/ as sysdba" <<!EOF
    set pages 0
    set lines 160
    set verify off
    set feedback off
    select replace(value,'?','$ORACLE_HOME')
    from v\\\$parameter
    where name = 'background_dump_dest';
    !EOF
    `
    if [ ! -d "$DPATH" ]; then
    echo "Script Error - bdump path found as $DPATH"
    exit -1
    fi
    ALOG=${DPATH}/alert_${ORACLE_SID}.log
    # now create awk file
    cat > $BASEDIR/awkfile.awk<<!EOF
    BEGIN {
    # first get excluded error list
    excldata="";
    while (getline < "$EXCLFILE" > 0)
    { excldata=excldata " " \$0; }
    print excldata
    # get time of last error
    if (getline < "$LASTALERT" < 1)
    { olddate = "00000000 00:00:00" }
    else
    { olddate=\$0; }
    errct = 0; errfound = 0;
    { if ( \$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (dtconv(\$3, \$2, \$5, \$4) <= olddate)
    { # get next record from file
    next; # get next record from file
    # here we are now processing errors
    OLDLINE=\$0; # store date, possibly of error, or else to be discarded
    while (getline > 0)
    { if (\$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    OLDLINE = \$0; # no error, clear and start again
    errfound = 0;
    # save the date for next run
    olddate = dtconv(\$3, \$2, \$5, \$4);
    continue;
    OLDLINE = sprintf("%s<BR>%s",OLDLINE,\$0);
    if ( \$0 ~ /ORA-/ || /[Ff]uzzy/ )
    { # extract the error
    errloc=index(\$0,"ORA-")
    if (errloc > 0)
    { oraerr=substr(\$0,errloc);
    if (index(oraerr,":") < 1)
    { oraloc2=index(oraerr," ") }
    else
    { oraloc2=index(oraerr,":") }
    oraloc2=oraloc2-1;
    oraerr=substr(oraerr,1,oraloc2);
    if (index(excldata,oraerr) < 1)
    { errfound = errfound +1; }
    else # treat fuzzy as errors
    { errfound = errfound +1; }
    END {
    if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    print olddate > "$LASTALERT";
    function dtconv (dd, mon, yyyy, tim, sortdate) {
    mth=index("JanFebMarAprMayJunJulAugSepOctNovDec",mon);
    if (mth < 1)
    { return "00000000 00:00:00" };
    # now get month number - make to complete multiple of three and divide
    mth=(mth+2)/3;
    sortdate=sprintf("%04d%02d%02d %s",yyyy,mth,dd,tim);
    return sortdate;
    !EOF
    ERRMESS=$(nawk -f $BASEDIR/awkfile.awk $ALOG)
    ERRCT=$(echo $ERRMESS|awk 'BEGIN {RS="<BR>"} END {print NR}')
    rm $LASTALERT
    if [ $ERRCT -gt 1 ]; then
    echo "$ERRCT Errors Found \n"
    echo "$ERRMESS"|nawk 'BEGIN {FS="<BR>"}{for (i=1;NF>=i;i++) {print $i}}'
    exit 2
    fi

  • Error in alertlog file..

    Hi Guru's,
    i'm back after 2 months last 2 months my server is in good condition but just now some error.
    Llog in screen opened and then user-name and password also accepted but when entering in any responsibility developer form window its showing the user-name password error but after 5 minutes its automatically solved.At that time i checked my alert log file. there is some error i cant understand that error ..how it comes any user created that error please explain to me and also if error comes again what can i want to do?
    below i attached that error:
    Thread 1 advanced to log sequence 7267
    Current log# 21 seq# 7267 mem# 0: C:\ORACLE\PRODDATA\LOG21A.DBF
    Current log# 21 seq# 7267 mem# 1: C:\ORACLE\PRODDATA\LOG21B.DBF
    Wed Sep 15 08:42:35 2010
    ARC0: Beginning to archive log# 25 seq# 7266
    Wed Sep 15 08:42:47 2010
    ARC0: Completed archiving log# 25 seq# 7266
    Wed Sep 15 08:58:10 2010
    Completed checkpoint up to RBA [0x1c63.2.10], SCN: 0x0000.38077d53
    Wed Sep 15 09:19:43 2010
    Recovery of Online Redo Log: Thread 1 Group 21 Seq 7267 Reading mem 0
    Mem# 0 errs 0: C:\ORACLE\PRODDATA\LOG21A.DBF
    Mem# 1 errs 0: C:\ORACLE\PRODDATA\LOG21B.DBF
    Recovery of Online Redo Log: Thread 1 Group 21 Seq 7267 Reading mem 0
    Mem# 0 errs 0: C:\ORACLE\PRODDATA\LOG21A.DBF
    Mem# 1 errs 0: C:\ORACLE\PRODDATA\LOG21B.DBF
    Recovery of Online Redo Log: Thread 1 Group 21 Seq 7267 Reading mem 0
    Mem# 0 errs 0: C:\ORACLE\PRODDATA\LOG21A.DBF
    Mem# 1 errs 0: C:\ORACLE\PRODDATA\LOG21B.DBF
    Wed Sep 15 09:33:25 2010
    skgpspawn failed:category = 27143, depinfo = 9261, op = spdcr, loc = skgpspawn
    Wed Sep 15 09:51:36 2010
    Beginning log switch checkpoint up to RBA [0x1c64.2.10], SCN: 0x0000.3807d7a5
    Thread 1 advanced to log sequence 7268
    Current log# 22 seq# 7268 mem# 0: C:\ORACLE\PRODDATA\LOG22A.DBF
    Current log# 22 seq# 7268 mem# 1: C:\ORACLE\PRODDATA\LOG22B.DBF
    Wed Sep 15 09:51:37 2010
    ARC0: Beginning to archive log# 21 seq# 7267
    Wed Sep 15 09:51:49 2010
    ARC0: Completed archiving log# 21 seq# 7267
    Regards
    ***SBJ***

    Hi SBJ
    What is your EBS and Db version?
    Please check below notes which could be helpfulf or your issue:
    Initial Request Causes System to Hang [ID 751718.1]
    Skgpspawn Errors In Alert Log, New Connections to Database Fail [ID 435787.1]
    Regard
    Helios

  • Errors in AlertLog, need you help.

    I often getting this error in the alert log file, after that the client connections start getting out of process memory errors. I consult ora-07445 look up tool at meta link but its a unrecognized error for it.
    Kindly help me out to resolve it.
    Fri Jul 21 16:36:59 2006
    Errors in file c:\oracle\product\10.2.0\rdbms\trace\escort_ora_1484.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x61F04AC9] [ADDR:0xC] [UNABLE_TO_READ] []
    Fri Jul 21 16:37:00 2006
    Process J000 died, see its trace file
    Fri Jul 21 16:37:00 2006
    kkjcre1p: unable to spawn jobq slave process
    Fri Jul 21 16:37:00 2006
    Errors in file c:\oracle\product\admin\escort\bdump\escort_cjq0_1836.trc:
    Regards
    Nadeem

    Hi,
    From
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96525/e4100.htm
    ORA-07445 exception encountered: core dump [string] [string] [string] [string] [string] [string]
    Cause: An operating system exception occurred which should result in the creation of a core file. This is an internal error.
    Action: Contact Oracle Support Services.
    Marcello M.

  • Errors in alertlog file

    I am finding following message in alert log file everyday.What could be the reason & what is the solution.There are no accompanying errors.
    ALERT ! ALERT ! 25-JAN-2001 16:00 : DATA OBJECT FOUND INVALID CHECK IT OUT
    null

    I am finding following message in alert log file everyday.What could be the reason & what is the solution.There are no accompanying errors.
    ALERT ! ALERT ! 25-JAN-2001 16:00 : DATA OBJECT FOUND INVALID CHECK IT OUT
    null

  • Dbconsole alertLog !!

    I have a problem with my dbconsole. When i want to see the content of the alert log , page displays nothing but the below error :
    This shows the last 100.000 bytes of the alert log. The log is constantly growing, so select the browser's Refresh button to see the most recent log entries.
    Number of Lines Displayed          Error processing Alert Log
    To see what is happening in my dbconsole, i have viewed emoms.log and emoms.trc files. In this files there is a long (below) error messase about alertlog.
    How can i solve this problem?
    regards,
    2008-02-12 14:05:09,606 [EMUI_14_05_09_/console/database/monitoring/alertLogContent$target=dagitdb1$type=oracle*_database] ERROR log.alertlog logStackTrace.249
    - oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1278)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1192)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getMetric(EMDClient.java:570)
    at oracle.sysman.db.uix.log.AlertLogData.getLogContent(AlertLogData.java:1142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.cabo.ui.data.provider.MethodDataProvider.getDataObject(Unknown Source)
    at oracle.cabo.ui.data.provider.TableDataProvider.getDataObject(Unknown Source)
    at oracle.cabo.ui.data.provider.CachingDataProvider.getDataObject(Unknown Source)
    at oracle.cabo.ui.data.provider.DataProviderStack.getDataObject(Unknown Source)
    at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
    at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)

    isn't there anybody who faced with this problem before? I am in trouble and i want to solve it.

  • Unrecoverable error ORA-15032 raised in ASM I/O path;

    Hi,
    DB :11.2.0.1
    OS :Aix6
    We getting the following error in alertlog.We using asm.
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 38273676
    1* select name, header_status, path from v$asm_disk
    ITSEL-SQL> /
    NAME HEADER_STATU PATH
    ITSEL_ARCHGROUP01_0000 MEMBER /dev/ITSEL_ARCH_DISK1
    ITSEL_ARCHGROUP01_0001 MEMBER /dev/ITSEL_ARCH_DISK2
    ITSEL_ARCHGROUP01_0002 MEMBER /dev/ITSEL_ARCH_DISK3
    ITSEL_DATAGROUP01_0000 MEMBER /dev/ITSEL_DATA_DISK1
    ITSEL_DATAGROUP01_0001 MEMBER /dev/ITSEL_DATA_DISK10
    ITSEL_DATAGROUP01_0002 MEMBER /dev/ITSEL_DATA_DISK11
    ITSEL_DATAGROUP01_0003 MEMBER /dev/ITSEL_DATA_DISK12
    ITSEL_DATAGROUP01_0004 MEMBER /dev/ITSEL_DATA_DISK13
    ITSEL_DATAGROUP01_0005 MEMBER /dev/ITSEL_DATA_DISK2
    ITSEL_DATAGROUP01_0006 MEMBER /dev/ITSEL_DATA_DISK3
    ITSEL_DATAGROUP01_0007 MEMBER /dev/ITSEL_DATA_DISK4
    NAME HEADER_STATU PATH
    ITSEL_DATAGROUP01_0008 MEMBER /dev/ITSEL_DATA_DISK5
    ITSEL_DATAGROUP01_0009 MEMBER /dev/ITSEL_DATA_DISK6
    ITSEL_DATAGROUP01_0010 MEMBER /dev/ITSEL_DATA_DISK7
    ITSEL_DATAGROUP01_0011 MEMBER /dev/ITSEL_DATA_DISK8
    ITSEL_REDOGROUP01_0000 MEMBER /dev/ITSEL_REDO_DISK1
    ITSEL_REDOGROUP01_0001 MEMBER /dev/ITSEL_REDO_DISK2
    ITSEL_REDOGROUP01_0002 MEMBER /dev/ITSEL_REDO_DISK3
    ITSEL_REDOGROUP01_0003 MEMBER /dev/ITSEL_REDO_DISK4
    ITSEL_REDOGROUP01_0004 MEMBER /dev/ITSEL_REDO_DISK5
    FORMER       /dev/ITSEL_DATA_DISK9
    21 rows selected.
    Any suggestions
    Thanks & Regards,
    VN

    Hi,
    Thanks for your reply.
    We didn't find any other messages with this error.
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 41680928
    Fri Jul 13 23:59:52 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 38470370
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 12779594
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 45482250
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 31064664
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 43123026
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 42598544
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 35914194
    Fri Jul 13 23:59:53 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 8913722
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 34603716
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 14024824
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 36176216
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 56033500
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 45940938
    Fri Jul 13 23:59:55 2012
    ERROR: unrecoverable error ORA-15032 raised in ASM I/O path; terminating process 58982830
    Sat Jul 14 00:00:04 2012
    opiodr aborting process unknown ospid (48169328) as a result of ORA-28Sat Jul 14 00:00:04 2012
    opiodr aborting process unknown ospid (25952536) as a result of ORA-28
    Sat Jul 14 00:00:04 2012
    opiodr aborting process unknown ospid (55967964) as a result of ORA-28
    Sat Jul 14 00:00:07 2012
    opiodr aborting process unknown ospid (32834224) as a result of ORA-28
    Sat Jul 14 00:00:07 2012
    opiodr aborting process unknown ospid (23593488) as a result of ORA-28
    Sat Jul 14 00:00:07 2012
    What is wrong in ASM and DB ?
    Thanks & Regards,
    VN

  • Database got halted while inserting rows

    I have a 9i database running on solaris not restarted for 15 days.It just got halted or hanged while inserting rows in a table.When restarted everything is just fine and those rows have been inserted in no time!!What might be the reason?Dont tell me 'lock' because I have already checked for ora:60 error in alertlog.Would you please give some direction to drill it down .

    Did you met the problem , only when you inserting the rows ? Or is there something else which leads this situation ? most of the occasion when
    you found your database halt is because of your archivelogs . I would
    still like to know if you running your db in archivelog mode ? It also be the
    case that you set archive_log_start = true in the pfile and diden't fire
    alter database archivelog at the sql prompt .
    Hare Krishna
    Alok

  • Interesting test case

    Hi,
    I played a little on my test machine and get interesting results so if someone could explain me what happens here I would be grateful.
    It is obvious that some data corruption happened but still interesting situation.
    OS: Linux 32bit
    Oracle: 10.2.0.2.0
    TEST CASE:
    1. Created tablespace and one table in that tablespace:
    SQL> create tablespace test_tbs datafile '/oradata/tbs01.dbf' size 75M autoextend on next 10M maxsize 512M;
    Tablespace created.
    SQL> create table objtab tablespace test_tbs as select * from dba_objects where 1=2;
    Table created.
    2. Made two more copies of tbs01.dbf datafile:
    SQL> !cp tbs01.dbf tbs02.dbf
    SQL> !cp tbs01.dbf tbs03.dbf
    3. Insert some rows into table objtab:
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> /
    50417 rows created.
    SQL> /
    50417 rows created.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from objtab;
    COUNT(*)
    151251
    4. Deleted tbs01.dbf:
    SQL> !rm tbs01.dbf
    5. Insert still works:
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> commit;
    Commit complete.
    6. Renamed tbs02.dbf to tbs01.dbf:
    SQL> !mv tbs02.dbf tbs01.dbf
    7. Inserted new rows:
    SQL> select count(*) from objtab;
    COUNT(*)
    302502
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> commit;
    Commit complete.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> commit;
    Commit complete.
    8. Check size of datafile:
    SQL> !du -hs tbs01.dbf
    *96M tbs01.dbf*
    SQL> select count(*) from objtab;
    COUNT(*)
    756255
    9. Deleted datafile tbs01.dbf and renamed tbs03.dbf to tbs01.dbf:
    SQL> !rm tbs01.dbf
    SQL> !mv tbs03.dbf tbs01.dbf
    10. Insert more rows and executed "alter system checkpoint":
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> insert into objtab select * from dba_objects;
    50417 rows created.
    SQL> commit;
    Commit complete.
    SQL> alter system checkpoint;
    System altered.
    SQL> select count(*) from objtab;
    COUNT(*)
    907506
    11. When I check the size of tbs01.dbf it is smaller then before despite of more rows I inserted. How come? Where are all this rows stored?
    SQL> !du -hs tbs01.dbf
    *86M tbs01.dbf*
    12. Now try to offline tablespace and then I get errors in alertlog:
    SQL> alter tablespace test_tbs offline normal;
    alter tablespace test_tbs offline normal
    ERROR at line 1:
    ORA-00603: ORACLE server session terminated by fatal error
    ALERT LOG
    Errors in file /oracle/admin/um/udump/um_ora_501.trc:
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01208: data file is an old version - not accessing current version
    Fri May 29 09:01:31 2009
    ORA-600 signalled during: alter tablespace test_tbs offline normal...
    Fri May 29 09:01:31 2009
    Errors in file /oracle/admin/um/udump/um_ora_501.trc:
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01208: data file is an old version - not accessing current version
    Fri May 29 09:01:37 2009
    Errors in file /oracle/admin/um/udump/um_ora_501.trc:
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01208: data file is an old version - not accessing current version
    Fri May 29 09:01:43 2009
    Errors in file /oracle/admin/um/udump/um_ora_501.trc:
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-00600: internal error code, arguments: [krhpfh_03-1208], [fno =], [6], [fecpc =], [4], [fhcpc =], [3], []
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: '/oradata/tbs01.dbf'
    ORA-01208: data file is an old version - not accessing current version
    13. One more check:
    SQL> select tablespace_name, status from dba_tablespaces;
    TABLESPACE_NAME STATUS
    SYSTEM ONLINE
    SYSAUX ONLINE
    USERS ONLINE
    UNDOTBS2 ONLINE
    TMP ONLINE
    TEST_TBS ONLINE
    7 rows selected.
    SQL> select count(*) from objtab;
    COUNT(*)
    907506
    14. Restart database:
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 1224736768 bytes
    Fixed Size 1267188 bytes
    Variable Size 1006635532 bytes
    Database Buffers 201326592 bytes
    Redo Buffers 15507456 bytes
    Database mounted.
    Database opened.
    15. Try to count(*) from table but it says that object no longer exists:
    SQL> select count(*) from objtab;
    select count(*) from objtab
    ERROR at line 1:
    ORA-08103: object no longer exists
    SQL> select tablespace_name, status from dba_tablespaces;
    TABLESPACE_NAME STATUS
    SYSTEM ONLINE
    SYSAUX ONLINE
    USERS ONLINE
    UNDOTBS2 ONLINE
    TMP ONLINE
    TEST_TBS ONLINE
    7 rows selected.
    16. If object does not exist, how come I get this results (probably leftovers in data dictionary):
    SQL> desc objtab;
    Name Null? Type
    OWNER VARCHAR2(30)
    OBJECT_NAME VARCHAR2(128)
    SUBOBJECT_NAME VARCHAR2(30)
    OBJECT_ID NUMBER
    DATA_OBJECT_ID NUMBER
    OBJECT_TYPE VARCHAR2(19)
    CREATED DATE
    LAST_DDL_TIME DATE
    TIMESTAMP VARCHAR2(19)
    STATUS VARCHAR2(7)
    TEMPORARY VARCHAR2(1)
    GENERATED VARCHAR2(1)
    SECONDARY VARCHAR2(1)
    SQL> create table objtab tablespace test_tbs as select * from dba_objects;
    create table objtab tablespace test_tbs as select * from dba_objects
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    17. To drop object (can't drop):
    SQL> drop table objtab;
    drop table objtab
    ERROR at line 1:
    ORA-08103: object no longer exists
    18. Clean up:
    SQL> drop tablespace test_tbs including contents and datafiles;
    Tablespace dropped.
    Best Regards,
    Marko

    Hi Uwe,
    as I said before my intention was to understand behavior of Oracle and Linux in scenario like this.
    I thought about what will happen if some Linux admin by mistake moves live datafile to another location and after 5-10 mins, when he realizes his mistake, he moves the datafile to old (original) location.
    Will Oracle notice some errors in alert log? (In my test case I didn't receive any message in alert log)
    How will I know (as a DBA) what was done with this datafile if Linux admin does not say anything to me?
    Is any damage made to datbase ? (Probably)
    etc...
    When I am on my test machine I like to do all kind of stuff and try anything that comes on my mind. It isn't important to me if this scenario has any connection to real world problems. I enjoy doing this so I like to spend some of my time on this test cases.
    Anyway thanks for your comment.
    Regards,
    Marko
    Edited by: msutic on May 29, 2009 1:03 PM

  • ORA-1688: unable to extend table SYS.WRH

    Hi,
    on 10g R2 I have following error in alertlog :
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in                 tablespace SYSAUX
    here :
    I found :
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
    high_snap_id => 32, dbid => 3310949047);
    END;
    Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
    Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
    Thank you.

    user522961 wrote:
    Hi,
    on 10g R2 I have following error in alertlog :
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in                 tablespace SYSAUX
    here :
    I found :
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
    high_snap_id => 32, dbid => 3310949047);
    END;
    Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
    Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
    Thank you.Why are you starting a duplicate thread from one you started 7+ hours earlier?
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY

  • Block corrruption in production database

    pl help me to detect and remove block corruption error
    find alertlog
    Archived Log entry 2717 added for thread 1 sequence 3027 ID 0x552bc791 dest 1:
    Mon Jul 05 08:30:52 2010
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2bd, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2bd, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2ad, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2a5, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2a5, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2b5, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa2b5, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa15d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa15d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa9edd, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa9edd, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa015, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa015, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa015, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa015, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa14d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa14d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa027, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa027, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cec7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cec7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6ceb7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6ceb7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6ceb7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6ceb7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cd97, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cd97, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cec7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cec7, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d15f, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d15f, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d157, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d157, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cfff, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6cebf, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa03f, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa03f, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d017, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d017, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa01f, 0)
    kewastUnPackStats(): bad magic 1 (0x110aaa01f, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d15f, 0)
    kewastUnPackStats(): bad magic 1 (0x110a6d15f, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa998d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa998d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa999d, 0)
    kewastUnPackStats(): bad magic 1 (0x110aa999d, 0)
    Errors in file /Oracle_Logs/oracle/diag/rdbms/misdba2/MISDBA2/trace/MISDBA2_m000_786568.trc (incident=146569):
    ORA-01578: ORACLE data block corrupted (file # 2, block # 4278)
    ORA-01110: data file 2: '+DG_MISDBA21/misdba2/datafile/sysaux.262.718889115'
    ORA-26040: Data block was loaded using the NOLOGGING option
    Errors in file /Oracle_Logs/oracle/diag/rdbms/misdba2/MISDBA2/trace/MISDBA2_m000_786568.trc (incident=146570):
    ORA-01578: ORACLE data block corrupted (file # ORA-01578: ORACLE data block corrupted (file # 2, block # 4278)
    ORA-01110: data file 2: '+DG_MISDBA21/misdba2/datafile/sysaux.262.718889115'
    ORA-26040: Data block was loaded using the NOLOGGING option
    , block # )
    Mon Jul 05 08:31:00 2010
    Sweep [inc][146570]: completed
    Sweep [inc][146569]: completed
    Mon Jul 05 09:06:31 2010
    Thread 1 cannot allocate new log, sequence 3029
    Private strand flush not complete
    Current log# 6 seq# 3028 mem# 0: +DG_MISDBA21/misdba2/onlinelog/group_6.544.719237719
    Current log# 6 seq# 3028 mem# 1: +DG_MISDBA22/misdba2/onlinelog/group_6.272.719237735
    Thread 1 advanced to log sequence 3029 (LGWR switch)
    Current log# 7 seq# 3029 mem# 0: +DG_MISDBA21/misdba2/onlinelog/group_7.545.719238209
    Current log# 7 seq# 3029 mem# 1: +DG_MISDBA22/misdba2/onlinelog/group_7.273.719238241
    Mon Jul 05 09:07:12 2010
    Archived Log entry 2718 added for thread 1 sequence 3028 ID 0x552bc791 dest 1:
    Mon Jul 05 09:22:05 2010
    Thread 1 cannot allocate new log, sequence 3030
    Private strand flush not complete
    Current log# 7 seq# 3029 mem# 0: +DG_MISDBA21/misdba2/onlinelog/group_7.545.719238209
    Current log# 7 seq# 3029 mem# 1: +DG_MISDBA22/misdba2/onlinelog/group_7.273.719238241
    Thread 1 advanced to log sequence 3030 (LGWR switch)
    Current log# 8 seq# 3030 mem# 0: +DG_MISDBA21/misdba2/onlinelog/group_8.546.719238883
    Current log# 8 seq# 3030 mem# 1: +DG_MISDBA22/misdba2/onlinelog/group_8.274.719238901
    Mon Jul 05 09:22:46 2010

    ORA-1578 is indication of physical block corruption. Oracle computes an internal checksum before fetching the block from disk, when it is about to fetch the block it reads the block header and compare the checksum stored in it. If the checksum mismatches we get ora-1578 error.
    It indicates that a block is corrupted at hardware level i.e at OS.
    This error will always come whenever the corrupted block is read by Oracle.
    Reasons for ora-1578:
    1. Bad sectors in the Storage Disk Drive.
    2. Formatting of blocks At OS level.( Zeroed out disk blocks).
    3. some corruption in underlying hardware which is making block unreadable.
    How to collect information for ora-1578:
    Error Text:
    ORA-01578: ORACLE data block corrupted (file # 14, block # 38976)
    The block # 38976 shows the corrupted block number and the file # 14 indicates
    the reletive file number 14.
    1. Get the absolute file number:
    To get the absolute file # we will use the following query:
    SQL > select file# from v$datafile where rfile#=14;
    FILE#
    14
    here the absolute file# is also 14.
    2. Get the segment name and segment type in which this corrupted block resides:
    Use the following query:
    SQL > SELECT tablespace_name, segment_type, owner, segment_name FROM
    dba_extents WHERE file_id = 14 and 38976 between block_id AND block_id + blocks - 1;
    -- It will give us the segment type (Table, Index, LOB etc.), name of the segment (Table name
    Index name etc.), Owner of the segment and the tablespace name of the segment in which corrupted block resides.
    SQL > select FILE#,TS#,STATUS,BLOCKS,NAME from v$datafile where FILE#=14;
    -- From this we will get the tablespace number and the fine name of the datafile in which the corrupted block resides.
    SQL> select TS#,NAME from v$tablespace where TS#=;
    -- It will give us the Name of the tablespace.
    Now we have all the information required to perform an action to overcome ora-1578.
    Source: http://askoracledba.blogspot.com/2008/04/ora-1578-is-indication-of-physical.html
    I could post only source link, but at this moment, the link is not working (for me at least), so i am posting its contents.
    HTH
    Girish Sharma

  • XSLT of large documents incomplete

    XMLTransform() and XMLType.transform() do not return a complete result when fed with large xml documents (approx > 3.5 MB). Smaller documents transform perfectly.
    Example: let table test (id NUMBER, xmltext CLOB) contain two records:
    ID DBMS_LOB.GETLENGTH(XMLTEXT)
    1 4137788 (xml document)
    2 2143 (xsl document)
    Using SQL*Plus, the following command returns only the last portion (18332 bytes) of the expected result (83868 bytes).
    select xmltransform(
    (select xmltype(xmltext) from test where id = 1),
    (select xmltype(xmltext) from test where id = 2)).getClobVal()
    from dual;
    The same happens when using a PL/SQL procedure with temporary clob variables. However, when the two xml records are spooled to text files and fed to an external xalan processor the result is correct and complete!
    Is this a memory problem? Oracle reports no errors, no alertlog entries, no trace files. We use Oracle9i Enterprise Edition Release 9.2.0.3.0 under SUN Solaris 9.
    Thank you for any help. Of course I can provide the two documents.
    Dirk Schmatz

    Yes, long was set to 2000000000 (the maximum).
    The problem not only occurs in SQL*Plus. The exact same truncation occurs if the transformation is built into a procedure which is then accessed with a web browser by an application server.

  • Trace files in user_dump_location (dumping memory in unix)

    Hi
    i am getting this tracefiles from user_dump_locations
    i am using oracle 7.3 on aix 4.2(old system) for some forms and reports application.When the users accesing the application or doing some jobs i am getting these messages in trace files how can i fix this or how can i find how its comming.At what level trace i have to enable to find the casue of this error.I am not getting any error in alertlog files
    i am giving some portion of the trace files.Why its dumping memory
    with regards
    ramya
    Repeat 7 times
    Argument/Register addr=2ff222c0. Dump of memory from 2FF22280 to 2FF223C0
    451BE0A0 451BE0A0 451BE0A8 451BE0A8 460C0BBC 00000000 460C0BBC 01000000451BE0C0 00000000 00000000 000000CD 00000000 00000000 00000000 00000000 00000000
    451BE0E0 00000000 02010000 4607B314 4607B324 460B71DC 451BE0F4 451BE0F4 00000000 451BE100 00000000 00000000 00000000 0201A8D2 006004FC 00008840 00000000 00000000
    451BE120 00000000 00000000 00000000 2010D278 02020000 00000000 451BE138 451BE138451BE140 451BE140 451BE140
    451BE1E0 000000
    Argument/Register addr=4607b314. Dump of memory from 4607B2D4 to 4607B414

    hi
    when i checked the parameter shadow_core_dump=full and
    cursor_space_for_time=false.If i set this parameter cursor_space_for_time =true and shadow_Core_dump=partial
    is there any change in perfomance and especailly what basis we will set this cursor_space_for_time parameter
    with regards
    ramya

  • ORA-02396,ORA-02063

    How can i understand this error in alertlog
    Thu Feb 14 11:29:14 2008
    Error 2396 trapped in 2PC on transaction 32.22.15416. Cleaning up.
    Error stack returned to user:
    ORA-02396: exceeded maximum idle time, please connect again
    ORA-02063: preceding line from APR1
    Thanks

    is there any profile with IDLE _time which might be assigned to the user                                                                                                                                                                                       

  • Standby stopped recovery

    Hi everyone;
    10.2.0.4 Standby database stopped recovery with the following error on alertlog.
    Wed Jun 2 13:38:45 2010
    RFS[4]: Archived Log: '/...../RCDB_2_1_720616127.arc'
    RFS[4]: Physical Standby in the future of Branch(resetlogs_id) 720616127
    RFS[4]: Standby database SCN: 2304:-276361630 Primary branch SCN: 2304:-1502231553
    RFS[4]: New Archival REDO Branch(resetlogs_id): 720616127 Prior: 550946190
    RFS[4]: Archival Activation ID: 0x5dfe4ed2 Current: 0x58adeb9a
    RFS[4]: Effect of primary database OPEN RESETLOGS
    Wed Jun 2 13:38:45 2010
    There were no RESETLOGS operation on the primary side. What may be the cause of this error? Have any ideas?
    Thanks..

    After trying to start recovery again:
    MRP0: Background Managed Standby Recovery process started (RCDB)
    Managed Standby Recovery not using Real Time Apply
    Warning: Recovery target destination is in a sibling branch
    of the controlfile checkpoint. Recovery will only recover
    changes to datafiles.
    Datafile 1 (ckpscn 9899623255650) is orphaned on incarnation#=1
    MRP0: Background Media Recovery terminated with error 19909
    Wed Jun 2 13:55:57 2010
    Errors in file /.../rcdb_mrp0_16180.trc:
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: '/.../system01.dbf'
    Wed Jun 2 13:55:57 2010
    Errors in file /.../rcdb_mrp0_16180.trc:
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: '/.../system01.dbf'
    Wed Jun 2 13:55:57 2010
    MRP0: Background Media Recovery process shutdown (RCDB)

Maybe you are looking for

  • Append data in ODS

    Hey Folks, I load data into an ODS, weekly. The data contains status information of a product. The source system delivers only data where the status has changed. If the status for on product is constant over two or more weeks, I get no record of this

  • Unable to shutdown SQL Server

    Hello, I'm facing an issue with a SQL Server 2008 SP3 CU17 setup on Windows Server 2008 R2 SP1. I've got 4 instances running on this server. A bunch of users make some queries with SSMS (I know it's not really advised...) and from time to time, the i

  • Uploading Web Galleries with Adobe Bridge or Lightroom?

    Greetings, I'm new at this and I'm tyring to upload a web gallery with Lightroom 4.1 or Adobe Bridge CS6. I asks me for a FTP Server user name and password on both applications. I do have the Creative Cloud Services which allows me to host up to 5 we

  • Query for last four rows?

    please write query for get the last four rows from a table

  • Help - Database Growth and loading best practice

    Dear all, I'm using NW 7.1 my data are consuming lots of space. I notice my data are grow at 20Gb per 2 month. I wonder why the growth is so fast. I using process chain to load my data and I always delete my data before full update my cube. I kept on