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" <[EMAIL PROTECTED]>
To: <dbi-users@perl.org>
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

Reply via email to