php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2132 See below (ORA 3106 fatal two-task communication protocol error)
Submitted: 1999-08-23 11:03 UTC Modified: 2006-07-17 08:43 UTC
From: bio-linz at eunet dot at Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 3.0.12 OS: Linux RH5.2 with kernel 2.2.7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bio-linz at eunet dot at
New email:
PHP Version: OS:

 

 [1999-08-23 11:03 UTC] bio-linz at eunet dot at
the php script:
<?php
    putenv("ORACLE_HOME=/home/oracle/.......");
    putenv("ORACLE_SID=GAZZ");

    $c1=ocilogon("gast", "gast123");
    ----------------------
This line produces the bug -> ORA 3106 fatal two-task communication 
protocol error
.
.
.
?>

the listener, tnsnames etc works correct as I am able to connect to
the instance via sqlplus (I have multible instances on the server).

I have traced the apache server task and found that php is looking for
the file tnsnav.ora. shouldnt this be tnsnames.ora ?

The compile of apache and php3 was ok, no error encountered.
The php module is compiled with the oracle home path.
The php3.ini file was not changed in any way.

removing the ORACLE_SID variable and rewriting the oracle
login with
$c1 = ocilogon("gast", "gast123", "gazz");
produces the error: ORA12154 TNS could not resolve service name.

Removing the ORACLE_HOME variable from the script produces the
error oci8_open_server: Error while trying to retrive text for ORA 12154.

The strange thing is, that first the script worked for some time, after
restarting apache the error occured.

/mike

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:38 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are 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".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC