Solve the Problem of errors after modifying the backup parameters of the DB2 database

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

Today, I tried to modify a backup parameter LOGARCHMETH1 of DB2 and changed it to USEREXIT.

After the change, exit, and then fail to connect to the database. Restart the database and report the following error:

D: Documents and SettingsAdministrator> db2 connect to sample

SQL1116N cannot connect to or activate the Database "SAMPLE" because of backup pending ".

SQLSTATE = 57019

After checking some information, I know that I want to make a backup immediately:

D: Documents and SettingsAdministrator> db2 backup db sample

The backup is successful. The time stamp of this backup image is: 20080604112950

Test again and solve the problem:

D: Documents and SettingsAdministrator> db2 connect to sample

Database connection information

Database Server = DB2/NT 9.5.0

SQL authorization id = ADMINIST...

Local Database alias = SAMPLE

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.