Database Administration (MOSC)

MOSC Banner

Issue with ORACLE_BASE in 12.1.0.2.0

edited Sep 14, 2016 5:00AM in Database Administration (MOSC) 2 commentsAnswered

I have an error in alert log that says :

ORACLE_BASE not set in environment. It is recommended

that ORACLE_BASE be set in the environment

when I run oraenv I sometimes get the correct value, but mostly it returns an empty string for ORACLE_BASE

orcl:/home/oracle $. oraenv

ORACLE_SID = [orcl] ?

I have EDITED the oraclehomeproperties.xml file and changed the oracle base value to a correct value:

The Oracle base has been set to    <PROPERTY NAME="ORACLE_BASE" VAL="/comp/tst/ora_bin2/app/oracle"/>

It pointed to a non-existing directory.

when I log onto the machine initially I get:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center