Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 6876 invoked from network); 20 Dec 2007 12:24:03 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-69-64-49-119.inaddr.intergenia.de with SMTP; 20 Dec 2007 12:24:03 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A5D897DCC91;
 Thu, 20 Dec 2007 13:24:04 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07702-04; Thu, 20 Dec 2007 13:24:04 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 28AB67DCA55;
 Thu, 20 Dec 2007 13:24:04 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 20 Dec 2007 13:21:55 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 56CA97DCBA9
 for <oracle-l@freelists.org>; Thu, 20 Dec 2007 13:21:55 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07457-03 for <oracle-l@freelists.org>;
 Thu, 20 Dec 2007 13:21:55 -0500 (EST)
Received: from garbo.lodgenet.com (garbo.lodgenet.com [204.124.121.250])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2CA917DC98E
 for <oracle-l@freelists.org>; Thu, 20 Dec 2007 13:21:54 -0500 (EST)
Received: from rholman.lodgenet.com (rholman.lodgenet.com [10.16.41.110])
 by garbo.lodgenet.com (8.12.11.20060308/8.12.11) with ESMTP id lBKILWV3006229;
 Thu, 20 Dec 2007 12:21:53 -0600
Message-ID: <476AB247.9050407@gmail.com>
Date: Thu, 20 Dec 2007 12:19:51 -0600
From: Rodd Holman <Rodd.Holman@gmail.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20071031)
MIME-Version: 1.0
To: niall.litchfield@gmail.com
CC: Ted Coyle <oracle-l@webthere.com>, oracle-l <oracle-l@freelists.org>
Subject: Re: linux environment question
References: <7765c8970712200637q3a544e23jebff87819f1bb264@mail.gmail.com>	 <001201c84329$07b0b340$3921a8c0@medecision.com> <7765c8970712201008q77c677fh4209a04c3fa4fc47@mail.gmail.com>
In-Reply-To: <7765c8970712201008q77c677fh4209a04c3fa4fc47@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-archive-position: 4049
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Rodd.Holman@gmail.com
Precedence: normal
Reply-to: Rodd.Holman@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

For consistency you could always add the following to your script.  That 
would set up the environment the same as a console mode start.

    ORACLE_SID=yoursid
    export ORACLE_SID
    export ORAENV_ASK=NO;
    . /usr/local/bin/oraenv
    export ORAENV_ASK=YES;

That way you wouldn't have any discrepancy between startups and shutdowns.

--Rodd

Niall Litchfield wrote:
> On Dec 20, 2007 4:54 PM, Ted Coyle <oracle-l@webthere.com 
> <mailto:oracle-l@webthere.com>> wrote:
>
>     Niall,
>
>     Make sure someone didn't try starting another instance.
>
>  
> That was my first thought too. I don't believe that to be the case 
> here though.
>  
>
>     Not sure why you require a trailing slash in your system.  I don't
>     have trailing slash and all works fine.
>
> . oraenv calls dbhome which greps /etc/oratab to set the ORACLE_HOME - 
> in our oratab which had been manually edited the ORACLE_HOME string 
> had a trailing slash. The instance would have originally been started 
> after setting the environment using oraenv as well, so I think that 
> that together with Dan and Dimitri's explanations nails the problem down.
--
http://www.freelists.org/webpage/oracle-l


