Originally Posted by Ahmad Gurchani
if I dont use the oracle script written below, then system start fine,
but if I use the following script, then system hangs up at startup at message 'Enabling swap space'. how to solve??????????????????????????
I am using Redhat ES 4, with Oracle 10g R2.
# Run-level Startup script for the Oracle Instance and Listener
# chkconfig: 345 91 19
# description: Startup/Shutdown Oracle listener and instance
# if the executables do not exist -- display error
if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
echo "Oracle startup: cannot start"
case "$1" in
echo -n "Starting Oracle: "
su - $ORA_OWNR -c $ORA_HOME/bin/dbstart
# Oracle listener and instance shutdown
echo -n "Shutdown Oracle: "
su - $ORA_OWNR -c $ORA_HOME/bin/dbshut
rm -f /var/lock/subsys/oracle
echo "Usage: $0 start|stop|restart|reload"
Well, since you're using both RHEL and Oracle, you're paying for support from both of them. Have you called them, to see what's up??
What do your system logs say? How about the Oracle logs? And do you mean the system won't BOOT with that script enabled, or does it boot, but you can't run Oracle without locking up?? Either way, call RHEL or Oracle, since you're in a paid-for, supported environment...they can help you more quickly than we can