User`s guide

Automatic Diagnostic Repository
Administering Oracle Database 5-7
Within ADR base, there can be multiple ADR homes, where each ADR home is the
root
directory for all diagnostic data, such as traces, dumps, the alert log, and so on,
for a particular instance of a particular Oracle product or component.
Oracle Net Services also store diagnostic data in
the ADR. The location for diagnostic
information for Oracle Net Services is set by the parameters
ADR_BASE
and
ADR_BASE_
listener_name
. These are set in the Oracle Net Services parameter files
sqlnet.ora
and
listener.ora
.
See Also: "Troubleshooting Oracle Net Services" in Oracle Net
Services Administrator's Guide for more information about diagnostic
information for Oracle Net Services
You can read the text files of the Automatic Di
agnostic Repository with text editors
such as
vi
,
edtu
, or with POSIX shell commands such as
cat
,
more
.
You can investigate the ADR with the utility ADRCI.
5.4.2 ADR Command Interpreter
ADR Command Interpreter (ADRCI) is a utility that enables you to investigate
problems, view health check reports, and package first-failure diagnostic data within a
command-line environment. You can then upload the package to Oracle Support.
ADRCI also enables you to view the names of the trace files in the ADR, and to view
the alert log with XML tags stripped, with and without content filtering.
See Also: "ADRCI: ADR Command Interpreter" in Oracle Database
Utilities for more information about ADRCI
Start the command-line utility ADRCI in the P
OSIX shell. Before starting ADRCI, set
the environment variable
ORACLE_HOME
and extend the environment variable
PATH
by
the path name of the Oracle directory
oracle_home_path/bin
. Additional environment
variables, such as
ORACLE_SID
, are not required. Refer to "Starting Oracle Utilities in
the POSIX environment" in Oracle Database User's Guide for Fujitsu BS2000/OSD for
more information about Oracle Database utilities.
After setting these environment variables, start ADRCI in the POSIX shell by entering
adrci
after the POSIX shell command prompt.
Note: ADRCI cannot be started in the normal BS2000 environment.
ADRCI must be started in the POSIX shell.
Display the current ADR base with the ADRCI
show base
command. The current ADR
home can be displayed with the
show homes
command.
Set ADR base with the
set base
command. ADR home can be set with the
set home
command.
The command
show alert
shows the contents of the alert log in a text editor.
If you use a blockmode terminal, then the default
editor for ADRCI on Fujitsu
BS2000/OSD is
edtu
. If you use an xterm terminal after having logged in to POSIX
through
rlogin
or
ssh
, then the default editor for ADRCI is
vi
.