#23169 [Fbk->Opn]: SQLCODE=-1802 Connection name in use.

From: Date: Wed, 23 Apr 2003 15:04:17 +0000
Subject: #23169 [Fbk->Opn]: SQLCODE=-1802 Connection name in use.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38215@lists.php.net to get a copy of this message
ID: 23169 User updated by: varkab at yahoo dot com Reported By: varkab at yahoo dot com -Status: Feedback +Status: Open Bug Type: Informix related Operating System: SunOS 5.8 PHP Version: 4.3.1 New Comment: Nothing changed, except while configure get: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for member fd in BUFF *... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Caudium support... no checking for CLI build... yes checking for embedded SAPI library support... no checking for Zeus ISAPI support... no checking for NSAPI support... //mySERVERpath checking for NSAPI include files... iPlanet/4.x style checking //mySERVERpath/plugins/include/nsapi.h usability... no checking //mySERVERpath/plugins/include/nsapi.h presence... yes configure: WARNING: //mySERVERpath/plugins/include/nsapi.h: present but cannot be compiled configure: WARNING: //mySERVERpath/plugins/include/nsapi.h: check for missing prerequisite headers? configure: WARNING: //mySERVERpath/plugins/include/nsapi.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for //mySERVERpath/plugins/include/nsapi.h... yes checking for PHTTPD support... no checking for Pi3Web support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for webjames... no checking for chosen SAPI module... nsapi TIA, Var. Previous Comments: ------------------------------------------------------------------------ [2003-04-23 03:37:48] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-04-14 08:05:23] varkab at yahoo dot com Additional information: SunOS 5.8, Web Server iPlanet4.1, DB-Informix 9. Problem: After restart WebServer the first connection to DB always is fine and allow get data, but after refresh or open new connection (in spite of closed previous or not) mostly got this error: ---SQLCODE=-1802 Connection name in use--- and only occasional(rare)connection after continuously trying to refresh button in browser. I tried with Allow and prevent persistent links in php.ini and ifx_connect() and ifx_pconnect(). When I do connect and retrieve data from command line, no problem, the connection always is fine. Any suggestion? Thanks, Var P.S. When compile I get these warnings: -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DIFX_THREAD -I/export/home/fb/php-4.3.1/TSRM -g -O2 -pthreads -DZTS -prefer-pic -c /export/home/fb/php-4.3.1/sapi/nsapi/nsapi.c -o sapi/nsapi/nsapi.lo /export/home/fb/php-4.3.1/sapi/nsapi/nsapi.c: In function `nsapi_request_dtor': /export/home/fb/php-4.3.1/sapi/nsapi/nsapi.c:489: warning: passing arg 1 of `nsapi_free' discards qualifiers from pointer target type /export/home/fb/php-4.3.1/sapi/nsapi/nsapi.c:491: warning: passing arg 1 of `nsapi_free' discards qualifiers from pointer target type /bin/sh /export/home/fb/php-4.3.1/libtool --silent --preserve-dup-deps --mode=compile /export/home/fb/php-4.3.1/meta_ccld ------------------------------------------------------------------------ [2003-04-11 10:15:39] varkab at yahoo dot com Additional information: SunOS 5.8, Web Server iPlanet4.1, DB-Informix 9. Problem: After restart WebServer the first connection always is fine and get some data, after refresh or open new connection (in spite of closed previous or not) mostly got this error: ---SQLCODE=-1802 Connection name in use--- and only occasional (rare)connection continuously trying to refresh button in browser. I tried with Allow and prevent persistent links in php.ini and ifx_connect() and ifx_pconnect(). When I do connect and retrieve data from command line, no problem, the connection always is fine. Any suggestion? Thanks, Var ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23169&edit=1

« previous php.bugs (#38215) next »