【发布时间】:2015-10-27 06:50:35
【问题描述】:
一直在尝试在 FreeBSD 上启用 websocket 安装 mosquitto。
以下是步骤。FreeBSD 10.2-BETA1-p1 , amd64。
在 freebsd 上安装了可用的 mosquitto 端口。
对位于 /usr/ports/distfiles 的文件 mosquitto-1.4.4.tar.gz 中的 config.mk 进行了更改
更改了 /usr/ports/net/mosquitto 中 distinfo 中的 SHA 256 和文件大小。这是为了确保文件不会再次从网上下载。
- pkg 去除蚊子
- 清理干净
- 进行安装
- 对 /usr/local/etc/mosquitto/mosquitto.conf 进行了更改。 [端口 1883 监听器 9001 协议 websockets]
- mosquitto -d -c /usr/local/etc/mosquitto/mosquitto.conf
错误:Websockets 支持不可用。
在 /usr/local/etc/mosquitto/mosquitto.conf:152 发现错误。
无法弄清楚可能是什么问题。我检查了 mosquitto 端口中的工作文件夹,看看 websockets 是否设置为 yes。一切似乎都是正确的。
感谢您的帮助,提前感谢大家。
GS
【问题讨论】:
-
您找到解决方案了吗?