Javascript required
Skip to content Skip to sidebar Skip to footer

How to Find Where Oracle Is Installed in Unix

  • Search
  • Help
  • Members
  • Register
  • Login
  • Home
Home » Infrastructure » Unix » how to know whether oracle is installed or not?
Show: Today's Messages :: Polls :: Message Navigator
E-mail to friend
Switch to threaded view of this topicCreate a new topicSubmit Reply
how to know whether oracle is installed or not? [message #313815] Mon, 14 April 2008 13:30 Go to next message
soujanya_srk
Messages: 111
Registered: November 2006
Location: HYDERABAD

Senior Member

can anyone please tell me how to know whether oracle
is installed in unix?

what is the path to check if oracle is installed or not?

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #313816 is a reply to message #313815] Mon, 14 April 2008 13:32 Go to previous message Go to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal

Senior Member

find / -name oracle -ls

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #313983 is a reply to message #313816] Tue, 15 April 2008 06:56 Go to previous message Go to next message
Frank Naude
Messages: 4570
Registered: April 1998

Senior Member

Check for an "oracle" user and "dba" group:
$ grep oracle /etc/passwd; grep dba /etc/group

Check if any Oracle processes are running:
$ ps -ef | grep ora

If all else fails, ask the DBA.

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #313987 is a reply to message #313983] Tue, 15 April 2008 07:02 Go to previous message Go to next message
Michel Cadot
Messages: 68042
Registered: March 2007
Location: Nanterre, France, http://...

Senior Member
Account Moderator

Oracle owner may not be named "oracle".
SYSDBA OS group may not be named "dba".

I think Ana's answer is the best one.

Regards
Michel

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #314000 is a reply to message #313987] Tue, 15 April 2008 08:11 Go to previous message Go to next message
Frank Naude
Messages: 4570
Registered: April 1998

Senior Member

Thanks Michel! I was adding to Ana's answer - not trying to provide a better answer. Since when is this a competition anyway?

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #314002 is a reply to message #314000] Tue, 15 April 2008 08:27 Go to previous message Go to next message
Michel Cadot
Messages: 68042
Registered: March 2007
Location: Nanterre, France, http://...

Senior Member
Account Moderator

Sorry, I didn't mean this.
"More reliable way to get the answer" might be a better Smile way to say what I meant.

Regards
Michel

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #314005 is a reply to message #314002] Tue, 15 April 2008 08:36 Go to previous message Go to next message
Frank Naude
Messages: 4570
Registered: April 1998

Senior Member

Neither solution is 100% "reliable". For example, a client-only install will not have an "oracle" executable.

One should use a combination of the above (and possibly some other) techniques and hope for the best.

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #314026 is a reply to message #314005] Tue, 15 April 2008 10:16 Go to previous message Go to next message
Michel Cadot
Messages: 68042
Registered: March 2007
Location: Nanterre, France, http://...

Senior Member
Account Moderator

Oh yes, you're right, I too much work with data server and forgot client one.
Thanks.

Regards
Michel

Report message to a moderator

Send a private message to this user
Re: how to know whether oracle is installed or not? [message #314030 is a reply to message #313815] Tue, 15 April 2008 10:29 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal

Senior Member

>(and possibly some other)
find / -name sqlplus

Report message to a moderator

Send a private message to this user
Switch to threaded view of this topicCreate a new topicSubmit Reply
Previous Topic: How to launch a program when arrival of the file (merged)
Next Topic: looking for dbstart and dbshut syntax
Goto Forum:
  

-=] Back to Top [=-

[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 29 03:43:11 CST 2021

How to Find Where Oracle Is Installed in Unix

Source: https://www.orafaq.com/forum/t/100731/