Hatalar ile ilgili sebep ve alınması gereken aksiyonun tespiti (oerr)

23 Oca by Ahmet Duruöz

Hatalar ile ilgili sebep ve alınması gereken aksiyonun tespiti (oerr)

OERR aracı , Oracle ileti dosyalarından gelen önermeleri içeren hata iletilerini , ilgili hata kodu için görüntülememizi sağlar. $ORACLE_HOME/bin dizini altında yer alır. Değişkenler yüklendikten sonra oerr aracını kullanabiliriz.

oerr ile aldığımız bir hatanın sebebini ve sorun gidermeye yönelik önerileri görüntüleyebiliriz.

Hataya aşina değilseniz, OERR çözümlemeye yardımcı olmak için sorunu tanımlama konusunda hızlı bir şekilde bilgi sağlayabilir.

-bash-4.3$ . oraenv
ORACLE_SID = [oracle] ? TESTDB1
The Oracle base remains unchanged with value /u01/app/oracle
-bash-4.3$ oerr
Usage: oerr facility error

Facility is identified by the prefix string in the error message.
For example, if you get ORA-7300, "ora" is the facility and "7300"
is the error.  So you should type "oerr ora 7300".

If you get LCD-111, type "oerr lcd 111", and so on.

Kullanımı aşağıdaki gibidir :

ORA-03113 hatası için ;

-bash-4.3$ oerr ora 3113
03113, 00000, "end-of-file on communication channel"
// *Cause: The connection between Client and Server process was broken.
// *Action: There was a communication error that requires further investigation.
//          First, check for network problems and review the SQL*Net setup. 
//          Also, look in the alert.log file for any errors. Finally, test to 
//          see whether the server process is dead and whether a trace file
//          was generated at failure time.

ORA-01555 hatası için ;

-bash-4.3$ oerr ora 1555
01555, 00000, "snapshot too old: rollback segment number %s with name \"%s\" too small"
// *Cause: rollback records needed by a reader for consistent read are
//         overwritten by other writers
// *Action: If in Automatic Undo Management mode, increase undo_retention
//          setting. Otherwise, use larger rollback segments

RMAN-01009 hatası için ;

-bash-4.3$ oerr rman 01009
1009, 1, "syntax error: found \"%s\": expecting one of: \"%s\""
// *Cause:  A syntax error was signaled during parsing.
// *Action: Correct the input.

CRS-00215 hatası için ;

-bash-4.3$ oerr crs 215 
215, 1, "Could not start resource '%s'."
// *Cause: There was an internal error while starting the resource.
// *Action: Check the CRS daemon log file.

 

Loading

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir