[chord] Please help, Couldn't understand the error message..

Frank Dabek fdabek at MIT.EDU
Thu Aug 25 11:39:03 EDT 2005


Clone7,

	You are using a version of lsd that depends on an asynchronous
database. Our FAQ has not been updated to reflect this. Before you run
lsd you must start the database. Try something like:

adbd -S ./db_socket -d ./db_file &
lsd -j rose.cs.ntou.edu.tw:10000 -d ./db_socket

db_socket is a UNIX socket that lsd will use to talk to the database.
db_file is the actual Berkeley database file.

I'm not sure where you installed lsd and adbd but you might need to
specify a full path to one or both.

vis doesn't have anything to visualize unless you have lsd running.It
shouldn't segfault in any case, but you didn't miss anything because it did.

--Frank

Clone7 wrote:
> Dear all:
>  
>         I use Fedora Core3, SFS 0.8pre .
>         I download chord in August 23 ,2005 , with anonymous CVS.
>  
>         I build and install Chord successfully. But I have difficult in
>         running Chord.Here is what the command I gave:
>  
>         #cd /usr/local/bin
>         #./lsd -j rose.cs.ntou.edu.tw:10000 -p 10000
>  
>         And I got the following message:
>  
> === Configurator::dump
> accordion.budget 10
> accordion.burst 100
> chord.checkdead_interval 60
> chord.checkdead_max 960
> chord.find_succlist_shaving 1
> chord.greedy_lookup 0
> chord.lookup_timeout 15
> chord.max_vnodes 1024
> chord.ncoords 3
> chord.npred 1
> chord.nsucc 16
> chord.rpc_mode "stp"
> debruijn.logbase 1
> dhash.dfrags 7
> dhash.disable_db_env 0
> dhash.drop_writes 0
> dhash.efrags 14
> dhash.mtu 1210
> dhash.repair_timer 300
> dhash.replica 5
> dhash.start_maintenance 1
> dhash.sync_timer 45
> dhashcli.order_successors 1
> locationtable.maxcache 208
> 1124983254.842310 lsd: starting: ./lsd -j rose.cs.ntou.edu.tw:10000 -p 
> 10000
> lsd: CREATED RPC MANAGER
> lsd: CREATED RPC MANAGER
> chord: running on 140.121.197.99:10000
>  1124983254:843493: creating new vnode: 
> c05d9e5de945a4b2c1ffa10de5fc9008902266f0
> 1124983254.843815 loctable: insert 
> c05d9e5de945a4b2c1ffa10de5fc9008902266f0,140.121.197.99,10000,0
>  1124983254:844089 myID is c05d9e5de945a4b2c1ffa10de5fc9008902266f0
> lsd: chord::handleProgram: chord_program_1 (344447)
> lsd: chord::handleProgram: fingers_program_1 (344454)
> lsd: chord::handleProgram: dhash_program_1 (344449)
> lsd: chord::handleProgram: merklesync_program_1 (344450)
> lsd: fatal: adb_connect: Error connecting to /var/tmp/db: No such file 
> or directory
>  
>         Err..Does this means that I need to run BerkeleyDB fisrt?
>         I try to creat the directory:  /var/tmp/db , but message shows:
>  
> lsd: fatal: adb_connect: Error connecting to /var/tmp/db: Connection refused
>  
>  
>  
>         I also try to run vis .Here is the command:
>  
>         #./vis  -j 140.121.197.99:10000
>  
>         The error message is below:
>  
> vis:  vis in FINGER mode
> vis: couldn't open .viscolors using default color map
> vis: added c05d9e5de945a4b2c1ffa10de5fc9008902266f0,140.121.197.99,10000,0
> Segmentation fault
>  
>         Hmm..any suggestion? I really thanks your help.
>  
>                 Best Wish  Clone7
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> chord mailing list
> chord at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/chord



More information about the chord mailing list