当前位置:数据库 > SQLServer >>

DB2修改日志模式报SQLSTATE=57019的问题

DB2修改日志模式报SQLSTATE=57019的问题
 
总结一下 
DB2 默认为循环归档,根据应用要求调整为日志归档模式 
  www.zzzyk.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.zzzyk.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 
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,