My Oracle Support Banner

Oraenv Does Not set ORACLE_HOME For +ASM Instance (Doc ID 1424326.1)

Last updated on OCTOBER 04, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
IBM AIX on POWER Systems (64-bit)

Symptoms

Here you have some output:

$ . oraenv
ORACLE_SID = [ASM1] ? +ASM1
ORACLE_HOME = [/home/oracle] ?
$ echo $ORACLE_SID
+ASM1
$ echo $ORACLE_HOME
/home/oracle

Changes

truss -aefo strace_oraenv.txt oraenv

19792102: 45088861: RES_RETRY=2
19792102: 45088861: PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/bin:/usr/java5/jre/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:$ORACLE_HOME/crs/bin:/home/oracle/bin:$ORACLE_HOME/asm/bin
19792102: 45088861: ORACLE_BASE=$ORACLE_BASE LC__FASTMSG=true EDITOR=/usr/bin/vi
19792102: 45088861: HISTFILE=/home/oracle/.sh_history.mzaarour
19792102: 45088861: CLASSPATH=$ORACLE_HOME/db/JRE:$ORACLE_HOME/db/jlib:$ORACLE_HOME/db/network/jlib
19792102: 45088861: LOGNAME=oracle RES_TIMEOUT=2 MISSINGPV_VARYON=TRUE
19792102: 45088861: ORACLE_CRS_HOME=$ORACLE_HOME/crs
19792102: 45088861: MAIL=/usr/spool/mail/oracle ORACLE_SID=+ASM1 LOCPATH=/usr/lib/nls/loc
19792102: 45088861: AUTHSTATE=files ORACLE_DOC=/su01/app/oracle/doc
19792102: 45088861: CRS_HOME=$ORACLE_HOME/crs
19792102: 45088861: SHELL=/usr/bin/ksh ODMDIR=/etc/objrepos
19792102: 45088861: ASM_HOME=$ORACLE_HOME/asm TIMEOUT=3600 TMOUT=3600
19792102: 45088861: ORA_NLS33=$ORACLE_HOME/db/ocommon/nls/admin/data
19792102: 45088861: HOME=/home/oracle TERM=vt220 MAILMSG=[YOU HAVE NEW MAIL]
19792102: 45088861: AIXTHREAD_SCOPE=S A__z=! LOGNAME=! TIMEOUT="*TMOUT
19792102: 45088861: NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
19792102: 45088861: LIBPATH=$ORACLE_HOME/db/lib32:$ORACLE_HOME/db/lib
19792102: 45088861: LD_LIBRARY_PATH=$ORACLE_HOME/db/lib:$ORACLE_HOME/asm/lib:$ORACLE_HOME/crs/lib:$ORACLE_HOME/db/lib32:$ORACLE_HOME/asm/lib32:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.