dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: UNIX
Expertise: Advanced
Nov 7, 2005

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Resolve DB2 Instance Creation Failure on UNIX

On AIX, and UNIX in general, DB2 instance creation fails with vague errors:

Update DBM cfg SYSADM_GROUP errcode = 8
DBI1281E The database manager configuration file could not be 
          initialized.  

Explanation: 

An error occurred when attempting to initialize the database 
manager configuration file. A DB2 instance could not be created 
or migrated.  
One of the main reasons for DB2 instance creation to fail is that it is unable to resolve the hostname of the machine. Under the covers, DB2 instance creation would create a TCP/IP Service. It fails to do so if the hostname of the machine can't be resolved. But instead of throwing an understandable message informing the user the same, it throws the above vague/ambiguous error.

So the tip here is to run the command host and make sure the host is resolved before creating a DB2 instance.

For new UNIX users, the below info shows how to run the command host.

  • Command: host 'short hostname of the machine'
  • Successful Result : the host should be resolved to an IP.
  • Failure Case: If host can't be found, make sure the file /etc/resolv.conf exists with all the needed info.

R. Vijaya
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date