ERROR : Could not connect: ERROR OCIEnvInit

------=_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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D

Thanks in advance for your compliance in this regard.

Regards,
Sundeep Maini
------=_NextPart_000_0027_01C68FDF.D230F2A0--
0
mainisundeep
6/14/2006 12:54:49 PM
perl.dbi.users 11082 articles. 1 followers. Follow

1 Replies
1217 Views

Similar Articles

[PageSpeed] 5

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" <mainisundeep@hotmail.com>
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

0
scoles
6/16/2006 11:18:07 AM
Reply:

Similar Artilces:

errors errors errors..
Name: harun Email: harunbjk1903hrnatgmaildotcom Product: Firefox Summary: errors errors errors.. Comments: first of all when i launch firefox (3) i cant enter websites via writing.. for example when I type "google" and then press ctrl and enter, it crashes.. and i take lots of error reports. firefox 2 was better.. see you again , harun Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9) Gecko/2008052906 Firefox/3.0 From URL: http://hendrix.mozilla.org/ ...

error error error
These are the 2 new errors i am getting now:   1).  Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.Source Error: Line 53: ...

Error, Error and more errors
Okay, all I wanted to do was test this app out and it has been a nightmare. 1.) Didn't install the sql database. I had to manually install it. 2.) I get errors when trying to add a picture to an album. "Procedure or function ngUpdatePicture has too many arguments specified" Any ideas? I've gotten more errors than this, but there is no use in bitchin. Are you using the v1.6.1 installer? Also, did you select to install the SQL Server db and give it a valid admin login? What were some of the error messages? Did you have an existing DB from a previous install? ...

[connect error] Interbase Connect Error
In ODBC connect test is successfully.. but in PowerBuilder 6.5 Database Profiles is displayed error message.. Error Message is SQLSTATE = 40001 [Easysoft][Interbase]Dynamic SQL Error, SQL error code = -91, feature is not supported What means this message? Now I use PowerBuilder 6.5 & Interbase 5.6... Just I choose - Profile Name - Data Source --> This is ODBC DNS..(user DNS) - User ID - Password Does it need more? ...

Error error error, help me
Hello, How do I populate a drop down list in asp.net from a database? I have a block of vbscript code that does the server side coding for it. My code is as follows.. <script language="vb" runat="server"> Dim objConn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\data\employee.mdb;") Dim Sql, valEmp As String Dim objDREmp as OleDbDataReader Sub FillEmployeeName(sender As Object, e As System.EventArgs) Sql = "select * from [Employee]" Dim objCommand As Ole...

error after error
Hello, All I seem to be getting an error I don't quite understand. Can someone point out why I'm geeting this error? The first error states: unquoted string "subroutines" may clash with future reserved word at NPtest.pl line 6. after I quote "subroutines" I get an error that states: syntax error at NPtest.pl line 6, near "require" Execution of NPtest.pl aborted due to compilation errors. Heres the first script: #!/usr/bin/perl # NEWPACKAGE.pl package NEWPACKAGE sub printing1 {print "duh duh duh.\n&quo...

error error !
Full Message: ERROR{} Additional Information: None Severity: Error Date: November 14, 2007 11:42:35 AM Acknowledged Date: None Source: /Devices/Workstations/b2305dsyldes-58 Message ID: ERROR Probable Cause URL: None Log ID: ac4f2a9dbea6435421f4d9f92db8e971 Related Objects: None What does this means ? Marc-Andre, no idea, maybe a little more background information would help? -- Shaun Pond well, nothing special to say, some DLU policy, 1 remote policy, that's about it.......... Shaun Pond wrote: > Marc-Andre, > > no idea, maybe a little m...

Error or not error?
Hi gurus, hope you can help me with this problem: OS: Solaris 7 ASE: 12.5 I recently got some strange error messages when doing dbcc tablealloc with fix: *************************************************************** TABLE: hence_meaning OBJID = 100192376 INDID=0 FIRST=1817 ROOT=401935 SORT=0 INDID=2 FIRST=2882 ROOT=2881 SORT=1 Table Corrupt: Attempted to get page 330126, object 100192376; got page 0, object 0. Table Corrupt: Attempted to get page 272316, object 100192376; got page 0, object 0. Table Corrupt: Attempted to get page 322961, object 100192376; got p...

DBI->connect failed: ERROR OCIEnvInit
--retimiled-emim-mijooneldraneldeen Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77A81.BB005B53" This is a multi-part message in MIME format. ------_=_NextPart_001_01C77A81.BB005B53 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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...

Connection error
We have see the message: Connection error - An error occurred during the TCPIP connection attempt twice now. The first time was a laptop that had not been used in a while. Now we are seeing the same message while trying to connect to a computer where ASA has just been installed. brian Brian Howard wrote: > We have see the message: > > Connection error - An error occurred during the TCPIP > connection attempt > > twice now. The first time was a laptop that had not been > used in a while. Now we are seeing the same message while > trying to connec...

DBI->connect(AVSEDWT) failed: ERROR OCIEnvInit
------=_NextPart_000_0004_01C325F9.E478C3F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit We have shifted from Oracle 8i to Oracle 9i on Solaris. Perl DBI was working fine. While shifted to Oracle 9i, Perl DBI is giving error as mentioned in the subject Any work around regarding any update and settings required is urgently required. Thanks and Regards, Ahsen ------=_NextPart_000_0004_01C325F9.E478C3F0-- ...

Internal connection fatal error and other random db connection errors
Hi guys!My newly built website has just recently went online,but sometimes I face errors (randomly) like these: System.IndexOutOfRangeException: There is no row at position 0.System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.System.IndexOutOfRangeException: Cannot find table 0System.NullReferenceException: Object reference not set to an instance of an object.System.InvalidOperationException: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.System.InvalidOper...

DBI connect('','/',...) failed: ERROR OCIEnvInit
All, I am getting the above error when attempting to connect to anOracle 9.2 = instance (9.2.0.4.0). This instance was recently upgraded from Oracle = 8.1.7.4.0 perl -V output: Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=3Dlinux, osvers=3D2.4.21-169-smp, = archname=3Di686-linux-thread-multi uname=3D'linux dbprod01bldr 2.4.21-169-smp #1 smp fri jan 2 19:10:04 = utc 2004 i686 unknown config_args=3D'' hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine usethreads=3Ddefine use5005threads=3Dund...

Error: Unable to write to the 'http' network connection. No error or unknown error.
ASA 8.0.2.4332 Any idea what could cause the error? The error occurs after about 11 minutes of ML server activity (see log below). Following are some of the parameters I'm using along with an excerpt from the ML server output log (mlserver.mls). I'm trying to synchronize over http using port 2439. Please let me know if you need any additional info. Thanks in advance for any assistance, Sacha redirector.config entries: ###### # Note:The consolidated database and the synchronization server reside on the same machine ###### SLEEP=1800 ML_CLIENT_TIMEOUT=1800 RED...

Web resources about - ERROR : Could not connect: ERROR OCIEnvInit - perl.dbi.users

Resources last updated: 12/31/2015 10:22:07 AM