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 > a problem about multi-nodes instance(SQL6048N)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-09-04, 05:41
unfire unfire is offline
Registered User
 
Join Date: Apr 2004
Location: Shenzhen
Posts: 8
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 20:56.
Reply With Quote
  #2 (permalink)  
Old 05-09-04, 22:57
unfire unfire is offline
Registered User
 
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>
================================================== =====
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