look into oracle installer it should tell you what oracle packages are installed. also, see if you have tnsnames.ora in your oracle subdirs.
Main Topics
Browse All TopicsI have a Solaris server with an application that is using a Oracle 9 database with Oracle 8 client and i want to now start using a Oracle 9 client for my application.
How can i check if Oracle 9 client is already installed ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks.
If i do a tnsping from the 9.2 bin directory i get the error below but still get ok message. (dont get this error messages from 8.1 tnsping
TNS Ping Utility for Solaris: Version 9.2.0.6.0
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Message 3511 not found; product=network; facility=TNS
Message 3512 not found; product=network; facility=TNS
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ******)(PORT = 1521)) (CONNECT_DATA = (SID = ****)))
OK (0 msec)
-------------
If i try sqlplus from 9.2 bin i get this error. (8.1 is fine)
SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0
Unable to proceed
----------------
Tnasnames .ora file has symbolic link from 9.2 network/admin directory to /var/opt/oracle
I am unable to run installer yet as dont have permissions (long story), so i am still not 100% sure that 9.2 client is installed. Unless somene someone can advise otherwise ???
yes, you have a 9.2 client installed, your tnsping results confirm that.
However, your sql*plus error indicates you may have a problem with your installation.
if you can't run the installer to fix it I think you're stuck until you either get that permission or have someone with the privileges do so for you.
These are your errors. They would be normal processing messages from tnsping. Are you sure your environment was set correctly when you ran from the 9.2 home? PATH, LD_LIBRARY_PATH and ORACLE_HOME would all need to point to that home.
TNS-03511 Used parameter files: string
Cause: Prints out the path of the parameter files(sqlnet.ora,tnsnames.
TNS-03512 Used string adapter to resolve the alias
Cause: Prints out the name of the adapter which resolved the TNS alias.
Just to throw my 2 cents into the mix:
I think the problem is with the term 'installed'. Yes, you have the 9.2 client binaries on the machine but were they actually installed using Oracle's installer or was the directory merely copied from another machine?
since you don't have permissions to run the installer, I'm guessing a sys admin just copied the folder from another machine. you might get by with just having the admin staff run the root.sh script to finish up all the root level activities.
Side note: this might mess up the 8 client install a little.
What you are experiencing might be the following:
You are inside the Solaris server with a user that is not part of the dba group.
What you can do is the following:
1-Ask your Sys Admin to include you in the dba group. If that cannot be because of security issues, or other issues ... then modify your .profile in the following way to change the paths of ORACLE_HOME to where the 9.2 installation is located. If you don't know where the 9.2 installation is located do the following in order to locate the ORACLE_HOME for the version 9:
find / .-name "oracle.exe" > delete_me
Then do the following: more delete_me
If you find for example the oracle.exe inside the delete_me in this path: /home/app/oracle/product/9
Inside the .profile that is located in the directory when you enter the server do a vi .profile and in the first line add the following path.
ORACLE_HOME=/home/app/orac
export ORACLE_HOME
Then the other "environment variables" like the PATH variable, must have the ORACLE_HOME as part of the definition, and also the ORACLE_HOME/bin.
Please remove other pointers to the 8 version oracle in your path.
>>You are inside the Solaris server with a user that is not part of the dba group.
You can try this as an experiment to see if it helps but I would not recommend this as a permanent fix. This really should not have anything to do with the problem. Also, depending on the user, this could have some bad side effects. This will allow the user to be able to connect as the SYS database user.
I really don't want to hijack this question but: Unless Oracle has changed something recently, if you're logged in locally to the database server any member of the dba group can connect as SYS regardless of the sqlnet.ora file. Even if the sqlnet.ora file could prevent this, dba group members have write privileges on this file so they can just change it.
I stand by what I said: It might be good for a test but I would never give a general user dba group privs.
Business Accounts
Answer for Membership
by: sdstuberPosted on 2009-02-27 at 10:33:22ID: 23758481
check your oracle homes.
each oracle home will point to a different directory tree.
probably something like
c:\oracle\8.1.7
or
c:\oracle\ora92
they might not be so conveniently named so, to test the version of each the easiest way
is to go to the BIN directory under each and run one of the tools like sqlplus, tnsping, namesctl, etc. they should print a banner that shows what version they are.
for example, here's my tnsping banner that shows I've got 9.2.0.8 installed under that tree
Select allOpen in new window