#!/bin/sh ORACLE_HOME=$1 export ORACLE_HOME ORACLE_SID=$2 export ORACLE_SID PATH=$1/bin:$PATH export PATH TNS_ADMIN=$1/network/admin export TNS_ADMIN INSTANCE_NUM=$3 export INSTANCE_NUM LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH NLS_LANG=AMERICAN_AMERICA.UTF8 export NLS_LANG $ORACLE_HOME/bin/oidctl connect=$ORACLE_SID server=OIDLDAPD instance=$INSTANCE_NUM restart sleep 20 exit 0