Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Think about Loose Coupling
 
PerlMonks  

Re^3: DBI connect without an entry in TNSNAMES.ORA

by ptum (Priest)
on Nov 09, 2006 at 17:16 UTC ( #583163=note: print w/ replies, xml ) Need Help??


in reply to Re^2: DBI connect without an entry in TNSNAMES.ORA
in thread DBI connect without an entry in TNSNAMES.ORA

Hmmmm. Well, according to DBD::Oracle, you are bypassing the tnsnames.ora on your local machine, anyway. The error you are receiving seems to indicate that the listener on the remote machine doesn't recognize the SID you are passing it. Are you sure you have the SID right?


Comment on Re^3: DBI connect without an entry in TNSNAMES.ORA
Re^4: DBI connect without an entry in TNSNAMES.ORA
by ericdp (Novice) on Nov 09, 2006 at 17:34 UTC
    Of the 18 or so databases I'd like to connect to, three are down and should be unavailable. Of the rest, I am able to log on with no difficulties using sqlplus on those boxes.

    What I'd like to have is one app that can connect to all of these boxes. One use I'd like to have is to change all my passwords at one time. Another use is an internal audit check of our various apps. Unfortently I don't have one box that has all the databases listed in one TNSNAMES.ORA file. I don't know why, some DBA decided at one time to make sure there was some sort of seperation.

    Eric
      Right. But the question is, are you absolutely certain that SID "aaa" is on host "machineA.com" ?

      When you connect to the Oracle listener on "machineA.com" is telling you that it has no instance "aaa".

      --
      Clayton

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://583163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2013-05-25 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (521 votes), past polls