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: machao <machao_dc_at_163.com>
Date: Sun, 6 Aug 2006 23:46:20 +0800
Message-ID: <eb52sf$bgk$1@news.yaako.com>


Hi,
You can't startup listener in this way.
You muset set environment varible.

case "$1" in

   'start')
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart 2>&1 >
$LOGDIR/dbstart.log

    su - $ORA_OWNER -c "$ORA_HOME/bin/your_listener.sh " 2>&1 >
$LOGDIR/lsnrstrt.log

------------------your_listener.sh

ORACLE_HOME=<your_oracle_home>
ORACLE_BASE=<your_oracle_base>
export ORACLE_HOME ORACLE_BASE
$ORACLE_HOME/bin/lsnrctl start
----------------end;---------------------
Received on Sun Aug 06 2006 - 10:46:20 CDT

Original text of this message

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