ID: 30127
User updated by: andreys at uniqinfo dot ru
Reported By: andreys at uniqinfo dot ru
-Status: Feedback
+Status: Open
Bug Type: OCI8 related
Operating System: Windows 2000 SP4
PHP Version: 5.0.1
New Comment:
Oracle Server EE with client 8.1.7.4
Apache 2.0.50
Windows 2000 Pro SP4
Previous Comments:
------------------------------------------------------------------------
[2004-09-17 10:24:36] [EMAIL PROTECTED]
What's your Oracle, Apache, Oracle Client version?
What OS do you use?
------------------------------------------------------------------------
[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