SQL1397N failed to log on to the DB2 Service

Source: Internet
Author: User

The following command was run in the db2 command window today:

Db2stop

Then, when we enter db2start, an error is returned !!! "SQL1397N failed to log on to the DB2 service"

Why is the Instance suspended after it is started?

I checked the information on the Internet and said that the password has been changed by the db2admin user. Let's use the following method.

1. Start-> Control Panel-> Administrative Tools-> Services 2. Right-click several services in DB2, choose Properties-> log on, and change the user's password to "new password". login? I have recently changed my password! Try it first! Find one of the db2 services. After completing these two services, start the "db2 --- db2copy1 -- db2" service and report an error !!!! The command db2start is useless and cannot be started. I suddenly thought that I disabled the db2admin account yesterday due to a windows login problem. Why? Find the db2admin account and enable it! Then, use another method to open the "db2 --- db2copy1 -- db2" service. properties ---> log on to the user and select "Local SYSTEM account" for the application. Right-click "db2 --- db2copy1 -- db2" and start! ------ Success !!!! Return to the Command window and run db2stop --- successfuldb2start --- successful!

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.