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: Solaris 10 System Boot and Database Startup

Re: Solaris 10 System Boot and Database Startup

From: Bob Jones <email_at_me.not>
Date: Sun, 06 Aug 2006 02:11:28 GMT
Message-ID: <kdcBg.4400$FN2.3728@newssvr14.news.prodigy.com>

"Michael42" <melliott42_at_yahoo.com> wrote in message news:1154828871.959799.29290_at_i3g2000cwc.googlegroups.com...
> Hello,
>
> On a Solaris 10 (sparc) system I am unable to get my Oracle 10
> listener to start using a technique that I commonly use on Solaris 8
> systems. My database comes up OK and the script I have will start both
> the database and listener if I run it manually AFTER the system has
> booted. In the /ect/init.d my is basically:
>
> ==================================================================
> #!/bin/sh
> #
> # CREATE pfile'/usr1/home/oracle/product/10.2/dbs/initDB1.ora' FROM
> spfile;
>
> # Set Variables ORA_HOME should be equivalent to the ORACLE_HOME
> ORA_HOME=/usr1/oracle/product/920
> ORA_OWNER=oracle
> LOGDIR=/usr1/oracle/admin
>
> case "$1" in
> 'start')
> su - $ORA_OWNER -c $ORA_HOME/bin/dbstart 2>&1 >
> $LOGDIR/dbstart.log
> su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" 2>&1 >
> $LOGDIR/lsnrstrt.log
> ;;
>
> 'stop')
> su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop" 2>&1 >
> $LOGDIR/lsnrstp.log
> su - $ORA_OWNER -c $ORA_HOME/bin/dbshut 2>&1 >
> $LOGDIR/dbshut.log
> ;;
> esac
> ==================================================================
>
> On system boot when it runs, the error I am getting is that the network
> is unavailable.
>
> Can anyone please share your Sun UNIX script that starts your Oracle
> database and listener (and any required OS changes etc.)?
>
> Thanks,
>
> Michael42
>

If you can start it manually, then your script is working. You just need to make sure the script is run after the network in your boot process. Received on Sat Aug 05 2006 - 21:11:28 CDT

Original text of this message

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