Summary of problems encountered when starting the tds ldap Server

Source: Internet
Author: User
Tags db2 ldap

I encountered some problems when I started the tds ldap server. I am used to using Oracle databases, but I am unfamiliar with DB2 databases. I still cannot understand these problems. Fortunately, I have solved them now, the problems are listed as follows:

Run the following command to start the tds ldap server:./ibmslapd-I ldapdb2:

From the preceding execution results, we can see two errors:

1. sql1032n has not issued a command to start the Database Manager. Sqlstate = 57019

2. glprdb001e error code-L from function: "sqlconnect" ldapdb2b

Problem 1:

Question 1 refer to the original article link:Http://blog.csdn.net/pursue168/article/details/6536386

Problem 1 found in the night: Because DB2 is not started, you need to execute the db2start command and encounter the following error when executing the db2start command:

Sql6048n a communication error occurred during start or stop Database Manager processing.
Sql1032n no start Database Manager Command was issued. sqlstate = 57019

We need to modify the db2nodes. cfg file or hosts file in DB2.

Let's take a look at the content of the db2nodes. cfg and hosts files?
VI db2nodes. cfg
 
VI/etc/hosts
 

Obviously, the localhost in db2nodes. cfg is not defined in the hosts file.
So we need to change the localhost in db2nodes. cfg to the linux-vm23.localdomain In the hosts file
 

Next, start DB2 normally!

 

 

 

Run the command again to start the tds ldap server:./ibmslapd-I ldapdb2. The execution result is as follows:

We found that problem 1 has been solved, and now we are trying our best to solve problem 2:

Problem 2 solution reference link:Http://www-01.ibm.com/support/docview.wss? TCSS = newsletter & uid = swg31677253

Run the command [[email protected] bin] $ DB2 list dB directory. The result is as follows:

However, if you run [[email protected] bin] $ DB2 list dB directory in the UAT environment, the execution result is as follows:

Note: (The UAT environment starts normally)

Make the following changes to the UAT environment:

Run the command again: [[email protected] bin] $ DB2 list dB directory. The result is as follows:

Restart the database:

DB2 Force applications all;
Db2stop force;
Ipclean;

Db2start;

Run the command again to start the tds ldap server:./ibmslapd-I ldapdb2. The execution result is as follows:

From the printed log, we can see that the tds ldap service has been started successfully!

 

Summary of problems encountered when starting the tds ldap Server

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.