Try to ping the server computer from the laptop (possibility for running firewall, antivirus or wrong hastname/IP).
After successfull ping look in TNSNAMES.ORA for correct domainmae/IP of the server.
Main Topics
Browse All TopicsHello Experts,
I need to be able to connect to Oracle 11g server (tower) from my laptop. I am losing my mind. Please help.
Please see server configuration below, am I missing something?
on my laptop (centos 5:3), I have the instant client and sqlplus libraries on /usr/lib/oracle
here is the command I am running from my laptop,
./sqlplus "/ as sysdba"
this is the error I get:
ORA-12545: Connect failed because target host or object does not exist
All variables have been set on my tower and laptop....
Please help...
thx,
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.
Thk u experts,
the tower, where Oracle 11g resides, has its firewall disabled.
I am also able to ping the tower successfully.
Below is the laptop config (sorry I didn't include before)
A side note: I am able to connect via sqldeveloper; but not sqlplus... this makes my head spin...
I need sqlplus...
Thx experts.... I really need to make this work...
regards,
thk u mrjoltcola.... really thk u so much...
well, I tried your second option on the tnsnames.ora... and I get the error below...
The first option, I type netca on the directory where instantclient and sqlplus resides and get "command no found"
I am not sure if I understand your first suggestion, could you explain it?
thx
regards,
Can you be clear if your TNSNAMES.ORA is using INSTANCE_NAME or SERVICE_NAME?
Please try SERVICE_NAME
For example, my systems are setup to use SERVICE_NAME:
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = win7)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DEV)
)
)
But if I use INSTANCE_NAME it will fail with ORA-12514 (though that is not the same as your original ORA-12545):
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = win7)(PORT = 1521))
(CONNECT_DATA =
(INSTANCE_NAME = DEV)
)
)
This is why I encouraged you to uninstall your instant client, reinstall with the full client download and run NETCA to create a new TNSNAMES.ORA
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-09-22 at 20:39:32ID: 25399851
I don't see the tnsnames.ora file for your laptop.
Your laptop tnsnames.ora file should have similar entries to the tnsnames.ora from the server, except the IP / host addresses will be changed from localhost.localdomain to whatever the remote IP is.