Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Error executing database related script

by Thilosophy (Curate)
on Jul 14, 2005 at 12:47 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474854]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-04-22 23:18 GMT
Find Nodes?
    Voting Booth?