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: oracle startup problem

Re: oracle startup problem

From: <oratune_at_aol.com>
Date: Wed, 06 Sep 2000 21:43:34 GMT
Message-ID: <8p6dq1$ik2$1@nnrp1.deja.com>

For the Korn shell (ksh), Bourne shell (sh) and the Bourne-again shell (bash) the default settings are acquired from /etc/profile. Check this file; you will most likely find the offending statement here.

In article <39B68641.96344683_at_bellsouth.com>,   Chad Williams <chad.williams_at_bellsouth.com> wrote:
> Got 8.1.6 running on solaris 2.6, on /etc/rc3.d/ S99dbstart startup I
> get:
>
> + /bin/su - oracle -c dbstart
> tabs: cannot set tabs on terminal type sun
> usage: tabs [ -n| --file| [[-code] -a| -a2| -c| -c2| -c3| -f| -p| -s|
> -u]] [+m[n]] [-T type]
> tabs [-T type][+m[n]] n1[,n2,...]
>
> after each component of oracle tries to start.
>
> I don't understand because there is no "tabs" command ANYWHERE in any
> profile or script!!
>
> TIA
>
> cat S99dbstart
> #!/bin/ksh
> #
> #
> # Oracle Database Startup and Shutdown
> # Oracle SQL*Net Listener Startup and Shutdown
> #
> # This file is /etc/init.d/Oracle and should
> # have hard links from /etc/rc2.d/S99dbstart
> # and from /etc/rc0.d/K01dbshut
>
> HOME_DIR_OF_ORACLE=`/bin/ksh 'echo ~oracle'`
> export HOME_DIR_OF_ORACLE
>
> set -vx
> (
>
> case "$1" in
> 'start')
>
> echo "ORACLE STARTUP"
> /bin/su - oracle -c "lsnrctl dbsnmp_start"
> /bin/su - oracle -c "lsnrctl start"
> /bin/su - oracle -c "dbstart"
>
> ;;
>
> 'stop')
>
> echo "ORACLE SHUTDOWN "
> /bin/su - oracle -c "dbshut"
> /bin/su - oracle -c "lsnrctl stop"
> /bin/su - oracle -c "lsnrctl dbsnmp_stop"
>
> ;;
>
> esac
>
> ) >> $HOME_DIR_OF_ORACLE/local/log/oracle_start.log 2>&1
>
> set +vx
> exit 0
>
>

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Sep 06 2000 - 16:43:34 CDT

Original text of this message

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