trying to find out where oracle is installed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers trying to find out where oracle is installed
# 1  
Old 12-06-2007
trying to find out where oracle is installed

Hi

I am logged into a remote linux machine, i want to find out where
the oracle software is installed..basically, i want to see the following
files...

oracle_home/rdbms/admin/sql.bsq
oracle_home/rdbms/admin/catalog.sql

i am taken to home directory...do i need to export something here?
how to know where oracle is installed?
# 2  
Old 12-06-2007
which oracle

or

if ORACLE_HOME is defined
find $ORACLE_HOME -name sql.bsq
find $ORACLE_HOME -name catalog.sql
or
find $ORACLE_HOME \( -name catalog.sql -o -name sql.bsq \)

if ORACLE_HOME is not defined
find / \( -name catalog.sql -o -name sql.bsq \)

List of variable need to be in your .login or .profile etc
ORACLE_ACCOUNTNAME=oracle
ORACLE_HOME=/u02/app/oracle/product/10.2.0.1.0
ORACLE_SID=mymachinename

The other environnmental variable need to be updated
PATH should be appended with oracle bin
LD_LIBRARY_PATH should be appended with to oracle lib
Smilie
RUV
# 3  
Old 12-06-2007
find / -name $ORACLE_HOME/rdbms/admin/sql.bsq
find / -name $ORACLE_HOME/rdbms/admin/catalog.sql

Make sure $ORACLE_HOME is set
# 4  
Old 12-08-2007
Do you try to find out which ORACLE_HOMEs exist?
The file /etc/oratab should tell you.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. UNIX for Dummies Questions & Answers

How to find perl installed path?

Hi all, how do we find where perl is installed via command line? Please let me know for both windows and unix platforms. when i tried in windows by following option. it is throwing error. C:\Users\dkanagar>whereis perl 'whereis' is not recognized as an internal or external command,... (4 Replies)
Discussion started by: Divakar
4 Replies

3. UNIX for Dummies Questions & Answers

How to find about NICs installed

Hi; Is there a way to determine for sure how many NIC ports installed on my Linux box? I tried to run "lspci" but not sure about the results, it's not clear. Below are the results when i run both "ifconfig" & "lspci" on my Linux box i hope someone can help me finding the actual numbers of... (1 Reply)
Discussion started by: Katkota
1 Replies

4. Shell Programming and Scripting

How to find out which sql i have installed .

I use CentOS . I want to know how to find out which sql i have installed .. Can anyone tell .. (2 Replies)
Discussion started by: madhumathikv
2 Replies

5. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

6. UNIX for Dummies Questions & Answers

how to know if oracle is installed ?

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? (2 Replies)
Discussion started by: soujanya_srk
2 Replies

7. UNIX for Dummies Questions & Answers

How to find how many CPU installed in the servers

We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies

8. Shell Programming and Scripting

Two Oracle's installed

In my directory /u01/app/oracle/product I have two Oracle products installed. $ ls 8.1.7 817_http The application installed on the server is using PL/SQL procs to display webpages(not sure how) Now I have to create a similar server for development. Our sysadmin has built up a host... (1 Reply)
Discussion started by: rahulrathod
1 Replies

9. UNIX for Advanced & Expert Users

How to Find the OS version Installed

Hi, I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present. Thanx in advance for your help. Regards, Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies

10. UNIX for Advanced & Expert Users

How to find who installed an app

Hi, how could I find whether an application is installed by root or non-root I am assuming it would be logged in a file, if it is where would it be? Thanks in advance. (2 Replies)
Discussion started by: dtamminx
2 Replies
Login or Register to Ask a Question