Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    Shenzhen
    Posts
    8

    Unanswered: a problem about multi-nodes instance(SQL6048N)

    AIX 5.1.0.0-05 + DB2 V8 ESE

    i create a muti-nodes instance. but when i use "db2start" command , errors occued ,error code is SQL6048N:
    ================================================== ======
    db2inst1:/home/db2inst1>db2start
    05-09-2004 17:33:32 0 0 SQL6048N A communication error occurred during
    START or STOP DATABASE MANAGER processing.
    05-09-2004 17:33:33 1 0 SQL6048N A communication error occurred during
    START or STOP DATABASE MANAGER processing.
    SQL1032N No start database manager command was issued. SQLSTATE=57019
    db2inst1:/home/db2inst1>
    ================================================== =======
    I performed the following steps:

    1. vi /home/db2inst1/sqllib/db2nodes.cfg(My server hostname is IBM270)
    0 IBM270 0
    1 IBM270 1

    2. vi /etc/hosts.equiv,add a row
    IBM270

    3. chmod 600 /etc/hosts.equiv

    but i always had the same error . how can i resolve it ? please help me ,thanks
    Last edited by unfire; 05-09-04 at 21:56.

  2. #2
    Join Date
    Apr 2004
    Location
    Shenzhen
    Posts
    8
    i had solve the problem , but a new problem appeared. KAO!

    i found the reason of this problem was i exec "securetcpip" command before. securetcpip command forbidden rsh, rlogin, rcp etc. i solve the problem with the following steps.
    ================================================
    root:
    chmod 555 /usr/sbin/rshd
    chmod u+s /usr/sbin/rshd
    chmod 555 /usr/bin/rlogin
    stopsrc -s inetd
    startsrc -s inetd
    echo "+" >/.rhosts
    chmod 600 /.rhosts

    db2inst1:
    echo "+" >/.rhosts
    chmod 600 /.rhosts
    ===============================================
    then i can "db2start" the db2 server.

    but i fall across a new problem.
    when i use "rsh" and "db2_all" command test the rshd process. root can exec exactly,but user "db2inst1" (the nodes owner) cann't exec exactly. how can i solve it , thanks.

    ==============================================
    root:/>rsh localhost echo hi
    hi
    root:/>db2_all echo hi

    hi
    IBM270: echo hi completed ok

    hi
    IBM270: echo hi completed ok
    ================================================
    db2inst1:/home/db2inst1>rsh localhost echo hi
    rcmd2: socket: The file access permissions do not allow the specified action.
    db2inst1:/home/db2inst1>db2_all echo hi

    rcmd2: socket: The file access permissions do not allow the specified action.

    rcmd2: socket: The file access permissions do not allow the specified action.
    db2inst1:/home/db2inst1>
    ================================================== =====

Posting Permissions

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