[Spread-users] fail to get the spread daeamon run

Ryan Caudy caudy at jhu.edu
Thu May 1 10:18:42 EDT 2003


When a Spread daemon tries to find out its name, it uses gethostname and
gethostbyname. If these don't allow it to match one of the proc names
specified in the configuration (i.e. the line "naughty 192.168.0.51")
then it reports the error you mentioned. The solution, if you know what
proc line corresponds to which host, is to use the -n option with
Spread. "spread -n naughty" should do just fine.

--Ryan

Leilei wrote:

>spread-users,您好!
>
>	   Hey:
>	Could someone please give me some insight into the problem I'm having
>below?
>I write the spread.conf as following:
>	Spread_Segment 192.68.0.255:4803 {
>        	naughty   192.168.0.51
>	}
>
>	DaemonUser = spread
>	DaemonGroup = spread
>	EventLogFile = spread_event.log
>	EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"
>	DangerousMonitor = false
>
>When I'm trying to start the spread daemon, the following appears into
>my screen.
>	
>	ip_init: using file: spread.access_ip
>	ip_init: Allowing UNIX Domain Socket connections
>	ip_init: Allowing localhost tcp Socket connections
>	Conf_init: using file: /usr/local/etc/spread.conf
>	Successfully configured Segment 0 [192.168.0.255:4803] with procs:
>                     naughty: 192.168.0.51
>
>
>I got the following in the log file :
>[Thu 01 May 2003 16:30:42] disabling Dangerous Monitor Commands!
>[Thu 01 May 2003 16:30:42] Set runtime directory to '/var/run/spread'
>[Thu 01 May 2003 16:30:42] Set user name to 'spread'
>[Thu 01 May 2003 16:30:42] Set group name to 'spread'
>[Thu 01 May 2003 16:30:42] Conf_init: My proc id (127.0.0.1) is not in
>configuration
>Exit caused by Alarm(EXIT)
> 
>could you please give me any help?Thanks!
>
>sincerely
>Leilei
>
>
>
>         naughty at sjtu.edu.cn
>          2003-05-01
>
>
>
>
>_______________________________________________
>Spread-users mailing list
>Spread-users at lists.spread.org
>http://lists.spread.org/mailman/listinfo/spread-users
>
>







More information about the Spread-users mailing list