Skip to Content
Oracle Utilities Pocket Reference
book

Oracle Utilities Pocket Reference

by Sanjay Mishra
November 2004
Intermediate to advanced
121 pages
2h
English
O'Reilly Media, Inc.
Content preview from Oracle Utilities Pocket Reference

Name

oerr

Use oerr to view error messages corresponding to an error code, their cause, and recommended corrective actions.

Syntax

oerr facility error_number

Parameters

facility

Specifies the prefix of an error code. For example, if you get a TNS-12560 error, TNS is the facility. The facility is case-insensitive.

error_number

Specifies the number of an error code. For example, if you get a TNS-12560 error, 12560 is the error number.

Examples

If you get an ORA-01555 error in your application, for example, and you want to know more details about the error, possible causes, and the recommended actions to resolve it, use the oerr utility to get the information:

$ oerr ORA 01555
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

The output of oerr is divided into three sections: the error message text, cause, and action. The facility parameter is case-insensitive, and you can trim the leading 0s in the error number.

Tip

The oerr utility is not available on Windows platform.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Oracle 11g R1/R2 Real Application Clusters Essentials

Oracle 11g R1/R2 Real Application Clusters Essentials

Benjamin Scott Prusinski, Syed Jaffer Hussain
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern
OCA/OCP Oracle Database 11g All-in-One Exam Guide

OCA/OCP Oracle Database 11g All-in-One Exam Guide

John Watson, Roopesh Ramklass, Bob Bryla

Publisher Resources

ISBN: 9780596800543Errata Page