On Thu, 02 May 2002 08:06:41 -0400 Barbara Lindsey <[EMAIL PROTECTED]> wrote:
> On Wed, 01 May 2002 16:04:05 -0400 Barbara Lindsey <[EMAIL PROTECTED]> wrote: > > > Perl 5.00503 (site_perl 5.005) > > Linux 2.2.14 > > Oracle 7.4.3 > > Apache, but not mod_perl > > DBI.pm v.1.13 > > > > I am getting an error at my DBI->connect statement. > > The original error in the log was 'DBI->connect failed: ORA-12154: > > TNS:could not resolve service na...' > Yes, all other connection methods are working. > Didnt realize the logging presented the parameter list variables as raw > data rather than the function footprint... Perl considers object oriented method calls to be a different means of determining which subroutine to call. Once that is determined, the object reference or class name is the first argumnent passed to the subroutine. > dbih_setup_attrib(DBI::db=HASH(0x83606b8), Debug, > DBI::dr=HASH(0x83605c8)) 0 (already defined) > OCIErrorGet after OCIServerAttach (er1:ok): -1, 6401: ORA-06401: > NETCMN: invalid driver designator > > ERROR EVENT 6401 'ORA-06401: NETCMN: invalid driver designator (DBD > ERROR: OCIServerAttach)' on DBI::db=HASH(0x8360538) > !! ERROR: 6401 'ORA-06401: NETCMN: invalid driver designator (DBD > ERROR: OCIServerAttach)' > <- connect= undef at > /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 612. > > Our sys admin hasn't changed any of the drivers or related perl files, > though, and this all used to work... > > I will try doing it from a command line script and see if I get the same > result. Please communitate through [EMAIL PROTECTED] Others often have additional ideas that might help, I am not the sole source of wisdom in the universe. I am including dbi-users to see if anyone else has more opinions on this. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
