If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > instance creation problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-06, 22:12
anksagr anksagr is offline
Registered User
 
Join Date: Jul 2005
Posts: 102
instance creation problem

Hi All,

ENV: DB2 UDB v8.2 FP 7, AIX 5.2 (both the servers)

I have to migrate the database from our old prod to the new prod server.
I have installed the DB2 software , applied the fixpaks on the new prod server. But before creating the instance i copied the /etc/services from old to the new one. I then used this command to create the instance

db2icrt -s ESE -p DB2_prod2 -w 32 -u prodf2 prod2

Though the instance is created successfully but I get this error:

An error occurred while updating the services file on the system for the service
name "DB2_prod2" with port "60000"

This this how the new prod server's services file look like:

DB2_prod2 60000/tcp
DB2_prod2_1 60001/tcp
DB2_prod2_3 60002/tcp
DB2_prod2_END 60003/tcp

DO I need to be worried and recreate this instance with some different setting? Is there a workaround for this?

Thanks
Anks
Reply With Quote
  #2 (permalink)  
Old 09-01-06, 02:07
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
icrt

just check db2 get dbm cfg |grep SVCE
check that svcename is pointing to correct entry in /etc/services with expected port number and start db2 (db2start) if binding with tcpip fails, this will be indicated at start of db2.
otherwise db2 update dbm cfg using svcename xxxx
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On