Problems with ORA-XXXXX Messages not in alert.log [message #111870] |
Mon, 21 March 2005 07:33 |
Uwe
Messages: 260 Registered: February 2003 Location: Zürich, Switzerland
|
Senior Member |
|
|
Hi all,
We got a strange behaviour in one of our Oracle 9i (9.2.0.5) Databases. Some ORA-XXXX Messages are not inserted into the alert<SID>.log.
We saw this with Messages like ORA-01502: index 'CUSJDTA.OCUSMA00' or partition of such index is in unusable state
Why is this message not in our alert ? any hints welcome.
Uwe
|
|
|
|
Re: Problems with ORA-XXXXX Messages not in alert.log [message #111876 is a reply to message #111870] |
Mon, 21 March 2005 08:04 |
Uwe
Messages: 260 Registered: February 2003 Location: Zürich, Switzerland
|
Senior Member |
|
|
Hi Mahesh,
I know that this index is in unsuable state.
My question is : Why is this message not written down to alert.log ?
We always look into alert log and react on entries, but messages on this error are not written into alert.log from oracle.
Is there a log-level which we need to set ?
Uwe
|
|
|
|
Re: Problems with ORA-XXXXX Messages not in alert.log [message #111882 is a reply to message #111870] |
Mon, 21 March 2005 08:17 |
Uwe
Messages: 260 Registered: February 2003 Location: Zürich, Switzerland
|
Senior Member |
|
|
Thanks,
but there's no way to get them in ? I guess its a bad situation if an index is not valid. We have had this before and parts of the software won't work properly. We got this message out of an java-log from the application. But I like to get it from oracle as well.
Uwe
|
|
|
|
|
|
|
Re: Problems with ORA-XXXXX Messages not in alert.log [message #111948 is a reply to message #111870] |
Tue, 22 March 2005 01:13 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
You can tell Oracle to trace events. In the occasion one of the predefined (by you) events occurs, a dump-file is generated. See here for a short example.
Note: I don't know whether this is supported by Oracle. Setting events is usually meant to be guided by Support Staff personnel.
hth
|
|
|
Re: Problems with ORA-XXXXX Messages not in alert.log [message #111959 is a reply to message #111870] |
Tue, 22 March 2005 01:55 |
Uwe
Messages: 260 Registered: February 2003 Location: Zürich, Switzerland
|
Senior Member |
|
|
Thanks Mahesh and Frank,
I will look what I could do here.
I think it will be not that easy to let the application raise the error. It is an "very" poor ERP System which normally deals with DB2 on AS/400 and the code is only parsed to Java and Oracle. So any programcode will not be developed by now.
But I will talk to the development guys
Thanks again
Uwe
|
|
|