传播开始后直接退出 [英] spread exits directly after starting

查看:101
本文介绍了传播开始后直接退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是尝试开始传播,以交流我用于集成的一些工具用于不同的传感器数据处理.

I just tried to start spread for communication of some of my tools that I use in for the integration for different sensor data processes.

就在启动传播结束后,出现以下消息:

Just after the startup spread exits with the following message:

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文件配置本地传播段.

As seen in the message I use the following spread.conf file to configure my local spread segment.

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文件更改为:

The problem seems to be that the local machine I'm working at is not appearing in the config file according to spread. Spread tries to find the acutal IP 129.70.129.5 and not localhost in the .conf file. Changing my .conf file to:

Spread_Segment 127.0.0.255:4803 {
 localhost 127.0.0.1
 boron 129.70.129.5
}

或以

spread -n localhost

起到了作用.

这篇关于传播开始后直接退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆