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 > problem with db2 start

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-08, 01:39
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
problem with db2 start

Hi all,
I am using db2 v8.1 on windows

when i am trying to access any of the tools it is throwing this error:
IBM][JDBC [IBM][JDBC Driver] CLI0647E Error allocating DB2
environment handle, rc=-1.

when i hit the command db2start in db2cmd it throws this error:
SQL6031N Error in the db2nodes.cfg file at line number "1". Reason code "10".
Reply With Quote
  #2 (permalink)  
Old 07-23-08, 02:00
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
from documentation:
Code:
 (10) Ensure the hostname value defined in db2nodes.cfg at line
"<line>" is both defined on the system and operational.
Did you change hostname on Windows? If so you need to change hostname in db2nodes.cfg file also.

What is your DB2 edition? It is most probably Enterprise? Execute "db2licm -l" command from DB2CMD.
Hope this helps,
Grofaty
Reply With Quote
  #3 (permalink)  
Old 07-23-08, 05:11
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
Hi grofaty,
Thanks a lot.....its working!
but one thing i am not getting is, how this worked till date, i mean, i was aware that the host name was changed for the system on which my db2 server resides but was not aware that i need to make changes in the config file also and so i din't made any changes in the config file. still it was working n suddenly i faced problem today though i changed the host name a month back.
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