Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle 11g Startup Script

740842Jan 26 2010 — edited Jul 29 2012
I'm running CentOS 5.4.

Question: Why doesn't one of the largest software companies in the world, and the largest database software company in the world, provide a rc startup script for Redhat Linux? (Lets not even get into the whole subject of it being installed via X-11. WTF???).

I grabbed this from the open source community:

ORA_OWNER=oracle
ORA_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

if [ ! -f $ORA_HOME/bin/dbstart ]
then
echo "Oracle startup: cannot start"
exit
fi

case "$1" in
'start')
# Start the Oracle databases:
# The following command assumes that the oracle login
# will not prompt the user for any values
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle login
# will not prompt the user for any values
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
;;
esac

It doesn't work. All that starts up on boot, from the process list.

oracle 4546 1 0 15:00 ? 00:00:00 /home/oracle/app/oracle/product/11.2.0/dbhome_1/ccr/bin/nmz -cron -silent

Why isn't oracle starting on boot?

Doug
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2012
Added on Jan 26 2010
4 comments
10,927 views