Bug #2132: See below (ORA 3106 fatal two-task communication protocol error)

From: Date: Mon, 23 Aug 1999 15:03:12 +0000
Subject: Bug #2132: See below (ORA 3106 fatal two-task communication protocol error)
Groups: php.dev 
Request: Send a blank email to php-dev+get-10102@lists.php.net to get a copy of this message
From: bio-linz@eunet.at Operating system: Linux RH5.2 with kernel 2.2.7 PHP version: 3.0.12 PHP Bug Type: Oracle related Bug description: See below (ORA 3106 fatal two-task communication protocol error) 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

« previous php.dev (#10102) next »