Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Help starting DB on boot -Solaris

Re: Help starting DB on boot -Solaris

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: 2000/06/23
Message-ID: <39536192.8A14CAF5@edcmail.cr.usgs.gov>#1/1

On Solaris, it is not good enough to place this file in /etc/init.d. You will need to place a pointer to it in either /etc/rc2.d or /etc/rc3.d depending on your system configuration.

HTH,
Brian

Mark Wagner wrote:
>
> I'm having troubles getting the db and listener started when the
> OS starts after a reboot... Please help.. have tried using the
> following dbora file in /etc/init.d
> ****** dbora *************
> #!/bin/sh
> ORACLE_SID=LEDB
> export ORACLE_SID
>
> case "$1" in
> 'start')
> #Start the Oracle Databases:
> /home/mark/unlock.ex
> su -l oracle -c /u01/app/oracle/product/8.1.5/bin/dbstart &
> su -l oracle -c "/u01/app/oracle/product/8.1.5/bin/lsnrctl start" &
> ;;
> 'stop')
> #Stop the Oracle Databases:
> su -l oracle -c /u01/app/oracle/product/8.1.5/bin/dbshut &
> ;;
> esac
>
> ****************** end dbora *******************
> It works in linux but not on solaris....
> Any ideas???
>
> Mark
>
> --
> -------------------------------------------------------------------
> Mark Wagner Phone - (650)298-9790 x181
> Database Engineer mark_at_leaseexchange.com
> * www.leaseexchange.com *
> * Dark Oracle of the Sysadmin Sith Darth telinit 6 *
> --------------------------------------------------------------------
> Lease Exchange named one of the Top 10 to Watch by RedHerring Magazine!
> www.redherring.com/mag/issue79/herring100/10_to_watch/lease_x.html
>
>
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Fri Jun 23 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US