Bug #2132 Updated: See below (ORA 3106 fatal two-task communication protocol error)
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:38:45 +0000 |
| Subject: | Bug #2132 Updated: See below (ORA 3106 fatal two-task communication protocol error) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10668@lists.php.net to get a copy of this message | ||
ID: 2132
Updated by: sander@php.net
Reported By: bio-linz@eunet.at
-Status: Open
+Status: Bogus
Bug Type: Oracle related
Operating System: Linux RH5.2 with kernel 2.2.7
PHP Version: 3.0.12
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[1999-08-23 11:03:12] bio-linz@eunet.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2132&edit=1