ERROR : Could not connect: ERROR OCIEnvInit

ERROR : Could not connect: ERROR OCIEnvInit

am 14.06.2006 14:54:49 von mainisundeep

------=_NextPart_000_0027_01C68FDF.D230F2A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,=20
I am Sundeep Maini. I read your article in one of the forum online.
This regarding the Perl Module error encountered while a script in my =
system tries to connect to a CGI Script.

Just to give you a brief overview.

I recently had a database upgrade from Oracle 8i (8.1.7) to Oracle 9i =
(9.2.0). Earlier, the application was using Oracle 8i database.
As part of process I have updated the ORACLE_HOME env to =
/opt/oracle/product/9.2.0 (the application is configured on HP-UX a UNIX =
Box) after doing this the ERROR

Could not connect: ERROR OCIEnvInit was encountered.

So would request you to kindly help me out to permanently fix this =
problem with an optimal solution.

please find below the perl configurations pertaining to my environment:-
==================== =====3D=
==================== =====3D=
==========
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=3Dhpux, osvers=3D11.00, archname=3DPA-RISC1.1
uname=3D'hp-ux chile b.11.00 a 9000778 2001030925 two-user license '
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef useperlio=3Dundef d_sfio=3Dundef
Compiler:
cc=3D'cc', optimize=3D'-O', gccversion=3D
cppflags=3D'-D_HPUX_SOURCE -Aa -I/usr/local/include =
-I/opt/gnu/include'
ccflags =3D'-D_HPUX_SOURCE -Aa -I/usr/local/include =
-I/opt/gnu/include'
stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8
d_longlong=3Dundef, longlongsize=3D, d_longdbl=3Ddefine, =
longdblsize=3D16
alignbytes=3D8, usemymalloc=3Dy, prototype=3Ddefine
Linker and Libraries:
ld=3D'ld', ldflags =3D' -L/usr/local/lib -L/opt/gnu/lib'
libpth=3D/usr/local/lib /opt/gnu/lib /lib/pa1.1 /lib /usr/lib =
/usr/ccs/lib
libs=3D-lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt
libc=3D/lib/libc.sl, so=3Dsl, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3Dundef, =
ccdlflags=3D'-Wl,-E -Wl,-B,deferred '
cccdlflags=3D'+z', lddlflags=3D'-b -L/usr/local/lib -L/opt/gnu/lib'


Characteristics of this binary (from libperl):
Built under hpux
Compiled at Feb 4 2000 08:49:53
@INC:
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1
/opt/perl5.005_03/lib/5.00503
/opt/perl5.005_03/lib/site_perl/5.005/PA-RISC1.1
/opt/perl5.005_03/lib/site_perl/5.005
==================== =====3D=
==================== =====3D=
==================== =====3D=
===3D

Thanks in advance for your compliance in this regard.

Regards,
Sundeep Maini
------=_NextPart_000_0027_01C68FDF.D230F2A0--

Re: ERROR : Could not connect: ERROR OCIEnvInit

am 16.06.2006 13:18:07 von scoles

What version of DBI and DBD:Oracle are you using and which Oracle client.
You may have to upgrade you DBI and DBD::Oracle to the latest version. This
can be done though PPM.

----- Original Message -----
From: "Sundeep Maini"
To:
Sent: Wednesday, June 14, 2006 8:54 AM
Subject: ERROR : Could not connect: ERROR OCIEnvInit


Hi,
I am Sundeep Maini. I read your article in one of the forum online.
This regarding the Perl Module error encountered while a script in my system
tries to connect to a CGI Script.

Just to give you a brief overview.

I recently had a database upgrade from Oracle 8i (8.1.7) to Oracle 9i
(9.2.0). Earlier, the application was using Oracle 8i database.
As part of process I have updated the ORACLE_HOME env to
/opt/oracle/product/9.2.0 (the application is configured on HP-UX a UNIX
Box) after doing this the ERROR

Could not connect: ERROR OCIEnvInit was encountered.

So would request you to kindly help me out to permanently fix this problem
with an optimal solution.

please find below the perl configurations pertaining to my environment:-
============================================================
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1
uname='hp-ux chile b.11.00 a 9000778 2001030925 two-user license '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/gnu/include'
ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include -I/opt/gnu/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+z', lddlflags='-b -L/usr/local/lib -L/opt/gnu/lib'


Characteristics of this binary (from libperl):
Built under hpux
Compiled at Feb 4 2000 08:49:53
@INC:
/opt/perl5.005_03/lib/5.00503/PA-RISC1.1
/opt/perl5.005_03/lib/5.00503
/opt/perl5.005_03/lib/site_perl/5.005/PA-RISC1.1
/opt/perl5.005_03/lib/site_perl/5.005
============================================================ ================
==

Thanks in advance for your compliance in this regard.

Regards,
Sundeep Maini