Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Solaris Software Installation

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am new to Solaris Platform . I would like to know whether the machine on which I am working has Oracle9 installed on it or no?

How do I proceed?


Regards
SONAL
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sonal, try typing in the following command:

which oracle

It should be listed under oracle. (If not, ask the sysadmin, who should always know what's on the box). If it is there, you should get back a single location. Otherwise, you'll get back something like:

no oracle in /usr/bin /usr/local/bin /......

and it will list all the directories in your $PATH.

Hope that helps.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In contrast to Pat I don't know Solaris, but on my linux-machine, 'which oracle' shows nothing, since it isn't in the path.

I don't know if 'locate' is available on solaris, so 'locate oracle' isn't expensive.

could be another test.
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have Solaris, it was probably installed with the standard "setup" tools and, consequently, registered in the system's "installation package database".

So the best way is probably to check with the OS-level package manager.

For example:

SOLARIS:
pkginfo | grep -i oracle

HPUX:
swlist -l | grep -i oracle

AIX:
lslpp -L all | grep -i oracle

LINUX:
rpm -qa | grep -i oracle

A "cheat sheet" of common Unix commands - and the differences between different *nix platforms - can be found here:

http://www.unixguide.net/unixguide.shtml

Hope that helps .. PSM
 
Saloon Keeper
Posts: 25846
184
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, since Oracle's a product from Oracle Corporation, not Sun Microsystems and about the cheapest version I know of for business server use runs about $16K/cpu, statistically, it's not likely that the box has Oracle on it.

Usually the Oracle stuff will be in a directory named /OraHome or at least /Ora-something.

However, Oracle is a database server. Just because Oracle's not on that box doesn't mean that some other machine in the network isn't running Oracle. In which case that machine would still have Oracle available to it.
reply
    Bookmark Topic Watch Topic
  • New Topic