Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: cluster support not available. #21

Open
DeluxeViper opened this issue Jun 16, 2020 · 10 comments
Open

Warning: cluster support not available. #21

DeluxeViper opened this issue Jun 16, 2020 · 10 comments

Comments

@DeluxeViper
Copy link

I've done the basic setup:
WITH_CLUSTER:=yes

In mosquito.conf:

node_name node1
node_address :

However this error still shows: Warning:cluster support not available.

And it's reading the node_address as a bridge address.
Not sure what to do.

Chinese translation:
我已经完成了基本设置:
WITH_CLUSTER:=是

在mosquito.conf中:

node_name node1
node_address <IP地址>:<端口>

但是,此错误仍然显示:
警告:群集支持不可用。

并且它正在读取node_address作为桥接地址。 不知道该怎么办。

@hui6075
Copy link
Owner

hui6075 commented Jun 16, 2020

It is impossible, could you confirm that your are using the proper mosquitto binary image with re-make install after edit confg.mk for WITH_CLUSTER:=yes and WITH_BRIDGE:=no?

@DeluxeViper
Copy link
Author

How do I check if I'm using the correct mosquitto binary image?

@DeluxeViper
Copy link
Author

@hui6075 so I've configured the cmake_install to directly configure the "brew mosquitto" as well as the mosquitto from direct install and both ways it shows "warning cluster not supported" when running the binary image.

@DeluxeViper
Copy link
Author

@hui6075 I believe the issue is that somehow the config.mk file isn't being associated with the corresponding binary image file that I'm running.

Do you have any idea how to fix this?

@hui6075
Copy link
Owner

hui6075 commented Jun 17, 2020

@CeruleanSource try:
make clean && make && make install

@DeluxeViper
Copy link
Author

@hui6075 doesn't work unfortunately.

The changes I make to config.mk don't seem to be read by anything. I'm using cmake and I'm on mac. Any suggestions?

@DeluxeViper
Copy link
Author

@hui6075 src/CMakeLists.txt does not contain an option to include cluster.c. Could this be the problem?

Thank you for your help!

@zzq0341
Copy link

zzq0341 commented Jul 13, 2020

Have you solved it? Under Mac, we encounter the same problem

@DeluxeViper
Copy link
Author

@zzq0341 The problem is that @hui6075 did not create a configuration for operating systems running Windows and Mac. Given this, I simply dual booted linux (specifically ubuntu) on my computer and ran the cluster on there which worked.

I did attempt to create a cluster configuration for Mac however the code seemed to get stuck in several places, for instance in loop.c where EPOLLOUT was not defined, etc. and I deemed that it would be a lot easier to just run this project on a linux system.

Let me know if this helps.

@zzq0341
Copy link

zzq0341 commented Jul 14, 2020

@CeruleanSource Thank you very much. I'll try it on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants