By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,611 Members | 2,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,611 IT Pros & Developers. It's quick & easy.

Protocol specific error code(s): "*", "*", "0".

P: n/a
I am using the ibm_db2 PECL drive in PHP for connecting to or DB2
database. I created a persistent connection and things seemed to work
fine at first. However, after a few tests / connections, I started to
get this error when running through my queries: [IBM][CLI Driver]
SQL30081N A communication error has been detected. Communication
protocol being used: "TCP/IP". Communication API being used:
"SOCKETS". Location where the error was detected: "10.26.243.61".
Communication function detecting the error: "recv". Protocol specific
error code(s): "*", "*", "0". SQLSTATE=08001 SQLCODE=-30081 Any help
would be great, thanks!

Feb 13 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ray
On Feb 13, 8:44 am, "Brent Halsey" <brent.hal...@gmail.comwrote:
I am using the ibm_db2 PECL drive in PHP for connecting to or DB2
database. I created a persistent connection and things seemed to work
fine at first. However, after a few tests / connections, I started to
get this error when running through my queries: [IBM][CLI Driver]
SQL30081N A communication error has been detected. Communication
protocol being used: "TCP/IP". Communication API being used:
"SOCKETS". Location where the error was detected: "10.26.243.61".
Communication function detecting the error: "recv". Protocol specific
error code(s): "*", "*", "0". SQLSTATE=08001 SQLCODE=-30081 Any help
would be great, thanks!
The most likely problem is that you are not closing connections and
you are eventually exceeding 'maxagents' on the database.

Feb 13 '07 #2

P: n/a
On Feb 13, 10:41 am, "Ray" <raymmailbox-n...@yahoo.comwrote:
On Feb 13, 8:44 am, "Brent Halsey" <brent.hal...@gmail.comwrote:
I am using the ibm_db2 PECL drive in PHP for connecting to or DB2
database. I created a persistent connection and things seemed to work
fine at first. However, after a few tests / connections, I started to
get this error when running through my queries: [IBM][CLI Driver]
SQL30081N A communication error has been detected. Communication
protocol being used: "TCP/IP". Communication API being used:
"SOCKETS". Location where the error was detected: "10.26.243.61".
Communication function detecting the error: "recv". Protocol specific
error code(s): "*", "*", "0". SQLSTATE=08001 SQLCODE=-30081 Any help
would be great, thanks!

The most likely problem is that you are not closing connections and
you are eventually exceeding 'maxagents' on the database.
Thank you!!!

Feb 13 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.