This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Invoking SQL*Plus from within cygwin


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@yahoo.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@aol.com [mailto:Upat54wo@aol.com]
> Sent: Tuesday, September 18, 2001 8:01 AM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]