Introduction to IBM Tivoli Directory Server 6.0 Debugging Excerpt taken from presentation given on April 10, 2007Explore methods to debug a failed DB2 database creation
Introduction to IBM Tivoli Directory Server 6.0 Debugging Excerpt taken from presentation given on April 10, 2007 Explore methods to debug a failed DB2 database creation
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation Failing db configuration: We can find out why most database configurations fail by taking a trace of the failing configuration via the idscfgdb command. idscfgdb -I instancename [-w dbadminpw] [-a dbadminid -t dbname -l dblocation [-x]] [-f configfile] [-d debuglevel] [-b outputfile] [-q] [-n]] | -v | -? So again, using the previous example: #ldtrc on #idscfgdb -I nativein -a nativein -w ******** -t nativein -l /home/nativein -d 65535 -b /tmp/dbg.out
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation On AIX you may run into the following issue when attempting to create and configure your database: # idscfgdb -I ismpinst -w ismpinst -a ismpinst -t ismpinst -l /home/ismpinst GLPCDB037W The specified directory, '/home/ismpinst', does not have read, write, and execute permissions for the primary group 'db2admin' of directory server instance owner 'ismpinst'. You have chosen to perform the following actions: GLPCDB023I Database 'ismpinst' will be configured. GLPCDB024I Database 'ismpinst' will be created at '/home/ismpinst' Do you want to.... (1) Continue with the above actions, or (2) Exit without making any changes:1 GLPCDB035I Adding database 'ismpinst' to directory server instance: 'ismpinst'. GLPCTL017I Cataloging database instance node: 'ismpinst'. GLPCTL018I Cataloged database instance node: 'ismpinst'. GLPCTL008I Starting database manager for database instance: 'ismpinst'. exec(): 0509-036 Cannot load program db2start because of the following errors: 0509-130 Symbol resolution failed for /usr/lib/libc.a[aio_64.o] because: 0509-136 Symbol kaio_rdwr64 (number 0) is not exported from dependent module /unix.
.
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation Now we can use the ITDS support site to search for information related to these aio failure messages.
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation The results page will display all hits on your search text. If there are a lot of results you can narrow down the results by specifying additional search terms. In this example though the first search result seems most applicable. Click on the title to view the document.
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation Technote continued on next slide
.
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation
Basic Debugging Failed DB creation The technote continues on to explain how to enable AIO (Asynchronous I/O) to successfully create database. To view the full contents of the technote: http://www-1.ibm.com/support/docview.wss?uid=swg21256635 There is also additional information regarding Asynchronous I/O in our ITDS version 6.0 Problem Determination Guide. Once Asynchronous I/O is correctly enable the database configuration completes successfully!
Copyright and trademark information
Copyright and trademark information © Copyright IBM Corporation 2000 - 2007. All rights reserved. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. IBM web site pages may contain other proprietary notices and copyright information which should be observed. IBM trademarks http://www.ibm.com/legal/copytrade.shtml#ibm Fair use guidelines for use and reference of IBM trademarks http://www.ibm.com/legal/copytrade.shtml#fairuse General rules for proper reference to IBM product names http://www.ibm.com/legal/copytrade.shtml#general Special attributions IBM, the IBM logo and DB2 are trademarks of International Business Machines Corporation in the United States, other countries, or both. MMX, Pentium, and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. Microsoft and Windows NT are trademarks of Microsoft Corporation in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product or service names may be trademarks or service marks of others.