修改日志模式报SQLSTATE=57019的问题
 
总结一下 
DB2 默认为循环归档,根据应用要求调整为日志归档模式 
  www.2cto.com  
============================================= 
修改之后启动时报错 
SQL1116N  A connection to or activation of database "XXX" cannot be made 
because of BACKUP PENDING.  SQLSTATE=57019 
============================================= 
 
解决步骤: 
db2 connect to XXX 
db2 force application all 
  www.2cto.com  
db2 "UPDATE DB CFG FOR XXX  USING LOGARCHMETH1  'Disk:/db2log/db2logar'" 
 
db2 "backup db XXX to /db2log/backup/dpf_1,/db2log/backup/dpf_2,/db2log/backup/dpf_3,/db2log/backup/dpf_4" 
 
db2stop 
 
db2start