3

我只是尝试开始传播我用于集成不同传感器数据过程的一些工具的通信。

就在启动传播退出并显示以下消息后:

Conf_load_conf_file: using file: spread.conf
Successfully configured Segment 0 [127.0.0.255:4803] with 2 procs:
               localhost: 127.0.0.1
                   boron: 127.0.1.1
Finished configuration file.
Hash value for this configuration is: 913193717
Conf_load_conf_file: My proc id (129.70.129.5) is not in configuration
Exit caused by Alarm(EXIT)

如消息中所示,我使用以下 spread.conf 文件来配置我的本地传播段。

Spread_Segment 127.0.0.255:4803 {
 localhost 127.0.0.1
 boron 127.0.1.1
}
4

1 回答 1

7

根据spread,问题似乎是我正在使用的本地机器没有出现在配置文件中。Spread 尝试在 .conf 文件中查找实际 IP 129.70.129.5 而不是 localhost。将我的 .conf 文件更改为:

Spread_Segment 127.0.0.255:4803 {
 localhost 127.0.0.1
 boron 129.70.129.5
}

或开始传播

spread -n localhost

成功了。

于 2009-12-17T14:26:48.287 回答