473,396 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Multi-nodes in one instance in linux

Hi,
I am trying to setup 2 logical nodes in a same instance.
I changed the db2nodes.cfg file as
0 db2 0
1 db2 1

i also added db2 an entry
db2
in my hosts.allow file

when i give db2start i get following errir
SQL6048N A communication error occured during START or STOP.

The only information i read on the web is for AIX and actually found
one that shows how to do for AIX.
This is how some one did it.. but it is for AIX.
-----------------------------------------------------------

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.
---------------------------------------------------------------
Does any one know how to make this work in linux. Or even if someone
is aware how these /usr/sbin/rshd and .rhosts files managed in linux.
I am using redhat 7.2. Does any one have any idea.
-Bimal
Nov 12 '05 #1
2 3489
Bimal wrote:
Hi,
I am trying to setup 2 logical nodes in a same instance.
I changed the db2nodes.cfg file as
0 db2 0
1 db2 1

i also added db2 an entry
db2
in my hosts.allow file

when i give db2start i get following errir
SQL6048N A communication error occured during START or STOP.


Start by trying to use rsh yourself between the "nodes". As your
instance owner, run "rsh db2". You should get your command prompt back
without password. If not, solve that problem first, independantly of
DB2.

If that works, but DB2 still doesn't work, the next best place to look
is in your db2diag.log (normally found in sqllib/db2dump). Usually I
find the text there to be more than sufficient to see what the problem
is, and the solution is often self-evident.

If you can't solve the rsh problem, I'm sure there are many great
places to find help for that (other newsgroups), although I'm sure some
in here will be able to help, too.
Nov 12 '05 #2
Bimal wrote:
Hi,
I am trying to setup 2 logical nodes in a same instance.
I changed the db2nodes.cfg file as
0 db2 0
1 db2 1

i also added db2 an entry
db2
in my hosts.allow file
Is your machine named "db2"?
Did you add a .rhosts file to your instance?
Are the necessary ports defined in your /etc/services file? (This should
have been done automatically when you created the instance.)
when i give db2start i get following errir
SQL6048N A communication error occured during START or STOP.

The only information i read on the web is for AIX and actually found
one that shows how to do for AIX.
This is how some one did it.. but it is for AIX.
-----------------------------------------------------------

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.
---------------------------------------------------------------
Does any one know how to make this work in linux. Or even if someone
is aware how these /usr/sbin/rshd and .rhosts files managed in linux.
I am using redhat 7.2. Does any one have any idea.


I don't need any changes on the rshd/rlogin executables. But you do need to
set up the ~/.rhosts file of your instance. Have a look at "man rhosts" to
see how to setup this file.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours,...
4
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
6
by: Joe | last post by:
I have 2 multi-list boxes, 1 displays course categories based on a table called CATEGORIES. This table has 2 fields CATEGORY_ID, CATEGORY_NAME The other multi-list box displays courses based on...
4
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the...
5
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a...
0
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing...
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.