Sample Oracle init script, build yours on from this.
#!/bin/sh
case "$1" in
stop)
su - oracle -c "/home/oracle/bin/lsnrctl stop"
su - oracle -c "/home/oracle/bin/dbshut"
;;
start)
su - oracle -c "/home/oracle/bin/dbstart"
su - oracle -c "/home/oracle/bin/lsnrctl start"
;;
*)
echo "Usage: { start|stop }"
;;
esac;
exit 0
Warning: include(../../../comments.php) [
function.include]: failed to open stream: No such file or directory in
/var/www/thomas.eibner.dk/oracle/init/index.php on line
33
Warning: include() [
function.include]: Failed opening '../../../comments.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/thomas.eibner.dk/oracle/init/index.php on line
33