473,408 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 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 7033
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.