delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/18/17:46:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <alecclews AT yahoo DOT com>
Message-ID: <3BA7BFE8.9040304@yahoo.com>
Date: Wed, 19 Sep 2001 07:43:04 +1000
From: Alec Clews <alecclews AT yahoo DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010913
X-Accept-Language: en-us
MIME-Version: 1.0
To: Troy Noble <troy DOT noble AT channelpoint DOT com>
CC: "'Upat54wo AT aol DOT com'" <Upat54wo AT aol DOT com>, cygwin AT cygwin DOT com
Subject: Re: Invoking SQL*Plus from within cygwin
References: <8F23E55D511AD5119A6800D0B76FDDE101A26A80 AT cpex3 DOT channelpoint DOT com>

G'Day,

This works for me (I'm using W2K). Provding Oracle is installed OK it 
_should_ pick up Oracle_Home from the registry. Just make sure you have 
the correct path set up (do you have multiple Oracle Homes?).

Can you run sqlplus from the NT command prompt (cmd.exe)? If the answer 
is yes then look at any path differences and other environment differences.

Do you get any error mesages from sqlplus when you run it?

What version of Oracle are you using?

Cheers
-- 
Alec Clews, <alecclews AT yahoo DOT com>,      Melbourne, Australia
Fax   +61-(3)8621-6920    http://www.geocities.com/alecclews/


Troy Noble wrote:

> Did you define ORACLE_HOME in your environment?  And is your Oracle
> bin directory on your PATH when running in bash?
> 
> I've seen the Dr. Watson type error you are describing when one of
> the two above things wasn't set up properly... I can't remember
> which.  Sorry.
> 
> So check your PATH and make sure ORACLE_HOME is defined and that might
> do it for you.  Can't recall if I had set ORACLE_HOME only in my .bashrc
> or if I also had to put it in my NT environment variables.  From quick
> inspection, it looks like I did both.
> 
> -----Original Message-----
> From: Upat54wo AT aol DOT com [mailto:Upat54wo AT aol DOT com]
> Sent: Tuesday, September 18, 2001 8:01 AM
> To: cygwin AT cygwin DOT com
> Subject: Invoking SQL*Plus from within cygwin
> 
> 
> I have installed the latest and greatest CygWin on an NT 4 sp 6. Finally
> even got cron to work with the help of the NT admins.  
> 
> Now I am trying to run Oracle's sqlplus (for NT) from within a Cygwin
> terminal window and am receive an error which produces a Dr. Watson type
> dump.  I have attached the dump.  
> 
> Am I being a bit naive about running an NT program under Cgywin?  I'd
> appreciate someone looking at the dump and giving me any insights on getting
> this to work.  I have shell scripts which help to reduce and automate a
> DBA's workload, but they all log on to a database to perform their work
> using sqlplus.




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019