RE: DBD::Oracle 'make test' fails - ORA-24327: need explicit attach before authenticating a user

[email protected] ("Furst, Carl")
Newsgroups perl.dbi.users
Message-ID <1D807399669FAF4B8FFD0C3B7F9C1ECA0FBA2EF5@MLBAM-EXCH01.MLBAM.mlb.org>
I'm wondering if just using the username@SIDSTRING would have worked without
TWO_TASK being set? It did for me on Solaris Sparc. If TNS_ADMIN or
ORACLE_HOME is set correctly, it should lookup SIDSTRING in tnsnames.ora for
connection info.



Carl Furst
-----Original Message-----
From: Alexander Saip [mailto:[email protected]] 
Sent: Wednesday, February 02, 2011 9:45 AM
To: [email protected]
Cc: [email protected]
Subject: Re: DBD::Oracle 'make test' fails - ORA-24327: need explicit attach
before authenticating a user


Martin,

setting the TWO_TASK environment variable did the trick, thanks for your
advice. For some strange reason, the EZconnect format didn't work, so I had
to specify the fully qualified connection string, but that got me through.






**********************************************************

MLB.com: Where Baseball is Always On
smime.p7s (application/x-pkcs7-signature, 2.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.