Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2003
    Posts
    1,605

    Unanswered: 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

  2. #2
    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

  3. #3
    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

  4. #4
    Join Date
    Jan 2003
    Posts
    1,605
    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

  5. #5
    Join Date
    Jan 2003
    Posts
    1,605
    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 09:43.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •