If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > CLI0108E SQLSTATE 40003 , What is it ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-22-09, 08:11
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
CLI0108E SQLSTATE 40003 , What is it ?

Hi Guys,

One of our application returned errror CLI0108E sqlstate 40003.

Definitely, it means Communication link failure and sqlstate indicates that link was broken while execution was in progress and DB2 did not get full SQL statement text.

But in db2diag.log I found only following error

Code:
2009-03-21-20.52.41.094000-240 E59304532F450      LEVEL: Error (OS)
PID     : 2364                 TID  : 11644       PROC : db2syscs.exe
INSTANCE: DB2                  NODE : 000         DB   : TRIUMPH
APPHDL  : 0-515                APPID: GA07022A.E210.020742004041
FUNCTION: DB2 UDB, oper system services, sqloReadFileInterrupt, probe:4
CALLED  : OS, -, unspecified_system_function
OSERR   : 121 "The semaphore timeout period has expired."
Can some one help me interpret this error, cause this happened about 50 times in period of an hour.

DB2 v 8.1.5 windows server 2003

Thanks
DBFinder
Reply With Quote
  #2 (permalink)  
Old 03-22-09, 10:26
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
in the db2ini you can specify no timeout (value=0) conntimeout
have a look in doc on db2cli parameters
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 03-22-09, 11:09
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks,

But I want to understand the diaglog entry.

It says OSERR: ". . . . . ."

Is this error from windows or DB2 ?

The database is running for months. What might have happened in these 45 minutes.


Thanks Again,
DBFinder
Reply With Quote
  #4 (permalink)  
Old 03-23-09, 02:26
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
sqloReadFileInterrupt means it is an OS level call such as opening or closing of files.

Also A semaphore timeout occurs when your drive loses communication with the rest of your system. Are your drives in SAN or in network by any chance???
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #5 (permalink)  
Old 03-23-09, 11:34
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks ,

I have forwarded this issue to System administrators.

They are going to study it.

DBFinder
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On