Wednesday, January 9, 2013

Resolved: ORACLE_HOME_LISTNER is not set

I had the above error message when I tried to run dbstart, the problem is the dbstart script.

Edit $ORACLE_HOME/bin/dbstart, and found below lines:

ORACLE_HOME_LISTNER=$1
if [ ! $ORACLE_HOME_LISTNER ] ; then
  echo "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener"
else
  LOG=$ORACLE_HOME_LISTNER/listener.log

Changed ORACLE_HOME_LISTNER=$1 to ORACLE_HOME_LISTNER=$ORACLE_HOME

Saved and exited, then ran "dbstart" successfully without errors

1 Comments:

HGClowns said...

better to leave dbstart as is and just pass in the expected oracle home.

ie dbstart /path/to/your/home