When you try to start the Database Control by using the emctl start dbconsole command the following error is displayed:
TZ set to America/New_york
OC4J Configuration issue.
/u01/app/oracle/product/10.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_orcl.us.oracle.com not found.
Which two environment variables do you need to set appropriately to avoid such errors, and start the Database Control
successfully? (Choose two.)
A. NLS_LANG
B. ORACLE_SID
C. ORACLE_HOME
D. ORACLE_BASE
E. LD_LIBRARY_PATH
Answer: BC
Understanding the Enterprise Manager Directories
In particular, the emctl
commands required to control Database Control are installed into the $ORACLE_HOME/bin
directory.
ORACLE_BASE
The location of the Oracle Base where all Oracle software and configuration-related files are stored. ORACLE_BASE
is the root of the Oracle Database directory tree. The Oracle Base directory is the top level directory that you can use to install the various oracle software products. You can use the same Oracle base directory for multiple installations. For example, /u01/app/oracle
is an Oracle base directory created by the oracle user.
ORACLE_HOME
The location where products are to be installed. You must enter a value for ORACLE_HOME for a complete silent installation.
Corresponds to the environment in which Oracle Database products run. If you install an OFA-compliant database, using Oracle Universal Installer defaults, Oracle home (known as $ORACLE_HOME
in this guide) is located beneath $
ORACLE_BASE
. The default Oracle home is db_
n
where n
is the Oracle home number. It contains subdirectories for Oracle Database software executables and network files. See also Oracle home.