Oracle client-server Communication [message #274380] |
Mon, 15 October 2007 21:53 |
Oracle_Thunder
Messages: 7 Registered: October 2007
|
Junior Member |
|
|
Hi Friends,
I am new to this forum and this is my first posting.
I am using Oracle 9i with client-server installation.
I am trying to access Oracle Database which is located on a remote server.But I am not able to login.The error what I am getting is
ORA-12560: TNS: protocol adapter error
But when I PING the IP address of the remot server, it is PINGING.
I tried UserName and Password which are mentioned in tnsnames.ora file.Also I tried default username and password scott/tiger etc different combinations.But I am getting the same error.
Also I tried to start listener service in my system,but I dont have access rights,not given by our clients.
So is this related to Firewall??
Please Help Me Friends..
Thanks in Advance...
|
|
|
|
|
Re: Oracle client-server Communication [message #274637 is a reply to message #274383] |
Tue, 16 October 2007 12:03 |
Oracle_Thunder
Messages: 7 Registered: October 2007
|
Junior Member |
|
|
Hi Michel,
Thanks for your reply.I am sorry for late response.
The connection command I have used is ping command.So the IP address is pinging.But when I try to login using SQL Plus, I get the ORA-12560: TNS: protocol adapter error.
I this because of Firewall? Alternatively Can I connect to Oracle through My Java Application using JDBC(By setting proxy in My java application).Will this solve the firewall issue.
Your guidance needed...
Thanks in Advance....
|
|
|
Re: Oracle client-server Communication [message #274642 is a reply to message #274380] |
Tue, 16 October 2007 12:15 |
Oracle_Thunder
Messages: 7 Registered: October 2007
|
Junior Member |
|
|
Hi anacedent,
Thanks for your reply and guidance.I am very Sorry for My late response.You asked..
1.What is database server OS name & version?
Ans: Windows and Oracle 9i
2.What is client OS name & version?
Ans: Windows XP and Oracle 9i
3.What is database version to 4 decimal places?
Ans: I dont know
So in order to overcome Firewall issue,can I do some Proxy settings in my java(JDBC) application(which is the front end),So that I access Database on a remote server?
Your help and guidance needed..
Thanks in advance..
[Updated on: Tue, 16 October 2007 12:19] Report message to a moderator
|
|
|
Re: Oracle client-server Communication [message #274808 is a reply to message #274642] |
Wed, 17 October 2007 03:56 |
trantuananh24hg
Messages: 744 Registered: January 2007 Location: Ha Noi, Viet Nam
|
Senior Member |
|
|
1/ You must have an Oracle Client in your Client machine. Or, you have some special applications such as TOAD, SQL Navigator, SQL Developer... which can connect to your Database.
2/ For the Oracle Client, open the file called as TNSname.ora.
Modify something in, it look like:
REPO = //your SID//
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.222.15.186)(PORT = 1521)) //your Database IP and port
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = REPO) //your Database name
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
After finish modifying, you can check it again by
[code]
C:\> tnsping yourSID
Example with below Tnsname.ora
C:\>tnsping REPO
....
[code]
3/You can check your Database version and release by
[code]
SQL> show parameter compatible;
[code]
|
|
|
|
Re: Oracle client-server Communication [message #274953 is a reply to message #274808] |
Wed, 17 October 2007 21:50 |
Oracle_Thunder
Messages: 7 Registered: October 2007
|
Junior Member |
|
|
Hi,
Thanks for your reply.It was really helpful.But when I try
"tnsping" command I get following error..
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 18-OCT-20
07 08:11:32
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
TNS-03505: Failed to resolve name
I need your solution...
Thanks and Regrads,
|
|
|
|
|
|
|