#!/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 CONFIGSET_NUM=$4 export CONFIGSET_NUM PORT_NUM=$5 export PORT_NUM LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH NLS_LANG=AMERICAN_AMERICA.UTF8 export NLS_LANG echo $ORACLE_HOME/bin/oidctl connect=$ORACLE_SID server=OIDLDAPD instance=$INSTANCE_NUM configset=$CONFIGSET_NUM flags="-p $5" start $ORACLE_HOME/bin/oidctl connect=$ORACLE_SID server=OIDLDAPD instance=$INSTANCE_NUM configset=$CONFIGSET_NUM flags="-p $5" start exit 0