[chord] question

Emil Sit sit at mit.edu
Thu Mar 25 11:18:02 EDT 2010


Hi,

Please direct messages to the chord mailing list in the future (even
if I will probably be the one answering):

2010/3/24 侯婕 <jhou1983 at gmail.com>:
> Hi, I met a problem during running the chord. Could you give me some
> suggestions? Thanks a lot. The following is the detail question.
>
>
> i have done the make install and run this command :
> ../start-dhash -v 3 -l 127.0.0.1 -j 127.0.0.1:12345 -p 12345
> then it come out this :
> RUNNING: /usr/local/bin/adbd adbd -d ./db -S ./adbd-sock
> RUNNING: /usr/local/bin/maintd maintd -d ./maintdata -m carbonite -C
> ../maint-sock
> RUNNING: /usr/local/bin/lsd lsd -d ./adbd-sock -S ./dhash-sock -R
> ../maint-sock -C ./lsd-sock -v 3 -l 127.0.0.1 -j 127.0.0.1:12345 -p 12345
>
> then i have try change the command to this :
> ../start-dhash -v 3 -j 192.168.1.3:12345 -p 12345
> result is this :
> RUNNING: /usr/local/bin/adbd adbd -d ./db -S ./adbd-sock
> RUNNING: /usr/local/bin/maintd maintd -d ./maintdata -m carbonite -C
> ../maint-sock
> RUNNING: /usr/local/bin/lsd lsd -d ./adbd-sock -S ./dhash-sock -R
> ../maint-sock -C ./lsd-sock -v 3 -j 192.168.1.3:12345 -p 12345
> REAPED lsd (18060): exited with status 1
> REAPED adbd (18049): exited normally
> REAPED maintd (18050): exited normally
>
> is it means that the second node is not correctly started?
> is it i doing the right way for simulate nodes?

Your first command specifies -l 127.0.0.1 which indicates that you
only want the server to listen on the localhost interface.  The second
dhash is unable to connect because you asked it to join against
192.168.1.3.  You could leave out the -l option.  And if you are
running both on the same machine, you should run with different port
numbers ("-p"), say spaced 5 apart.

-- 
Emil Sit / http://www.emilsit.net/



More information about the chord mailing list