-
Automatic startup (9i) on Linux RH8 - problems
My dbstart and dbshut scripts work fine when run from the command prompt.
Here is my dbora script.
I have updated the oratab file.
#!/bin/sh
ORA_HOME=/u01/app/oracle/product/9.2.0.1.0
ORA_OWNER=oracle
if [! -f $ORA_HOME/bin/dbstart]
Configuration Tasks to Perform as the root User
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
’start’)
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
;;
’stop’)
su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
;;
esac
I created symbolic links to the dbora script in the appropriate run-level script directories, as follows:
# ln -s /etc/init.d/dbora /etc/rc0.d/K10dbora
# ln -s /etc/init.d/dbora /etc/rc3.d/S99dbora
In spite of all this, my database does not start.
Please help.
Thanks,
Nizar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|