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 > Error in libdb2.so file on HP-UX 11.31

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-09, 02:27
DB2 D-B-A DB2 D-B-A is offline
Registered User
 
Join Date: Sep 2009
Location: Mumbai,India
Posts: 16
Exclamation Error in libdb2.so file on HP-UX 11.31

Hi,
We have installed DB2 V9.7 on HP-UX 11.31 server. We are trying to prepare a COBOL runtime utility 'rtsdb2' that e use to run our COBOL(with embedded sql) gnts. Now when we compiled the COBOL programs,the embedded sql programs gt replaced with function calls like sqlgstrt,sqlgoptions etc. To access these functions we had to use the library libdb2.so. But we are unable to prepare rtsdb2 successfully . it gives the error
Execution Error : file ''
error code : 114, pc=0, call=-1. seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)
Now i gave the command ld /opt/IBM/db2/V9.7/lib64/libdb2.so on my HP-UX server and it gennerated a a.out file. If i try to execute this file,it gives me Memory Fault(coredump) error . Can any1 shed some light on this ? We need to sort this issue urgently. Thanks in advance ....
__________________
Shuchi Mishra
DB2 9 certified DBA for LUW
Reply With Quote
  #2 (permalink)  
Old 11-13-09, 05:51
sawangupta sawangupta is offline
Registered User
 
Join Date: Nov 2009
Location: Bangalore
Posts: 25
Can you please provide the call stack ? Run the program via a debugger (gdb).

Regards,
Sawan Gupta
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