Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Setting up Oracle environment variables

If the Avaya IR system has a local Oracle 10g database that was not installed by Avaya, the customer should verify that Oracle environment variables have been set up in /etc/profile as shown in the following example. The following example assumes that the Oracle software files has been installed to /export/oracle as described in Installing Oracle locally on the system.

Note:
If Oracle environment variables are not set up correctly, the data backup process will fail.

# START - Oracle environment variables

ORACLE_HOME=/export/oracle/products/10g; export ORACLE_HOME

ORACLE_USER_HOME=/export/oracle; export ORACLE_USER_HOME

# Have SID as A for CONVERSANT compatibility

SID=A

echo "SID = $SID"

ORACLE_SID=$SID;export ORACLE_SID;

ORACLE_TERM=xterm; export ORACLE_TERM;

OAR_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/dt/lib:/usr/ucblib:/usr/local/lib

export LD_LIBRARY_PATH

PATH=$PATH:/opt/NSCPnav/bin:$ORACLE_HOME/bin:/usr/local/samba/bin:/usr/openwin/bin:/usr/ucb:.

export PATH

CLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

# END - Oracle environment variables

© 2006 Avaya Inc. All Rights Reserved.