I can ping from clinet and lsnrctl is up but keep getting
ora-12560
Main Topics
Browse All Topicshow to configure tnsnames.ora and listner.ora so that I can make connection to the server from client machine?
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.
# listener.ora Network Configuration File: D:\app\1\product\11.1.0\db
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = CUST)
(ORACLE_HOME = D:\app\1\product\11.1.0\db
(SID_NAME = CUST)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 169.254.25.129)(PORT = 1521))
)
)
Tazz
start from the server
:you need to know :
1-hostname you can get that by hostname in cmd
2-your sid which is select instance_name from v$instance;
3- designated service name of your choice.
4- your oracle_home path
then just create a new listener from the net config assisstant.
then invoke net manager and and select this listener and database service add database add your sid and and oracle_home path the golbal db name will be mainly your sid.
check attachement
then go to service and add a new service using the green add sign input your sid, service name ,and hostname .
restart your listenr .
from here you can take this tnsnames.ora and distribute it for as many clients as you want .
On the server run
lsnrctl status
lsnrctl services
and check if the Listener is up and the instance is registered by the Listener.
Check if the instance is running.
On the client side check tnsnames.ora for an entry for that instance that also includes:
Host
Instance name
Port
Protocol
The best way is to copy and change existing entry.
Now tnsping the Listener from theclient:
tnsping entry_name
If the listener doesn't respond either the entries are wrong or there is firewall/antivirus between the computers.
Business Accounts
Answer for Membership
by: angelIIIPosted on 2009-09-16 at 04:27:51ID: 25344248
example for tnsnames.ora (on the client): http://www.orafaq.com/wiki /Tnsnames. ora /oracle/li stener_ora .htm
g l
and example of lstener.ora (on the server): http://www.mike-devlin.com
from the client, you can use the tnsping command line tool (coming with oracle client) to test the config: www.orafaq.com/wiki/Tnspin
from the server, you use lsnrctl command line tool to check if the listener is working: www.orafaq.com/wiki/Lsnrct