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 > Loosing the DB connection on compilation of the package

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-12, 04:13
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
Thumbs up Loosing the DB connection on compilation of the package

I have 2 environments DEV and TEST both are on 2 different linux boxes.
The moment i compile a package i am loosing the database connection,it does not give any error but the database gets stopped.
The same package gets compiled in the DEV.
Please help.

DB2 version: 9.7.4
OS : linux
Reply With Quote
  #2 (permalink)  
Old 01-02-12, 04:24
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
can you be more specific
: compile a package ?? you mean create a stored proc - external package ???
: db gets stopped ?? you mean the instance ?? check diag.log
publish more details so we can try to understand what is going on
__________________
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 01-02-12, 04:33
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
I am trying to compile a package which has a number or procedures in it.
The moment i compile the package on TEST the instance gets stopped, but the same package gets properly compiled and works good in the DEV
Reply With Quote
  #4 (permalink)  
Old 01-02-12, 04:44
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
so :
how do you compile ???
what is indicated in diag.log - do you need to execute db2start ?
__________________
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
  #5 (permalink)  
Old 01-02-12, 07:26
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
Thumbs up

i compile through the db2 command prompt after issuing db2 -td!

yes i need to execute db2start command because the connection will be lost with out any errors.
Reply With Quote
  #6 (permalink)  
Old 01-02-12, 07:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
check diag.log for errors at that time and see what it indicates as hint..
__________________
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
  #7 (permalink)  
Old 01-02-12, 08:58
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
Thumbs up

an FODC_TRAP file is getting created and looks like there is some crash recovery process taking place..

will FODC process take place because of any mistakes done during installation or setting up the instance and the schema???

Last edited by divya.s; 01-02-12 at 09:59.
Reply With Quote
  #8 (permalink)  
Old 01-03-12, 02:13
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
maybe - should be analyzed .. pd/psi
have a look at messages before the trap to identify the cause of the trap..
__________________
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
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