RE: DBI->connect failed: ERROR OCIEnvInit

RE: DBI->connect failed: ERROR OCIEnvInit

am 09.04.2007 13:36:13 von Ron.Reidy

I haven't done VMS work in years, but it used to be the case that when =
an OS upgrade was performed, one had to relink shared libraries. Have =
you tried relinking DBD::Oracle and DBI?

--
Ron Reidy
Lead DBA
Array BioPharma, Inc


-----Original Message-----
From: Kathy.Shu@ubs.com [mailto:Kathy.Shu@ubs.com]
Sent: Mon 4/9/2007 2:33 AM
To: dbi-users@perl.org
Subject: DBI->connect failed: ERROR OCIEnvInit=20
=20
Hi,

We are getting "DBI->connect failed: ERROR OCIEnvInit " when attempting
to connect an Oracle 9.2.0.5 instance on VMS AXP 8.3 platform. OS is
recently upgraded from V.7.3 to 8.3.=20


perl "-V" output:

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=3DVMS, osvers=3DF7.3-1, archname=3DVMS_AXP
uname=3D'VMS hearns F7.3-1'
config_args=3D'-des'
hint=3Dnone, useposix=3Dfalse, d_sigaction=3Ddefine
usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef
usemultiplicity=3Dundef
useperlio=3Dundef d_sfio=3Dundef uselargefiles=3Dundef =
usesocks=3Dundef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
Compiler:
cc=3D'CC/DECC', ccflags
=3D'/Include=3D[]/Standard=3DRelaxed_ANSI/Prefix=3DAll/Obj=3 D.obj/NoList/=
NOANSI_AL
IAS',
optimize=3D'',
cppflags=3D'undef'
ccversion=3D'60290006', gccversion=3D'', gccosandvers=3D'undef'
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D1234
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'int',
lseeksize=3D4
alignbytes=3D8, usemymalloc=3DN, prototype=3Ddefine
Linker and Libraries:
ld=3D'Link', ldflags =3D'/NoTrace/NoMap'
libpth=3D/sys$share /sys$library
libs=
perllibs=
libc=3D(DECCRTL), so=3Dexe, useshrplib=3Dundef, libperl=3Dundef
Dynamic Linking:
dlsrc=3Ddl_vms.c, dlext=3Dexe, d_dlsymun=3Dundef, ccdlflags=3D''
cccdlflags=3D'', lddlflags=3D'/Share'


Characteristics of this PERLSHR image:=20
Compile-time options: DEBUGGING
Built under VMS
Compiled at Jan 11 2002 08:38:53
%ENV:
PERL=3D"$PERL_ROOT:[000000]PERL.EXE"
PERLDOC=3D"$PERL_ROOT:[000000]PERL.EXE =
PERL_ROOT:[LIB.POD]PERLDOC.COM
-T"
@INC:
perl_root:[lib.VMS_AXP.5_6_1]
perl_root:[lib]
perl_root:[lib.site_perl.VMS_AXP]
perl_root:[lib.site_perl]
/perl_root/lib/site_perl


DBD-ORACLE-1_06
DBI-1_13

Do I need to recompile my DBI and DBD or install the latest Perl just
because the OS is upgraded?=20


Thanks in advance.




This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.