On Thursday, December 30, 2021 at 8:38:58 PM UTC-8 Eric K wrote: > Simply reinstalling python3-paho-mqtt has not fixed the system. > > I tried the mosquitto_sub command and mosquitto refused the connection. > weewx@Ubuntu20-WEEWX:~$ mosquitto_sub -h 192.168.7.22 -p 1883 -t > tele/BMP280/SENSOR -d > Error: Connection refused > > Your mosquitto broker is not running.... or it is not listening on port 1883.... or it is not accepting connections to its 192.168.7.22 address.
I tried to manually force mosquitto to start - NO-GO. > I followed the instructions to get some debug info. > > weewx@Ubuntu20-WEEWX:~$ sudo systemctl start mosquitto > Job for mosquitto.service failed because the control process exited with > error code. > See "systemctl status mosquitto.service" and "journalctl -xe" for details. > > weewx@Ubuntu20-WEEWX:~$ systemctl status mosquitto.service > Process: 2801 ExecStart=/usr/sbin/mosquitto -c > /etc/mosquitto/mosquitto.conf (code=exited, status=1/FAILURE) > Main PID: 2801 (code=exited, status=1/FAILURE) > > It would be helpful to also see the 'journalctl -xe' output. > I'm not sure how many of weewx's dependencies have to be reinstalled? > Your problem has 'nothing' to do with weewx. Your problem is that your mosquitto broker is not set up correctly. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a407f46e-46c8-4c51-91df-ba9b50231406n%40googlegroups.com.
