Home » Infrastructure » Unix » how to know whether oracle is installed or not?
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?
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 messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
find / -name oracle -ls
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 messageGo to next message
Frank Naude
Messages: 4579
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.
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 messageGo to next message
Michel Cadot
Messages: 68625
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
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 messageGo to next message
Frank Naude
Messages: 4579
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?
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 messageGo to next message
Michel Cadot
Messages: 68625
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
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 messageGo to next message
Frank Naude
Messages: 4579
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.
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 messageGo to next message
Michel Cadot
Messages: 68625
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
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
Previous Topic: How to launch a program when arrival of the file (merged)
Next Topic: looking for dbstart and dbshut syntax
Goto Forum:
  


Current Time: Fri Mar 29 09:47:22 CDT 2024