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 > db2stop force hangs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-08, 10:40
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
db2stop force hangs

Are there any known issues with db2stop on Solaris 10? The log files have been archived successfully.

njs95d-0004:/tmp> db2level
DB21085I Instance "db2inst4" uses "64" bits and DB2 code release "SQL08028"
with level identifier "03090106".
Informational tokens are "DB2 v8.1.0.136", "s070720", "U810953", and FixPak
"15".
Product is installed at "/opt/IBM/db2/V8.1".

MODEL: SUNW,SPARC-Enterprise-T5220
SunOS RELEASE: 5.10
Reply With Quote
  #2 (permalink)  
Old 12-16-08, 10:44
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
How long is it hanging? Is there anything in db2diag.log? What if you do "force applications all" before the db2stop? How long does that take? What transactions are running when you do the force? How big are they?

Andy
Reply With Quote
  #3 (permalink)  
Old 12-16-08, 10:56
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
How long is it hanging? - Until we do a db2_kill. It has hung for several hours.

Is there anything in db2diag.log? - No errors, the last thing I see is that a log file was archived successfully.

What if you do "force applications all" before the db2stop? We do.
How long does that take? Seconds

What transactions are running when you do the force? Its a test environment with little activity.
How big are they?
Reply With Quote
  #4 (permalink)  
Old 12-16-08, 14:05
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by redwolf
How long is it hanging? - Until we do a db2_kill. It has hung for several hours.

Is there anything in db2diag.log? - No errors, the last thing I see is that a log file was archived successfully.

What if you do "force applications all" before the db2stop? We do.
How long does that take? Seconds

What transactions are running when you do the force? Its a test environment with little activity.
How big are they?
Is there anything in the db2diag.log about the db2stop being issued?

After you do the "force all", do you check to make sure that they are all gone before you issue db2stop? Do you still issue db2stop force? If so try it without the force.

Andy
Reply With Quote
  #5 (permalink)  
Old 12-16-08, 15:38
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Please try following

db2set db2comm=
db2 force applications all
db2 deactivate db <dbname>


before db2stop force.

It seemed to work on one of our mirror database. we are having same issues with db2 V8 servers.

DBFinder
Reply With Quote
  #6 (permalink)  
Old 12-16-08, 15:52
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Sometimes DB2 will hang, in which case you can issue the ipclean command to kill all Db2 processes. Works on AIX and Linux, so I assume it works on Solaris.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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