1Z0-052 · Question #231
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…
The correct answer is B. ORACLE_SID C. ORACLE_HOME. The emctl utility constructs the OC4J configuration directory path using ORACLE_HOME and ORACLE_SID, so both must be set correctly for Database Control to start successfully.
Question
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.or acle.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.)
Options
- ANLS_LANG
- BORACLE_SID
- CORACLE_HOME
- DORACLE_BASE
- ELD_LIBRARY_PATH
How the community answered
(19 responses)- A5% (1)
- B89% (17)
- D5% (1)
Why each option
The emctl utility constructs the OC4J configuration directory path using ORACLE_HOME and ORACLE_SID, so both must be set correctly for Database Control to start successfully.
NLS_LANG controls language, territory, and character set settings for client sessions and has no effect on how emctl locates or validates OC4J configuration directories.
ORACLE_SID identifies the specific database instance, and its value (such as 'orcl') is directly embedded in the OC4J configuration directory name, for example OC4J_DBConsole_orcl.hostname. Without the correct ORACLE_SID, emctl cannot construct the path to the required OC4J directory, producing exactly the 'not found' error shown.
ORACLE_HOME points to the Oracle software installation root directory, and emctl relies on it to locate the oc4j/j2ee subdirectory structure. If ORACLE_HOME is incorrect or unset, the full path to the OC4J configuration folder is invalid regardless of all other settings.
ORACLE_BASE is the top-level Oracle inventory root and is not used by emctl when constructing the OC4J configuration directory path.
LD_LIBRARY_PATH specifies shared library search paths for runtime linker resolution and does not influence the discovery or validation of the OC4J configuration directory.
Concept tested: Environment variables required to start Oracle Database Control (emctl)
Source: https://docs.oracle.com/cd/B19306_01/em.102/b25354/emctl.htm
Topics
Community Discussion
No community discussion yet for this question.