Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Starting the lsnrctl on redhat
Why are you not able to read my harddisk!??
The script is nothing special and the call of the binary of lsnrctl results in the same problem.
#!/bin/bash # # Startup script for the Oracle database system # # chkconfig: 56 20 10 # description: Provides the Oracle database system # # Source function library.
# setup oracle path
export _oracle_base=/usr/local/oracle
export ORACLE_BASE=${_oracle_base}/app/oracle export ORACLE_HOME=${_oracle_base}/app/oracle/8.1.7 export ORACLE_DOC=${_oracle_base}/doc
export LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
export ORACLE_SID=puma
export PATH=${ORACLE_HOME}/bin:${PATH}
export
CLASSPATH=$ORACLE_HOME/JRE/lib:$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib:${CLASSPATH}
# See how we were called.
case "$1" in
start)
su - oracle -c "${ORACLE_HOME}/bin/dbstart" su - oracle -c "${ORACLE_HOME}/bin/lsnrctl start" ;; stop) su - oracle -c "${ORACLE_HOME}/bin/dbshut" su - oracle -c "${ORACLE_HOME}/bin/lsnrctl stop" ;; *) echo $"Usage: $prog {start|stop}" exit 1
Daniel Morgan wrote:
> Joerg Eggers wrote: > >
> > > We can't read your hard disk from here ... so it would be helpful if you > posted yoru script. > > Daniel Morgan >
-- Joerg Eggers Manager Operations Publishers Market AG Tel.: +49 89 729975-0 Lindwurmstr. 129a Fax.: +49 89 729975-99 D-80337 Muenchen e-Mail: joerg.eggers_at_publishers-market.comReceived on Mon Jun 10 2002 - 01:23:54 CDT