php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13250 OCISessionBegin: ORA-03120: two-task conversion
Submitted: 2001-09-11 11:31 UTC Modified: 2002-04-13 08:54 UTC
From: branko dot slivaric at amphinicy dot hr Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.0.6 OS: Solaris 8 x86
Private report: No CVE-ID: None
 [2001-09-11 11:31 UTC] branko dot slivaric at amphinicy dot hr
When trying to connect to Oracle database from Solaris 8 on x86 station to Solaris 8 on SPARC station, OCILogon fails with message:
ORA-03120: two-task conversion routine: integer overflow

It seems that this bug was already reported under
http://www.php.net/bugs.php?id=6456, but was close 'cause 
of missing feedback.

Code works fine when connecting to local database, also to remote database on same platform x86, and it works also
fine to connect to "nrst.world" database from sqlplus and tnsping works.

Solaris 8 (x86)
Apache 1.3.12
Oracle  8.1.5.0.0 
PHP 4.0.2

code:
this->conn = ocilogon("xxx","xxx","nrst.world");

error message:
OCIDebug: _oci_open_server new conn=0 dname=nrst.world

Warning: OCISessionBegin: ORA-03120: two-task conversion
routine: integer overflow in /opt/nrs/customerall.class on line 54
OCIDebug: _oci_open_session: FAILURE -> CLEANUP called
OCIDebug: START _oci_close_session: logging-off sess=0
OCIDebug: _oci_close_session: logging-off DEAD session
OCIDebug: oci_do_connect: FAILURE -> CLEANUP called
OCIDebug: START _oci_conn_list_dtor: id=0
OCIDebug: END _oci_conn_list_dtor: id=0



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:54 UTC] thies@php.net
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php

If you are still able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".


 [2004-04-29 15:48 UTC] donotsendmemail at gmx dot net
in my case it were because of some missing variables in the environment.
try something like this:

export ORACLE_BASE=/orabase
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export NLS_LANG=GERMAN_GERMANY.WE8ISO8859P15
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export PATH=$PATH:$ORACLE_HOME/bin
export TNS_ADMIN=/orabase/admin/network
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC