Re: Cygwin for use on Oracle Servers

Hi Jared,

One thing to look out for is the way in which some windows applications will echo passwords when executed in a Cygwin xterm, e.g.:

   [tonyv@T1W102292][S:TVL01][~]
   $ sp

   SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 20 09:39:15 2009

   Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

   ERROR:
   ORA-01034: ORACLE not available
   ORA-27101: shared memory realm does not exist


   Enter user-name: test
   Enter password: apassword

Some programs, such as PuTTY, don't seem to be able to read the password at all. On the other hand, I have in the past sucessfully used CygWin sshd to remote into my Windows workstation.

As for variables, I tend to use the same environment under CygWin as I do on Linux boxes, with the exception of $TWO_TASK, which is replaced by $LOCAL.

hth,

Cheers,
Tony van Lingen

Around 20/10/2009 3:27 AM, Jared Still said:
It seems the windows servers are going to proliferate here. (sigh)

There are a number of you that are regularly using Cygwin on windows
servers so as to have a decent scripting and cmd line environment.

While I have used Cygwin casually on my own laptop for use with
Oracle, I have never made serious use of it.

If you have any tips to offer (ie. hard learned lessons) for using Cygwin
it would be appreciated.  If I learn enough I can consolidate it into
a blog entry.

Some examples of what I am looking for:

How do you set up the PATH? (linux style or DOS style directories in PATH?)

Any tricks to setting up the Oracle ENV variables?

etc...

Thanks,

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
Oracle Blog: http://jkstill.blogspot.com
Home Page: http://jaredstill.com

--
http://www.freelists.org/webpage/oracle-l


Other related posts: