Oracle on Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Oracle on Solaris
# 1  
Old 04-18-2005
Power Oracle on Solaris

Hi friends,
i am given a new login id on a solaris system.And i have the basic .profile for that.Once i log in to that system how can i check if there is oracle installed on that solaris system ?
I would want to set the path and other variables if i find that oracle is installed on it.
Please help.
thanks in advance
sveera
# 2  
Old 04-18-2005
try ps -ef | grep -i ora

Which will look for Oracle processes running on the machine. Also, you can check in /var/opt/oracle for a file called oratab (I think this is a typical location but I may be wrong - Im not a DBA Smilie )
# 3  
Old 04-18-2005
Power oracle

Hi ,
Thanks for the quick reply. when i typed the command that you gave i got a long listing . when i try to check for the ORACLE_HOME PATH variable it says that it is not set ..then what do i do to use oracle from my login ....i know what variables to set but it says that variables are not set ...then how come other users are using it ? is it because it is not set in my login it is giving that the variable is not set ?
thanks
sveera
# 4  
Old 04-18-2005
Look for a file in /usr/local/bin/ called oraenv. If it exists, you can run this shell and pass it your SID value. The script will set ORACLE_HOME and other variables. If the file doesnt exist, then contact your DBA or app support person to understand how they have setup the database. If you saw a bunch of Oracle processes running, then you know Oracle was installed and is running.

Example
. /usr/local/bin/oraenv testDB
# 5  
Old 04-18-2005
Power Oracle

Hi ,
Thanks a lot for the response. But i am not sure about the ORACLE SID.
Actually i havent worked on oracle though i have the knowledge of SQL and PLSQL .
Do i have to approach the client to know the SID or can i get it by just typing in some command?
actually i am working using telnet to the clients machine.
thanks
sveera
# 6  
Old 04-18-2005
The ORACLE_SID is the schema ID (instance) of the database that you wish to connect to. You will need to ask somebody what SID you should connect to. Actually, find the oratab file. You should have permissions to view this file. When you find it, open it up. It will have a series of entries with the format like this:

Code:
database_sid:oracle_home_dir:Y|N

Choose which SID you want to connect to based upon entries in this file (still probably want to ask somebody if you are truly not sure of what DB you should be in).
# 7  
Old 04-18-2005
Computer oracle

Hi ,
Thanks a lot dear.
bye
veeras
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

Oracle Solaris 11

Hello Friends I was running Solaris 10 on SunFire X2200 M2, with 40 Sunray 270 units, and would like to advance to a higher version of Solaris, Can anybody with experience on this help how to go about it, or if there is any other open source os to go with the hardware advice Thanks in... (1 Reply)
Discussion started by: daviey.daviey
1 Replies

2. Solaris

Oracle Db on Solaris OS

What is the minimum amount of RAM a db could be made to run on solaris OS .. i just need to test high availability failover of oracle db on a VM so want to make the db as thin as possible and to make it run on least amount on memory. (1 Reply)
Discussion started by: fugitive
1 Replies

3. Solaris

solaris-oracle

Hi, what are all best performance practices we can set in solaris box for oracle database 10.2.0.2 Thanks. (3 Replies)
Discussion started by: rags_s11
3 Replies

4. Shell Programming and Scripting

Oracle on Solaris

Please is there a way and how can I check is my oracle database OK on my solaris I did not istall that database but on processes I can see there are lot of oracle processes running ..also I would like to use that database.. That was my first q and second: I can telnet that machine from my local... (1 Reply)
Discussion started by: amon
1 Replies

5. UNIX for Advanced & Expert Users

oracle on solaris

Hi Friends , I need to connect to Oracle using sqlplus and it says that sqlplus is not found . I need to check if Oracle is running or not .is there any command to check if oracle is running ? Please help Thanks in advance Veera (2 Replies)
Discussion started by: sveera
2 Replies

6. UNIX Desktop Questions & Answers

Oracle on solaris.

Good afternoon Unix folks, I have been asked to find out if there is an ideal way to setup oracle on sun solaris. Right now, I have 2 36gig drives mirrored for my root volume. I have 4 more raid 5 for my datavolume. For io purposes, I need to break up these drives to prove that io is the... (2 Replies)
Discussion started by: niasdad
2 Replies
Login or Register to Ask a Question