SQL state = 57019 is reported when DB2 modifies the log mode.

Source: Internet
Author: User
Tags db2 connect db2 connect to

SQL state = 57019 is reported when DB2 modifies the log mode. To sum up, DB2 uses circular archiving by default, change to the log archiving mode according to Application Requirements: www.2cto.com ============================ ================== SQL1116N A connection to or activation of database "XXX" cannot be made because of backup pending error is reported when the modification is started. SQLSTATE = 57019 ========================================== ======== solution steps: 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.