Q

Can connect from command line but not client

I've created a new instance on 10g. I can connect fine from the command line but I can't seem to connect from a client. I have edited my tnsnames and listener files; is there anything else I have to edit? It's a four-node cluster.

Hi Maria. I've created a new instance on 10g (Solaris). I can connect fine from the command line but I can't seem

to connect from a client. I have edited my tnsnames and listener files; is there anything else I have to edit? It's a four-node cluster if that helps.

Listener:

LISTENER_DSC =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = iecsbx02-vip)(PORT = 1522))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.123.57)(PORT = 1522)(IP = FIRST))
tnsnames:
DSC.xxxxxxxx.IE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.123.57)(PORT = 1522))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = DSC.xxxxxxx.ie)
      (INSTANCE_NAME = DSC)
    )
  )
First, you will need a tnsnames.ora file on the client. If a tnsnames.ora file exists on the client machine, you should confirm that the SERVICE_NAME and host IP address in the tnsnames.ora is accurate. In other words, the IP address must point back to the server where the database resides.
This was first published in February 2006

Dig deeper on Oracle database installation, upgrades and patches

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close