Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Error executing database related script

by Thilosophy (Curate)
on Jul 14, 2005 at 12:47 UTC ( [id://474854]=note: print w/replies, xml ) Need Help??


in reply to Error executing database related script

ORA-12154 means TNS:could not resolve the connect identifier specified, which is most likely caused by tnsnames.ora or the Oracle environment variables not set up properly.

In addition to that, the Oracle driver cannot find the texts for its error message, which is, of course, not good, but could also be caused by missing environment variables.

Can you connect with sqlplus? If you can, the Oracle client software should be working.

This is say because when redirect the shebang line to another perl installation path with same modules installed it works fine.

You have multiple Perl installations on the same machine? Maybe DBD::Oracle is confused about which Perl to use. Try to run some simple test scripts from the command line (just connecting) against both Perl versions.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found