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 > Installing DB2 ESE v9.5 on Suse Linux System z returns error at DB2 instance creation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-08, 03:05
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Installing DB2 ESE v9.5 on Suse Linux System z returns error at DB2 instance creation

Hi,
installing DB2 Enterprise Server Edition v9.5 on Suse SLES 10 fixpack 1 on System z I got error.

I did the following:
1. execute ./db2_install -> completed successfully
2. created groups (db2iadm1, db2fadm1, dasadm1) and asign users (db2inst1, db2fenc1, dasusr1) to groups -> competed successfully
3. creating DAS server -> completed successfully
4. creating DB2 instance by command: /opt/ibm/db2/V9.5/instance/db2icrt -a server -u db2fenc1 db2inst1 -> produces error:
========
/opt/ibm/db2/V9.5/instance/db2iutil: line 4700: 9890 Segmentation fault ${DB2DIR?}/instance/db2isrv -addfcm -i ${INSTNAME?}
========


Error message is log but at the bottom there is log file info. I have looked into this error:

========
SQL6031N Error in the db2nodes.cfg file at line number "0". Reason code
"11".
Update DBM cfg SYSADM_GROUP errcode = 8
>>>>> Error message = SQL6031N Error in the db2nodes.cfg file at line number "0". Reason code
"11". <<<<<
DBI1703E No valid service name or port number found.
========

It looks creating DB2 instance command looks into db2nodes.cfg file. I have executed "ls -A" command in directory /home/db2inst1 and the ouput is without sqllib directory. File db2nodes.cfg should be in this missing path.

Any idea what is wrong? Is there a bug in DB2 install?

Thanks,
Grofaty
Reply With Quote
  #2 (permalink)  
Old 02-15-08, 05:14
sakumar9 sakumar9 is offline
Registered User
 
Join Date: Jan 2008
Posts: 3
Quote:
Originally Posted by grofaty
Hi,
installing DB2 Enterprise Server Edition v9.5 on Suse SLES 10 fixpack 1 on System z I got error.

I did the following:
1. execute ./db2_install -> completed successfully
2. created groups (db2iadm1, db2fadm1, dasadm1) and asign users (db2inst1, db2fenc1, dasusr1) to groups -> competed successfully
3. creating DAS server -> completed successfully
4. creating DB2 instance by command: /opt/ibm/db2/V9.5/instance/db2icrt -a server -u db2fenc1 db2inst1 -> produces error:
========
/opt/ibm/db2/V9.5/instance/db2iutil: line 4700: 9890 Segmentation fault ${DB2DIR?}/instance/db2isrv -addfcm -i ${INSTNAME?}
========


Error message is log but at the bottom there is log file info. I have looked into this error:

========
SQL6031N Error in the db2nodes.cfg file at line number "0". Reason code
"11".
Update DBM cfg SYSADM_GROUP errcode = 8
>>>>> Error message = SQL6031N Error in the db2nodes.cfg file at line number "0". Reason code
"11". <<<<<
DBI1703E No valid service name or port number found.
========

It looks creating DB2 instance command looks into db2nodes.cfg file. I have executed "ls -A" command in directory /home/db2inst1 and the ouput is without sqllib directory. File db2nodes.cfg should be in this missing path.

Any idea what is wrong? Is there a bug in DB2 install?

Thanks,
Grofaty

I would suggest you to create one instance manually by using "db2icrt" command. If that also fails (which I guess won't), then there is something wrong with the image.

Aslo, see if there is a file "db2nodes.cfg" under sqllib. If its there, check its contents. The error message says that the problem is with the post number. Please verify it.


Also, if possible, paste the content here;


Regards
-- Sanjay
Reply With Quote
  #3 (permalink)  
Old 02-15-08, 07:31
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
have you tried adding -p xxx with portnbr
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #4 (permalink)  
Old 02-16-08, 02:52
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
@sakumar9: There is no sqllib directory. Manually created db2icrt also fails
@guyprzytula: I have also tried to add -p portnumber, but he same error accoured.
Thanks,
Grofaty
Reply With Quote
  #5 (permalink)  
Old 02-18-08, 08:20
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
I have found solution. In /etc/hosts file there must be hostname.
1. env | grep HOSTNAME
2. reply from about command insert into /etc/hosts file instead of HOSTNAME in my sample bellow:
Code:
127.0.0.1 HOSTNAME
3. Then normal execution of db2setup GUI install.
Thanks,
Grofaty

Last edited by grofaty; 02-18-08 at 08:43.
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