#30127 [Opn->Fbk]: lost oracle connection. need restart apache.
| From: | tony2001@php.net | Date: | Fri, 17 Sep 2004 08:24:37 +0000 |
| Subject: | #30127 [Opn->Fbk]: lost oracle connection. need restart apache. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66335@lists.php.net to get a copy of this message | ||
ID: 30127
Updated by: tony2001@php.net
Reported By: andreys at uniqinfo dot ru
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Windows 2000 SP4
PHP Version: 5.0.1
New Comment:
What's your Oracle, Apache, Oracle Client version?
What OS do you use?
Previous Comments:
------------------------------------------------------------------------
[2004-09-17 09:37:04] andreys at uniqinfo dot ru
Description:
------------
Periodically, there is a mistake at which it is impossible to establish
connection with Oracle.
[client 192.168.111.99] PHP Warning: oci_new_connect() [<a
href='function.oci-new-connect'>functi
on.oci-new-connect</a>]: OCISessionBegin: ORA-24327: need explicit
attach before authenticating a
user\n in D:\\Apache\\htdocs\\D.php on line 7
After restart Apache the problem for a while disappears.
Reproduce code:
---------------
<?php
$id = $_GET['s'];
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$dbcon = oci_new_connect('XXXXX', 'XXXXXX', 'XXX');
if (!$dbcon) {
error_log('Oracle database not available!');
exit;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30127&edit=1