Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db2 eee 7.2 on aix 5.1

Status
Not open for further replies.

andysys

IS-IT--Management
May 20, 2003
103
IN

Hi

We have a unix of with AIX 5.1 installed on it.
It is NIS client.
While installing db2 eee edition 7.2 is shows following
error. --

DBI1722E The specified service can not be added to the
/etc/services file because NIS is running.

As it's NIS environment we created db2 users before
starting installation & also made entries in /etc/services.
We resolved the problem by temporarily disabling NIS
client.
But how to do it IN NIS environment.

Any help will be highly appreciated.

Thanks

Andy
 
Hi,

the db2setup when run from the install media will not handle the NIS environment correctly, that is create groups, users and services entries. I always run the installation manually, that is:
1. Install the filesets using installp
2. Create users and groups and services entries, The services should contain a service with the db2inst1 name
3. Create the instance
cd /usr/lpp/db2_07_01/instance
./db2icrt -s eee -u db2fenced -w 32 db2inst1
I would not use the "-p db2inst1" to define the port here.
4. Update the instance using TCPIP
su - db2inst1
db2set DB2COMM=TCPIP
db2 UPDATE DBM CFG USING SVCENAME db2inst1
db2start

I know this is not the expected "pure" NIS way of doing things, but if the NIS way does not work then this is one way I use.
The db2inst1 is the instance name and also the port name assigned to the instance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top