472,805 Members | 2,215 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

Connecting Windows Clients to Oracle

I'm a new Oracle user.

I've installed Oracle 9i on a Linux RedHat machine V9.0 and it's running.

I took a Windows XP machine and installed the Oracle client on it along with
PL/SQL developer from All-Around-Software.

I try to connect and I get an error message ORA-12545 "Connect failed
because target host or object does not exist".

The listener log on the Linux box indicates that something tried to connect.

Could someone be so kind as to direct me to the proper Oracle documentation
to get a Windows XP client to Linux server connection running?

Regards,

Wayne Happ
Jul 19 '05 #1
1 6972
Wayne Happ wrote:

I'm a new Oracle user.

I've installed Oracle 9i on a Linux RedHat machine V9.0 and it's running.

I took a Windows XP machine and installed the Oracle client on it along with
PL/SQL developer from All-Around-Software.

I try to connect and I get an error message ORA-12545 "Connect failed
because target host or object does not exist".

The listener log on the Linux box indicates that something tried to connect.

Could someone be so kind as to direct me to the proper Oracle documentation
to get a Windows XP client to Linux server connection running?

Regards,

Wayne Happ


The docco is at http://docs.oracle.com - look up the Oracle Networking
document. It's pretty involved and pretty boring (but complete). As a
short cut:

On the Linux box, check in your $ORACLE_HOME/network/admin directory.
You should have a few files - listener.ora, sqlnet.ora and tnsnames.ora
(There should be a similar directory %ORACLE_HOME%\network\admin on the
XP box, with similar files.)

LISTENER.ora - basically the config for your listener. Needs to be on
the same server as your listener. Identifies which services the listener
gets to support and how it supports them. (btw: start the listener
using 'lsnrctl start', flip side is 'lsnrctl stop') when you start it,
the listener should mumble something about the TCP/IP 1521 port ready
for your database. (Don't need this on the XP box!)

SQLNET.ora contains some global config - ignore it for now.

TNSNAMES.ora is the one all "oracle net" clients use to find the service
(service in this case = the instance managing the database, although
there could be other kinds of services). Your XP machine needs to have
a TNSNAMES.ora that has a service similar to the one in the TNSNAMES.ora
on the Linux box. (I'm making a whole bunch of assumptions here)

If it still doesn't work after lining up the stars/moon/sun and getting
the TNSNAMES.ora to look 'right', post both TNSNAMES.ora files &
possibly the LISTENER.ora file.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wayne Happ | last post by:
I have Oracle 9 running on a Linux RedHat Box V9.0. But I'm having trouble connecting from a windows machine via PL/SQL Develover. When I startup the application the instance name appears but...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
1
by: yahibble | last post by:
Now, I am no Python expert but I have dabbled and I have spent a couple of days with another engineer unsuccessfully installing oracle drivers for MS ODBC on the win XP machine. It looked to me...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
1
by: jobs | last post by:
I am able to access 9i and 10g Oracle DBs from other clients on my pc - sqlplus, PLSQL Developer, etc. As a simple test I just wanted to connect and access the same oracle DBs through ASP.NET on...
5
by: kimtherkelsen | last post by:
Hi, I use the System.Data.OleDb.OleDbConnection class to establish a connection to a Oracle 10G database. The dsn connection string I use look like this: dsn=provider="MSDAORA.1";User...
0
by: Temporary | last post by:
C# Web Service in IIS Stops Connecting to Oracle (via ADO.NET) Over Time I have a Web Service, written in C#, published on a Windows XT Web Server under IIS, which repeatedly connects to an...
1
by: megaman1 | last post by:
I’m trying to connect with perl DBD::Oracle on Windows to Oracle DB (Linux). I compiled the Oracle.dll using the commands “perl Makefile.pl” “nmake” and “nmake install”, but when I try to connect...
1
by: Wayne Happ | last post by:
I'm a new Oracle user. I've installed Oracle 9i on a Linux RedHat machine V9.0 and it's running. I took a Windows XP machine and installed the Oracle client on it along with PL/SQL developer...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.