ID:               30127
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to