Thread: ORA-12012: error on auto execute of job 8884

This question is answered.


Permlink Replies: 6 - Pages: 1 - Last Post: Oct 16, 2008 12:36 AM Last Post By: Pavan Kumar
YasserRACDBA

Posts: 280
Registered: 12/09/07
ORA-12012: error on auto execute of job 8884
Posted: Oct 15, 2008 10:47 PM
 
Click to report abuse...   Click to reply to this thread Reply
i am getting this error in alert log file from past one month stating that

ORA-12012: error on auto execute of job 8884
ORA-08103: object no longer exists

But unable to find root cause, as i am not able to find the object which its stating its does not exists.

Please help in this regard .....as i am afraid that it might be due to block corruption...

Anand...

Posts: 2,845
Registered: 08/29/08
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 15, 2008 10:58 PM   in response to: YasserRACDBA in response to: YasserRACDBA
 
Click to report abuse...   Click to reply to this thread Reply
hi..

Yes you are correct that it might be due to block corruption.Please refer to

Subject: ORA-8103 Diagnostics and Solution
Doc ID: Note:268302.1

Do dbverify for the datafiles.

HTH
Anand
YasserRACDBA

Posts: 280
Registered: 12/09/07
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 15, 2008 11:09 PM   in response to: Anand... in response to: Anand...
 
Click to report abuse...   Click to reply to this thread Reply
Thanks a lot for quick response !!!

But how to find which object is corrupted due to block corruption.....as its production database.
redikx

Posts: 91
Registered: 10/27/06
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 15, 2008 11:52 PM   in response to: YasserRACDBA in response to: YasserRACDBA
 
Click to report abuse...   Click to reply to this thread Reply
You can use rman:

to check logical and physicall corruption:
BACKUP VALIDATE CHECK LOGICAL DATABASE


to check physical corruption:
BACKUP VALIDATE DATABASE ARCHIVE LOG ALL


And check result in V$DATABASE_BLOCK_CORRUPTION

select * from V$DATABASE_BLOCK_CORRUPTION

you fing here file# and block#, so you can query dba_extents to find segment
hkchital

Posts: 4,974
Registered: 11/06/98
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 16, 2008 12:12 AM   in response to: YasserRACDBA in response to: YasserRACDBA
 
Click to report abuse...   Click to reply to this thread Reply
If you are unable to find that object now, doesn't it mean that the object has been dropped ? If the job errored with ORA-8103 it would mean that the object was dropped while the job was running. Why jump to a "conclusion" that it is block corruption ?
Please re-read that MetaLink Note #268302.1

Possibly the object is a an Index or a Table Partition which is getting rebuilt (by some other job) while job 8884 is running.

Edited by: Hemant K Chitale on Oct 16, 2008 3:12 PM
Anand...

Posts: 2,845
Registered: 08/29/08
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 16, 2008 12:23 AM   in response to: YasserRACDBA in response to: YasserRACDBA
 
Click to report abuse...   Click to reply to this thread Reply
Hi..

Is your alert log giving some error like

For the ORA-1578 error:
ORA-01578: ORACLE data block corrupted (file # 7, block # 12698)
ORA-01110: data file 22: '/oracle1/oradata/V816/oradata/V816/users01.dbf'
If yes, then

SELECT tablespace_name, segment_type, owner, segment_name
FROM dba_extents
WHERE file_id = &AFN
and &BL between block_id AND block_id + blocks - 1
;
Where AFN= absolute file number, like for the above case it will be 7, and BL is the block number.This will give you the corrupt segment name.But, i don't think you will be getting this error.

But as you are getting ORA-12012: error on auto execute of job 8884, can you try to find what is this job. A trace file would have been generated , so find out what job it is.

Refer to [http://sap.ittoolbox.com/groups/technical-functional/sap-basis/ora-12012-error-1682082]

Anand

Edited by: Anand... on Oct 16, 2008 12:54 PM

Pavan Kumar

Posts: 4,830
Registered: 07/22/07
Re: ORA-12012: error on auto execute of job 8884
Posted: Oct 16, 2008 12:36 AM   in response to: YasserRACDBA in response to: YasserRACDBA
Correct
Click to report abuse...   Click to reply to this thread Reply
Hi,

try to use the below query to find the facture Block

select ds.*
from dba_segments ds, sys.uet$ e
where ds.header_file=e.segfile#
and ds.header_block=e.segblock#
and e.header_file=
and between e.block# and e.block#+e.length-1;

see if the corrupted Blocks belong index segments you can easily solve the problem, because all the table data required for re-creating the index is still accessible, you can drop and re-create the index (the block will be reformatted when it's taken from the free-space list and reused for the index).

In case of table segment, then

Using datafile backups and archived redo log files, you can do a recovery of the datafile that holds the corrupted data block. You must be sure, however, that the data block was not already corrupted in the backup datafile.

If you regularly make dump files using the Export utility, another option could be to restore the table segment by using the Import utility. Of course, you can do this only if the version of the table as recorded in the dump file is acceptable or not too old. Note that Before doing the table import, you must drop the current table, which deallocates the bad block.

The last option involves using SQL to select as much data as possible from the current corrupted table segment and saving the selected rows into a new table. Make sure that select data that is stored in segment blocks that precede the corrupted block by using a full table scan (via a cursor fetching rows one by one and at the same time saving them to a new table).

Rows that are stored in blocks after the corrupted block cause a problem, because a full table scan will never reach them. However, you can still fetch these rows by using rowids (single-row lookups).

- Pavan Kumar N
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums