#23585 [NEW]: TNS 12154 sometimes occuring
| From: | flop dot m at usa dot net | Date: | Sun, 11 May 2003 21:52:25 +0000 |
| Subject: | #23585 [NEW]: TNS 12154 sometimes occuring | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39461@lists.php.net to get a copy of this message | ||
From: flop dot m at usa dot net
Operating system: Windows 2000
PHP version: 4.3.1
PHP Bug Type: OCI8 related
Bug description: TNS 12154 sometimes occuring
Hello,
Same as bug #19517
I'm having the same trouble (not always, but often - when server is
receiving lots of user queries).
TNS-12154 when executing OCILogon method.
It seems that an error occurs at the same time on the Oracle side, at
least, in the sqlnet.log, some errors is logged, and I could not find the
description of that error on Oracle's web site.
Thus, I changed my OCILogon from
OCILogon('user', 'pass', 'tns alias');
to
$tns = <the actual line describing my listener from the tnsnames.ora
file>;
OCILogon('user', 'pass', $tns);
and bingo, no more crashes ;)
My guess is when PHP sends too many lookups in a short time, something in
the oci call crashs. So, is it in PHP side, or Oracle side, I don't know.
I hope this will help to pinpoint/correct that pretty much annoying bug.
--
Edit bug report at http://bugs.php.net/?id=23585&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23585&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23585&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23585&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23585&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23585&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23585&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23585&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23585&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23585&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23585&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23585&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23585&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23585&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23585&r=gnused