Been testing on a Linux box with same version 9.2.0.4
What I did:
Code:- Changed /etc/oratab file to: DEV1:/opt/ora9/product/9.2:Y - Create file /etc/init.d/dbora #!/bin/sh # Set ORA_HOME to be equivalent to the $ORACLE_HOME # from which you wish to execute dbstart and dbshut; # # Set ORA_OWNER to the user id of the owner of the # Oracle database in ORA_HOME. ORA_HOME=/opt/ora9/product/9.2 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’) # 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 & ;; ’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 & ;; esac - chmod 755 dbora - ln -s /etc/init.d/dbora /etc/rc0.d/K10dbora - ln -s /etc/init.d/dbora /etc/rc3.d/S99dbora




Reply With Quote