|
|||||||
Наладка mosquitto
Время создания: 15.12.2024 21:59
Автор: alensav
Текстовые метки: Наладка mosquitto
Раздел: MOSQUITT_SETTING
Запись: alensav/MyTetra2/main/base/1734289170ikuk8jv3wq/text.html на raw.githubusercontent.com
|
|||||||
|
|||||||
orangepi@Orangepi:/etc/mosquitto$ /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf 1734288856: mosquitto version 2.0.20 starting 1734288856: Config loaded from /etc/mosquitto/mosquitto.conf. 1734288856: Warning: File /etc/mosquitto/pwfile group is not orangepi. Future versions will refuse to load this file. 1734288856: Opening ipv4 listen socket on port 1883. 1734288856: mosquitto version 2.0.20 running 1734288857: New connection from 192.168.1.89:49295 on port 1883. 1734288857: New client connected from 192.168.1.89:49295 as ESP8266ClientRom2 (p2, c1, k15, u'mqtt'). 1734288918: New connection from 192.168.1.124:46782 on port 1883. 1734288918: New client connected from 192.168.1.124:46782 as 32e1b3f14884400c8219b736321fd1be (p2, c1, k60, u'mqtt'). Разобраться с версиями. 6. Перезапустите службу: journalctl -f -u mosquitto.service ``` systemctl restart mosquitto systemctl stop mosquitto systemctl status mosquitto mosquitto -v ------------------------------------------------------------------------------------------------ "Ошибка: адрес уже используется". Почему я получаю эту ошибку? Как мне решить эту проблему? ps -ef | grep mosquitto ------------------------------------------------ 7. Проверьте работу брокера, используя команды:``` mosquitto_pub -h 192.168.1.75 -p 1883 -t "Habr" -m "Hello, Habr!" -u "mqtt" -P "mq485127sav" =========================================================== /var/log/mosquitto/mosquitto.log -----------------------sudo cp /etc/mosquitto/mosquitto.conf /etc/mosquitto/2mosquitto.1conf---------------------- https://ru.stackoverflow.com/questions/1284433/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D0%B7%D0%B0%D1%89%D0%B8%D1%89%D0%B5%D0%BD%D0%BD%D0%BE%D0%B3%D0%BE-%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F-%D1%87%D0%B5%D1%80%D0%B5%D0%B7-%D0%BF%D1%80%D0%BE%D1%82%D0%BE%D0%BA%D0%BE%D0%BB-mqtt-mosquitto-ssl |
|||||||
Так же в этом разделе:
|
|||||||
|
|||||||
|