#!/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 LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH NLS_LANG=AMERICAN_AMERICA.UTF8 export NLS_LANG echo "Trying to start oidmon" $ORACLE_HOME/bin/oidmon connect=$ORACLE_SID stop sleep 5