dbora don't work where rebooting Solaris 10 X86_64
I created standard dbora script in /etc/init.d
bash-3.00# cat /etc/init.d/dbora
#! /bin/sh
#
# Change the value of ORACLE_HOME to specify the correct Oracle home
# directory for your installation.
ORACLE_HOME=/oracle/product/10.2
#
# Change the value of ORACLE to the login name of the
# oracle owner at your site.
#
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
PLATFORM=`uname`
export ORACLE_HOME PATH
#
#
case $1 in
'start')
if [ -f /etc/init.d/oracleasm ] ; then
/etc/init.d/oracleasm scandisks
fi
su - ${ORACLE} -c "$ORACLE_HOME/bin/dbstart > /dev/null 2>&1 &"
;;
'stop')
su - ${ORACLE} -c "$ORACLE_HOME/bin/dbshut > /dev/null 2>&1 &"
bash-3.00# cat /etc/init.d/dbora
#! /bin/sh
#
# Change the value of ORACLE_HOME to specify the correct Oracle home
# directory for your installation.
ORACLE_HOME=/oracle/product/10.2
#
# Change the value of ORACLE to the login name of the
# oracle owner at your site.
#
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
PLATFORM=`uname`
export ORACLE_HOME PATH
#
#
case $1 in
'start')
if [ -f /etc/init.d/oracleasm ] ; then
/etc/init.d/oracleasm scandisks
fi
su - ${ORACLE} -c "$ORACLE_HOME/bin/dbstart > /dev/null 2>&1 &"
;;
'stop')
su - ${ORACLE} -c "$ORACLE_HOME/bin/dbshut > /dev/null 2>&1 &"
0