[Spread-users] no daemon

John Schultz jschultz at commedia.cnds.jhu.edu
Mon Sep 5 15:09:06 EDT 2005


I'm not sure if you are doing this or not, but try running spread and 
spuser in the foreground in two different shells.  You should see your 
spread daemon go through some initialization, then install a membership 
and then just sit there, something like this:

Conf_init: using file: spread.conf
Successfully configured Segment 0 [192.168.221.255:9999] with 4 procs:
                         cloud1: 192.168.221.101
                         cloud2: 192.168.221.102
                         cloud3: 192.168.221.103
                         cloud4: 192.168.221.104
Finished configuration file.
Conf_init: My name: cloud1, id: 192.168.221.101, port: 9999
Membership id is ( -2133009141, 1125946735)
--------------------
Configuration at sky1 is:
Num Segments 1
         4       192.168.221.255   9999
                 sky1                    192.168.221.101
                 sky2                    192.168.221.102
                 sky3                    192.168.221.103
                 sky4                    192.168.221.104
====================
++++++++++++++++++++++
Num of groups: 0

Run a 'ps' or 'top' command in a different shell and you should the spread 
daemon process running but not doing much CPU/Memory wise.  If you do not, 
then in all likelihood the spread daemon has either exited or crashed for 
some reason and your spread shell should have returned to a command line 
prompt.

Once you've confirmed that the OS sees the spread daemon running, then in 
a different shell run spuser in the foreground.  It should find the local 
daemon.  If it does not, then we can proceed from there.  Right now I'm 
betting that the spread daemon is exiting for some reason.

As far as configuring nodes, you do have to have your spread.conf 
file include all the machines on which you would like to run spread 
daemons.  Spread is designed to handle the case where daemons are actually 
only running on any subset of the configured machines.

John Schultz
Spread Concepts
Phn: 443 838 2200

On Mon, 5 Sep 2005, Milind Dumbare wrote:

> as before I have given two ips from network.....I was bit confused with
> whether I need to run spread daemon on every node of network which I
> will be testing spread on........
>
> so I just removed all other nodes except "matrix" one.....and I did what
> u told me in previous reply....but still its not working
>
>
> 	[milind at Matrix spread-src-3.17.3]$ ./spread -c spread.conf
> 	Conf_init: using file: spread.conf
> 	Successfully configured Segment 0 [192.168.1.255:4803] with1 	procs:
>                  matrix: 192.168.1.21
> 	[milind at Matrix spread-src-3.17.3]$ ./spuser
> 	Spread library version is 3.17.3
> 	SP_error: (-2) Could not connect. Is Spread running?
>
> 	Bye.
> 	[milind at Matrix spread-src-3.17.3]$
>
> even explicitly specifying port no did not worked
>
> 	[milind at Matrix spread-src-3.17.3]$ ./spuser -s 4803
> 	Spread library version is 3.17.3
> 	SP_error: (-2) Could not connect. Is Spread running?
>
> 	Bye.
> 	[milind at Matrix spread-src-3.17.3]$




More information about the Spread-users mailing list