Solved

Oracle 10g Client 10.2.0.1 To 10.2.0.4 for windows 2003 R2 32bit Installation

Posted on 2011-09-18
16
1,288 Views
Last Modified: 2013-12-19
i have already patched my oracle 10.2.0.1 to 10.2.0.4 now i want to patch oracle Client on windows 2003 R2 also could you help me where i can find client for windows 2003 server R2 32 bit and how can i patch it and please steps  also

original problem was when i was connecting from 10.2.0.1 client to oracle 10.2.0.4 db via plsql it was connecting but when i was trying to connect as sysdba it was giving error ( ORA-12560: TNS: Protocol Adapter Error) ...
i don't know may be this is the problem should i update client ??


DB OS = windows 2003 server
Client OS = Windows 2003 R2 32bit
DB - 10g 10.2.0.4
0
Comment
Question by:xeondxb
  • 8
  • 5
  • 2
  • +1
16 Comments
 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- in the My Oracle Support site, you can search for doc "ID 1265183.1 Need To Locate The Oracle 10.2.0.x Client Specific Patchset". the doc mention that there is no client specific patchset. you can use the same 10.2.0.4 database server patchset for the client, please refer to the doc for more details.

0
 
LVL 37

Expert Comment

by:Gerwin Jansen
Comment Utility
>> original problem was when i was connecting from 10.2.0.1 client to oracle 10.2.0.4 db via plsql it was connecting but when i was trying to connect as sysdba it was giving error
Connecting with sqlplus (probably not plsql as you write) with a 10.x client to a 10.x database should not give you any problems. Even with older Oracle clients you can connect just fine to newer databases using sqlplus.

Can you describe what error you got? That is what needs to be investigated first.
0
 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- alternatively you can also use Oracle 11g client to connect to Oracle 10.2.0.4 database server:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
0
 

Author Comment

by:xeondxb
Comment Utility
ORA-12560: TNS: Protocol Adapter Error
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
Comment Utility
Some basic questions, is your listener running? Did you put your tns info into tnsnames.ora?
0
 

Author Comment

by:xeondxb
Comment Utility
i guess it is running how can i check ??
from local DBServer machine im able to connect via PLSQL  as sysdba but from client side i can't do that ...
Oracle 10g Server Ora file
------------------------------------------


# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

Sname =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wdev)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = sname)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )



-----------------------------------------
Client Ora File 
-----------------------------------------

# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.

SID_10.0.1.64 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.64)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = SID_1)
      (SERVER = DEDICATED)
    )
  )

Sname =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.64)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = Sname_1)
    )
  )

Open in new window

0
 

Author Comment

by:xeondxb
Comment Utility
PLSQL Screen Shoot - Client Machine
0
 

Author Comment

by:xeondxb
Comment Utility
I have very less knowledge in oracle because of this your help is required :)
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- make a backup of your tnsnames.ora file on the client first.
- then change the Sname entry on the client tnsnames.ora to the following:

Sname =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wdev)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = sname)
    )
  )
0
 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- if it doesnt work, change the 'wdev' to ip address of the server
0
 

Author Comment

by:xeondxb
Comment Utility
In my code please check this area
-----------------------------------------
Client Ora File
-----------------------------------------
in my client ora file im using IP already, on server file i was using host name which was local server name  i also changed that  but it did not work :(

0
 

Author Comment

by:xeondxb
Comment Utility
sname =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.64)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = sname)
    )
  )

i tried also this it is not working also :(
0
 

Author Comment

by:xeondxb
Comment Utility
do i have to update oracle 10g client ??  on client machine
0
 
LVL 23

Accepted Solution

by:
OP_Zaharin earned 500 total points
Comment Utility
- don't touch any setting on the database because it works. the issue is now with your oracle client.
- what is the error now on client pc after you changed the tnsnames.ora?

- try login this way:
sqlplus username/password@sname

- for sysdba try:
sqlplus "username/password@sname as sysdba"
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
From the client command prompt post the results of:

ping 10.0.1.64
tnsping sname

from the database server command prompt:
lsnrctl status
0
 

Author Closing Comment

by:xeondxb
Comment Utility
it was not 100% solution but anyway my problem is solved so no need to keep open i would appreciate ur help... Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now