-
Notifications
You must be signed in to change notification settings - Fork 110
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
Comments
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? |
How do I check if I'm using the correct mosquitto binary image? |
@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. |
@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? |
@CeruleanSource try: |
@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? |
@hui6075 src/CMakeLists.txt does not contain an option to include cluster.c. Could this be the problem? Thank you for your help! |
Have you solved it? Under Mac, we encounter the same problem |
@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. |
@CeruleanSource Thank you very much. I'll try it on Linux. |
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作为桥接地址。 不知道该怎么办。
The text was updated successfully, but these errors were encountered: