configuration - spread 启动后直接退出

标签 configuration integration spread-toolkit

我刚刚尝试启动 spread用于我用于集成不同传感器数据流程的一些工具的通信。

启动传播退出后立即显示以下消息:

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
}

最佳答案

问题似乎是我正在工作的本地计算机没有出现在配置文件中。 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

成功了。

关于configuration - spread 启动后直接退出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1922102/

相关文章:

python - IPython 打印输出损坏

python - 将 s3cmd 与其他类似 s3 的提供商一起使用

hibernate - 配置 Hibernate 以进行生产和测试

configuration - 如何在没有 Redis 且没有自动配置的情况下使用 spring-boot 配置 spring-session 以使用另一个数据库存储

arrays - 如何在Matlab中从多维数组中获得积分?

c# - 如何从c#代码中调用java中的方法?

integration - 是否可以将 RSA Archer 与多个 Active Directory 集成?

performance - Corosync、ZeroMQ 和 Spread 的 CPG 在消息传递方面如何比较?